diff options
author | Remita Amine <[email protected]> | 2021-01-25 15:15:45 +0100 |
---|---|---|
committer | Remita Amine <[email protected]> | 2021-01-25 15:15:45 +0100 |
commit | 0f7d413d5b2637e2fb091745ab4f70811a6cc600 (patch) | |
tree | 229bac8e9f797cfca69d1765173df3f58b4cf489 /youtube_dl/extractor/tv4.py | |
parent | 286e5d6724f86ace38f6ccf0e33c511eeb1ab65d (diff) | |
download | youtube-dl-0f7d413d5b2637e2fb091745ab4f70811a6cc600.tar.gz youtube-dl-0f7d413d5b2637e2fb091745ab4f70811a6cc600.zip |
[tv4] relax _VALID_URL(closes #27964)
Diffstat (limited to 'youtube_dl/extractor/tv4.py')
-rw-r--r-- | youtube_dl/extractor/tv4.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tv4.py b/youtube_dl/extractor/tv4.py index c498b0191..b73bab9a8 100644 --- a/youtube_dl/extractor/tv4.py +++ b/youtube_dl/extractor/tv4.py @@ -17,7 +17,7 @@ class TV4IE(InfoExtractor): tv4\.se/(?:[^/]+)/klipp/(?:.*)-| tv4play\.se/ (?: - (?:program|barn)/(?:[^/]+/|(?:[^\?]+)\?video_id=)| + (?:program|barn)/(?:(?:[^/]+/){1,2}|(?:[^\?]+)\?video_id=)| iframe/video/| film/| sport/| @@ -65,6 +65,10 @@ class TV4IE(InfoExtractor): { 'url': 'http://www.tv4play.se/program/farang/3922081', 'only_matching': True, + }, + { + 'url': 'https://www.tv4play.se/program/nyheterna/avsnitt/13315940', + 'only_matching': True, } ] |