Update worker.py

This commit is contained in:
probonopd authored and GitHub committed 2017-08-07 07:21:54 +02:00
1 parent 873c0d1f9c
commit fb0b24fd05
1 file changed
+1 -1
+1 -1
View File
@@ -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))