Update worker.py
This commit is contained in:
1 parent
873c0d1f9c
commit
fb0b24fd05
1 file changed
+1
-1
+1
-1
@@ -13,7 +13,7 @@ def main() -> None:
|
||||
print(url)
|
||||
if not url.startswith("http"):
|
||||
print("%s seems not to contain an URL, exiting" % (sys.argv[1]))
|
||||
exit(1)
|
||||
exit(1)
|
||||
|
||||
req = requests.get(url, stream=True)
|
||||
print("Status %s" % (r.status_code))
|
||||
|
||||
Reference in new issue
Block a user