File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and **Merged pull requests**. Critical items to know are:
1212Referenced versions in headers are tagged on Github, in parentheses are for pypi.
1313
1414## [ vxx] ( https://github.com/urlstechie/urlschecker-python/tree/master ) (master)
15+ - decrease verbosity when filename is None (0.0.28)
1516 - don't exit and fail if no URLs to check (0.0.27)
1617 - multiprocessing to speed up checks (0.0.26)
1718 - bug fix for verbose option to only print file names that have failures (0.0.25)
Original file line number Diff line number Diff line change @@ -111,7 +111,10 @@ def __init__(
111111 self .urls = []
112112 self .exclude_patterns = exclude_patterns or []
113113 self .exclude_urls = exclude_urls or []
114- self .extract_urls ()
114+
115+ # Only extract if we have a filename in advance
116+ if self .file_name :
117+ self .extract_urls ()
115118
116119 def __str__ (self ):
117120 if self .file_name :
Original file line number Diff line number Diff line change 77
88"""
99
10- __version__ = "0.0.27 "
10+ __version__ = "0.0.28 "
1111AUTHOR = "Ayoub Malek, Vanessa Sochat"
1212AUTHOR_EMAIL = "superkogito@gmail.com, vsochat@stanford.edu"
1313NAME = "urlchecker"
You can’t perform that action at this time.
0 commit comments