-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[servus] change to site new url and update api url #29556
Conversation
Will/Can this be merged? I confirm the fix working fine. |
Tried to test your PR with https://www.servustv.com/volkskultur/v/aawg5x4ywdc94xyjv9ly/, got |
youtube_dl/extractor/servus.py
Outdated
@@ -18,30 +18,35 @@ class ServusIE(InfoExtractor): | |||
(?:www\.)? | |||
(?: | |||
servus\.com/(?:(?:at|de)/p/[^/]+|tv/videos)| | |||
(?:servustv|pm-wissen)\.com/videos | |||
(?:servustv|pm-wissen)\.com/(?:videos|[^/]+/v) | |||
) | |||
/(?P<id>[aA]{2}-\w+|\d+-\d+) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When adding a additional |\w+
for the id then also id's without a separator will work like the mentioned https://www.servustv.com/volkskultur/v/aawg5x4ywdc94xyjv9ly/
The full line should then be: /(?P<id>[aA]{2}-\w+|\d+-\d+|\w+)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was away and couldn't notice your review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works!
Updated video-id regex. |
I tested with your branch, too, and works again. Great! |
Please follow the guide below
x
into 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
Resolves #29485, resolves #29554, resolves #29825, resolves #30493.
Change to ServusTV new url (first commit) and update api url (second commit).
Note:
If anyone tries this PR, be sure to apply all the changes. Otherwise you won't get the expected results.