Skip to content
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

Closed
wants to merge 5 commits into from
Closed

[servus] change to site new url and update api url #29556

wants to merge 5 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jul 16, 2021

Please follow the guide below

  • You will be asked some questions, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your pull request (like that [x])
  • Use Preview tab to see how your pull request will actually look like

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:

  • I am the original author of this code and I am willing to release it under Unlicense
  • I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

  • Bug fix
  • Improvement
  • New extractor
  • New feature

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.

@ghost ghost changed the title [servus] change to site new url [servus] change to site new url and update api Aug 21, 2021
@ghost ghost changed the title [servus] change to site new url and update api [servus] change to site new url and update api url Aug 21, 2021
@embeddedc
Copy link

embeddedc commented Sep 20, 2021

Will/Can this be merged?

I confirm the fix working fine.

@ChrLipp
Copy link

ChrLipp commented Dec 15, 2021

Tried to test your PR with https://www.servustv.com/volkskultur/v/aawg5x4ywdc94xyjv9ly/, got
ERROR: Unsupported URL: https://www.servustv.com/volkskultur/v/aawg5x4ywdc94xyjv9ly/

@@ -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+)

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+)

Copy link
Author

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.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works!

@ghost
Copy link
Author

ghost commented Dec 15, 2021

Updated video-id regex.

@shivan
Copy link

shivan commented Dec 27, 2021

I tested with your branch, too, and works again. Great!

@ghost ghost closed this Jan 20, 2022
@ghost ghost deleted the change-servustv-url branch January 20, 2022 08:55
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ServusTV ServusTV no longer working Servus TV not working anymore
5 participants