fix: do not work with GET arguments
This commit is contained in:
1 parent
fe69eff79b
commit
35f755005d
1 file changed
+1
-1
+1
-1
@@ -52,7 +52,7 @@ def download_content(url, depth=0):
|
||||
else:
|
||||
raise NotImplementedError("protocol %s is not implemented" % up.scheme)
|
||||
|
||||
conn.request("GET", up.path, None, headers)
|
||||
conn.request("GET", '?'.join((up.path, up.query)), None, headers)
|
||||
response = conn.getresponse()
|
||||
|
||||
# follow redirects
|
||||
|
||||
Reference in new issue
Block a user