-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[extractor/vimeo] Fix #6149 vimeo playerConfig extraction - patch by @bashonly #6203
[extractor/vimeo] Fix #6149 vimeo playerConfig extraction - patch by @bashonly #6203
Conversation
I verified this, and it works as intended (and I find it hilarious how I stumbled on this problem exactly 35 minutes ago and it took me about 6 minutes to exhaust my debugging and get to GH where I saw this PR). |
@pukkandan Thanks, I got further with updating a few hashes, and one 960px URL to 1280px. However, how do I need to fix the subtitle fixtures of the following:
Also, should these fixes really be part of this PR? Apparently nobody is running these tests - not even CI. The failing tests have nothing to do with this PR. |
Download tests are only expected to be run by devs when editing the IE. It's appreciated if you can fix the tests assuming the failures are only due to changing test definitions. But I'll merge the PR even if you don't |
This reverts commit f39766d.
@pukkandan I fixed some tests, see a3048b1 To fix more I don't have enough knowledge about the test suite. See my previous comment. |
🎉 |
This is wonderful news. Any estimate on when a new release will be forthcoming? |
I have a temporary build in place for nix that includes this patch, so if you happen to have nix (the package manager, not the os), then you can grab it with |
Ah great, I was searching for problems with Vimeo downloading, looks like I just need to wait a few days and update YTDLP. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Authored by: bashonly, LeoniePhiline Closes yt-dlp#6149
IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information
The vimeo extractor did not yet use the common
def _search_json()
, failing with its regex when some vimeo players left out the semicolon;
after theplayerConfig
JSON.This PR, containing a patch authored by @bashonly, fixes this issue by using the more reliable
_search_json()
.Fixes #6149
Template
Before submitting a pull request make sure you have:
python3 test/test_download.py TestDownload.test_Vimeo_all
failed withAssertionError: 'b3e7f4d2cbb53bd7dc3bb6ff4ed5cfbd' != '619b811a4417aa4abe78dc653becf511'
, but that looks like the test, not the code is broken.Test output:
In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:
Please ask @bashonly - I only brought in the PR to get this fixed.
What is the purpose of your pull request?