diff options
author | Remita Amine <remitamine@gmail.com> | 2018-07-01 22:41:11 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2018-07-01 22:41:32 +0100 |
commit | db5debf313bd2ab99016f2c5b389dbf9ffae3dfb (patch) | |
tree | 5f29f98feaed34449c2bc565cf56b2102eb0df08 /youtube_dl | |
parent | 8cee692b8b66322e4c1a0d37baceb9e4c49a3f8e (diff) |
[go90] add support for embed urls(closes #16873)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/go90.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/youtube_dl/extractor/go90.py b/youtube_dl/extractor/go90.py index 6f8c56a93..c3ea717bc 100644 --- a/youtube_dl/extractor/go90.py +++ b/youtube_dl/extractor/go90.py @@ -15,8 +15,8 @@ from ..utils import ( class Go90IE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?go90\.com/videos/(?P<id>[0-9a-zA-Z]+)' - _TEST = { + _VALID_URL = r'https?://(?:www\.)?go90\.com/(?:videos|embed)/(?P<id>[0-9a-zA-Z]+)' + _TESTS = [{ 'url': 'https://www.go90.com/videos/84BUqjLpf9D', 'md5': 'efa7670dbbbf21a7b07b360652b24a32', 'info_dict': { @@ -28,7 +28,10 @@ class Go90IE(InfoExtractor): 'upload_date': '20170411', 'age_limit': 14, } - } + }, { + 'url': 'https://www.go90.com/embed/261MflWkD3N', + 'only_matching': True, + }] _GEO_BYPASS = False def _real_extract(self, url): |