mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 16:53:56 +03:00
Merge branch 'develop' of https://github.com/hjk41/you-get into hjk41-develop
This commit is contained in:
commit
7e2d84dbed
@ -259,6 +259,7 @@ def undeflate(data):
|
|||||||
|
|
||||||
# DEPRECATED in favor of get_content()
|
# DEPRECATED in favor of get_content()
|
||||||
def get_response(url, faker = False):
|
def get_response(url, faker = False):
|
||||||
|
url = parse.quote(url,':/')
|
||||||
# install cookies
|
# install cookies
|
||||||
if cookies:
|
if cookies:
|
||||||
opener = request.build_opener(request.HTTPCookieProcessor(cookies))
|
opener = request.build_opener(request.HTTPCookieProcessor(cookies))
|
||||||
|
Loading…
Reference in New Issue
Block a user