diff options
| author | Sergey M․ <dstftw@gmail.com> | 2017-09-14 23:50:19 +0700 | 
|---|---|---|
| committer | Sergey M․ <dstftw@gmail.com> | 2017-09-14 23:50:19 +0700 | 
| commit | 319fc70676fea19b71437aab4078d4d72cc1ba5f (patch) | |
| tree | e4e2094c6cbd53f8cfa73dc1b6e01ee2ae4a11df | |
| parent | e7c3e33456e155106ad08347d8ab9a2ecd0c8a11 (diff) | |
[tv4] Relax _VALID_URL (closes #14206)
| -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 7aeb2c620..6487039e5 100644 --- a/youtube_dl/extractor/tv4.py +++ b/youtube_dl/extractor/tv4.py @@ -18,7 +18,7 @@ class TV4IE(InfoExtractor):              tv4\.se/(?:[^/]+)/klipp/(?:.*)-|              tv4play\.se/              (?: -                (?:program|barn)/(?:[^\?]+)\?video_id=| +                (?:program|barn)/(?:[^/]+/|(?:[^\?]+)\?video_id=)|                  iframe/video/|                  film/|                  sport/| @@ -63,6 +63,10 @@ class TV4IE(InfoExtractor):              'url': 'http://www.tv4play.se/barn/looney-tunes?video_id=3062412',              'only_matching': True,          }, +        { +            'url': ' http://www.tv4play.se/program/farang/3922081', +            'only_matching': True, +        }      ]      def _real_extract(self, url): | 
