We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import httpx from fake_useragent import UserAgent headers = {'user-agent':UserAgent().random} url = 'https://club.huawei.com/thread-26829078-1-1.html' resp = httpx.get(url=url,headers=headers) print(resp.text)
environment:win10 x64,Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) [MSC v.1916 32 bit (Intel)] on win32
using httpx return httpx.RemoteProtocolError,while using requests return ok.
The text was updated successfully, but these errors were encountered:
Duplicate of #1363
Sorry, something went wrong.
No branches or pull requests
environment:win10 x64,Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) [MSC v.1916 32 bit (Intel)] on win32
using httpx return httpx.RemoteProtocolError,while using requests return ok.
The text was updated successfully, but these errors were encountered: