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
[zattoo] Fix broken extractor (closes #22258) #28253
Conversation
|
I'm not sure why the URL matching tests are failing. If anyone sees an easy fix, just tell me. |
|
I think it's caused by youtube-dl/youtube_dl/extractor/zattoo.py Line 303 in 49b4b83
that causes the second part of the regex: youtube-dl/youtube_dl/extractor/zattoo.py Lines 304 to 310 in 49b4b83
to match regardless of domain. |
To whom and how shall I provide the credentials? @dstftw, @remitamine? |
|
They did not react until now. Is by chance any other maintainer interested? |
|
I tried to download a recording from Zattoo and it only worked after these changes (based on the source branch of this merge request). I did not further troubleshoot the changes in _real_extract - they work for downloading recordings and since I won't be using Zattoo any further this is all that I was after. FYI: if someone needs credentials to check the changes, there is the option to use the free trial of Zattoo (30days, CC/Paypal required). |
|
If anyone is interested: A follow-up PR has been merged into |
Please follow the guide below
xinto all the boxes [ ] relevant to your pull request (like that [x])Before submitting a pull request make sure you have:
In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:
What is the purpose of your pull request?
Description of your pull request and other information
This PR fixes the currently broken Zattoo information extractor.
It supersedes my old PR #22759, which does not work anymore because of changes in the initialization process.
Note that this PR only fixes Zattoo, not the Zattoo resellers (I do not have access to any of them).
If this should be merged, someone with a Zattoo Premium account needs to provide account credentials to a maintainer of youtube-dl!