diff options
author | bopol <bopol@e.email> | 2020-11-28 22:15:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-29 04:15:53 +0700 |
commit | 717d1d2d5acf88aba6e227870e15bbff0be89ff1 (patch) | |
tree | fc58c1fe985fce158775bf0a20acafe820e2e8f1 | |
parent | 9585b376db8cb0a3f0e7a866e5d64b351fb6ecf7 (diff) |
[ina] Add support for mobile URLs (#27229)
-rw-r--r-- | youtube_dl/extractor/ina.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ina.py b/youtube_dl/extractor/ina.py index 12695af27..b3b2683cb 100644 --- a/youtube_dl/extractor/ina.py +++ b/youtube_dl/extractor/ina.py @@ -12,7 +12,7 @@ from ..utils import ( class InaIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?ina\.fr/(?:video|audio)/(?P<id>[A-Z0-9_]+)' + _VALID_URL = r'https?://(?:(?:www|m)\.)?ina\.fr/(?:video|audio)/(?P<id>[A-Z0-9_]+)' _TESTS = [{ 'url': 'http://www.ina.fr/video/I12055569/francois-hollande-je-crois-que-c-est-clair-video.html', 'md5': 'a667021bf2b41f8dc6049479d9bb38a3', @@ -31,6 +31,9 @@ class InaIE(InfoExtractor): }, { 'url': 'https://www.ina.fr/video/P16173408-video.html', 'only_matching': True, + }, { + 'url': 'http://m.ina.fr/video/I12055569', + 'only_matching': True, }] def _real_extract(self, url): |