lint
This commit is contained in:
1 parent
6b3b2e2a7d
commit
1a81eb97fb
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -48,7 +48,8 @@ def _known_urls(obj, args):
|
||||
if m:
|
||||
domain = m.group(1)
|
||||
else:
|
||||
domain = "waybackpy-known"
|
||||
domain = "domain-unknown"
|
||||
|
||||
dir_path = os.path.abspath(os.getcwd())
|
||||
file_name = dir_path + "/%s-%d-urls.txt" % (domain, total_urls)
|
||||
text = "\n".join(url_list) + "\n"
|
||||
|
||||
@@ -213,7 +213,7 @@ class Url:
|
||||
for url in url_list:
|
||||
|
||||
try:
|
||||
urlopen(url)
|
||||
urlopen(url) # nosec
|
||||
except:
|
||||
continue
|
||||
|
||||
|
||||
Reference in new issue
Block a user