aboutsummaryrefslogtreecommitdiff
path: root/youtube_dlc/extractor/ina.py
diff options
context:
space:
mode:
authorTom-Oliver Heidel <github@tom-oliver.eu>2020-11-30 02:46:10 +0100
committerGitHub <noreply@github.com>2020-11-30 02:46:10 +0100
commit9e4043faa99609ac16d279a5f8d5fc22b23f0c8e (patch)
tree2c052847cd85fdf3ac33176a7d0109c79b518c45 /youtube_dlc/extractor/ina.py
parent5867a1678924ad25a4784abfa5dbd28b5b69eb67 (diff)
parent94c29091d049f48962c3e81a1b5b0237ab54827d (diff)
Merge branch 'master' into rcs
Diffstat (limited to 'youtube_dlc/extractor/ina.py')
-rw-r--r--youtube_dlc/extractor/ina.py5
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):