New issue
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
bilibili: fix for geo verification error #9797
Labels
geo-blocked
Content is geo-blocked
patch-available
There is patch available that should fix this issue. Someone needs to make a PR with it
site-bug
Issue with a specific website
Comments
After the patch, the download works fine:
|
qhadron
changed the title
bilibili: geo verification error
bilibili: fix for geo verification error
Apr 26, 2024
bashonly
added
geo-blocked
Content is geo-blocked
patch-available
There is patch available that should fix this issue. Someone needs to make a PR with it
and removed
triage
Untriaged issue
labels
Apr 26, 2024
9 tasks
bashonly
pushed a commit
that referenced
this issue
May 8, 2024
Closes #9797 Authored by: fireattack
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
geo-blocked
Content is geo-blocked
patch-available
There is patch available that should fix this issue. Someone needs to make a PR with it
site-bug
Issue with a specific website
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
China
Provide a description that is worded well enough to be understood
I am using
--geo-verification-proxy
with Unblock Youku's proxy for verification. This proxy doesn't allow downloading, so using--proxy
is not an option.I am getting the
GeoRestrictedError
on line 672:yt-dlp/yt_dlp/extractor/bilibili.py
Lines 669 to 676 in 89f535e
However, if I enable the geo_verification_headers for the first request (
self._download_webpage
), then it works.Here's a diff of the change:
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: