diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-05-13 21:57:00 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-05-13 21:57:00 +0700 |
commit | 12f01118b0bd621e3e3df813a774fa0a9c1cfd73 (patch) | |
tree | 669e2e2e9a22f6293b774931510d74d4e80c3e2a | |
parent | 7fc60f4ee9129c67aecacd6f9164e98dbf7601f3 (diff) |
[francetv] Add support for mobile.france.tv (closes #13068)
-rw-r--r-- | youtube_dl/extractor/francetv.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/francetv.py b/youtube_dl/extractor/francetv.py index 6e1a537a0..546d5caa0 100644 --- a/youtube_dl/extractor/francetv.py +++ b/youtube_dl/extractor/francetv.py @@ -112,7 +112,7 @@ class FranceTVBaseInfoExtractor(InfoExtractor): class FranceTVIE(FranceTVBaseInfoExtractor): - _VALID_URL = r'https?://(?:www\.)?france\.tv/(?:[^/]+/)+(?P<id>[^/]+)\.html' + _VALID_URL = r'https?://(?:(?:www\.)?france\.tv|mobile\.france\.tv)/(?:[^/]+/)+(?P<id>[^/]+)\.html' _TESTS = [{ 'url': 'https://www.france.tv/france-2/13h15-le-dimanche/140921-les-mysteres-de-jesus.html', @@ -154,6 +154,9 @@ class FranceTVIE(FranceTVBaseInfoExtractor): }, { 'url': 'https://www.france.tv/jeux-et-divertissements/divertissements/133965-le-web-contre-attaque.html', 'only_matching': True, + }, { + 'url': 'https://mobile.france.tv/france-5/c-dans-l-air/137347-emission-du-vendredi-12-mai-2017.html', + 'only_matching': True, }] def _real_extract(self, url): |