diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-11-25 23:37:32 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-11-25 23:37:32 +0700 |
commit | 74394b5e10c1a681022e99fe1955837fb9078f69 (patch) | |
tree | bb307978be1afca221abe9b9cf6553bf0c8f4416 /youtube_dl/extractor/puls4.py | |
parent | 1db058466dfa8c0e647dbd57938b63f04a7a84c7 (diff) |
[puls4] Relax _VALID_URL (closes #11267)
Diffstat (limited to 'youtube_dl/extractor/puls4.py')
-rw-r--r-- | youtube_dl/extractor/puls4.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/youtube_dl/extractor/puls4.py b/youtube_dl/extractor/puls4.py index 1c54af002..80091b85f 100644 --- a/youtube_dl/extractor/puls4.py +++ b/youtube_dl/extractor/puls4.py @@ -10,7 +10,7 @@ from ..utils import ( class Puls4IE(ProSiebenSat1BaseIE): - _VALID_URL = r'https?://(?:www\.)?puls4\.com/(?P<id>(?:[^/]+/)*?videos/[^?#]+)' + _VALID_URL = r'https?://(?:www\.)?puls4\.com/(?P<id>[^?#&]+)' _TESTS = [{ 'url': 'http://www.puls4.com/2-minuten-2-millionen/staffel-3/videos/2min2miotalk/Tobias-Homberger-von-myclubs-im-2min2miotalk-118118', 'md5': 'fd3c6b0903ac72c9d004f04bc6bb3e03', @@ -22,6 +22,12 @@ class Puls4IE(ProSiebenSat1BaseIE): 'upload_date': '20160830', 'uploader': 'PULS_4', }, + }, { + 'url': 'http://www.puls4.com/pro-und-contra/wer-wird-prasident/Ganze-Folgen/Wer-wird-Praesident.-Norbert-Hofer', + 'only_matching': True, + }, { + 'url': 'http://www.puls4.com/pro-und-contra/wer-wird-prasident/Ganze-Folgen/Wer-wird-Praesident-Analyse-des-Interviews-mit-Norbert-Hofer-416598', + 'only_matching': True, }] _TOKEN = 'puls4' _SALT = '01!kaNgaiNgah1Ie4AeSha' |