fix: do not work with GET arguments
This commit is contained in:
parent
fe69eff79b
commit
35f755005d
@ -52,7 +52,7 @@ def download_content(url, depth=0):
|
|||||||
else:
|
else:
|
||||||
raise NotImplementedError("protocol %s is not implemented" % up.scheme)
|
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()
|
response = conn.getresponse()
|
||||||
|
|
||||||
# follow redirects
|
# follow redirects
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user