1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-07 07:39:59 +08:00

fix for url pattern

fixed pattern https://www.servus.com/tv/videos/aa-1t6vbu5pw1w12/
This commit is contained in:
eleph-hub 2020-02-25 21:27:01 +01:00 committed by GitHub
parent 4e04cbf35e
commit 8a28ae7108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ from .common import InfoExtractor
class ServusIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?servus(tv)?\.com/(?:(?:at|de)/p/[^/]+|videos)/(?P<id>[aA]{2}-\w+|\d+-\d+)'
_VALID_URL = r'https?://(?:www\.)?servus(tv)?\.com/(?:(?:at|de)/p/[^/]+|(tv/)?videos)/(?P<id>[aA]{2}-\w+|\d+-\d+)'
_TESTS = [{
'url': 'https://www.servus.com/de/p/Die-Gr%C3%BCnen-aus-Sicht-des-Volkes/AA-1T6VBU5PW1W12/',
'md5': '3e1dd16775aa8d5cbef23628cfffc1f4',