diff options
author | Tom-Oliver Heidel <github@tom-oliver.eu> | 2020-11-30 02:30:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 02:30:43 +0100 |
commit | 6a03f4f2a8c5c9274cce3d6168b501578d332bae (patch) | |
tree | 6a0262bc708d0af0bf5c8f362f81e978f51a543e | |
parent | 6248b34ad2e4375235ef4cb94d6c56b6dd442702 (diff) | |
parent | 9b664dc4202f07f2d8f2bb47260131bc8246b906 (diff) | |
download | hypervideo-pre-6a03f4f2a8c5c9274cce3d6168b501578d332bae.tar.lz hypervideo-pre-6a03f4f2a8c5c9274cce3d6168b501578d332bae.tar.xz hypervideo-pre-6a03f4f2a8c5c9274cce3d6168b501578d332bae.zip |
Merge pull request #261 from B0pol/ina
[ina] support mobile links
-rw-r--r-- | youtube_dlc/extractor/ina.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/ina.py b/youtube_dlc/extractor/ina.py index 12695af27..b3b2683cb 100644 --- a/youtube_dlc/extractor/ina.py +++ b/youtube_dlc/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): |