mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-07-19 08:30:05 +00:00
Update site.py
This commit is contained in:
parent
d36e853613
commit
cae35fb130
@ -49,7 +49,8 @@ def title_search(query: str, proxy: str) -> int:
|
|||||||
f"{site_constant.FULL_URL}/it",
|
f"{site_constant.FULL_URL}/it",
|
||||||
headers={'user-agent': get_userAgent()},
|
headers={'user-agent': get_userAgent()},
|
||||||
timeout=max_timeout,
|
timeout=max_timeout,
|
||||||
proxy=proxy
|
proxy=proxy,
|
||||||
|
follow_redirects=True
|
||||||
)
|
)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user