diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-07-09 16:02:38 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-07-09 16:02:38 +0700 |
commit | 250b042c7e71a6e8bbff534aa41c2b92dae1acf7 (patch) | |
tree | dc083087a7fcffa8a1bbdbcbd22eb2151fbe6e40 /youtube_dl/extractor | |
parent | 665e9452461abaff7127653265c78bd585acea6c (diff) |
[generic] Add tests for #13557
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/generic.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 7232f39db..95c38698d 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -1199,6 +1199,24 @@ class GenericIE(InfoExtractor): 'view_count': int, 'age_limit': 0, }, + 'params': { + 'skip_download': True, + }, + }, + # referrer protected EaglePlatform embed + { + 'url': 'https://tvrain.ru/lite/teleshow/kak_vse_nachinalos/namin-418921/', + 'info_dict': { + 'id': '582306', + 'ext': 'mp4', + 'title': 'Стас Намин: «Мы нарушили девственность Кремля»', + 'thumbnail': r're:^https?://.*\.jpg$', + 'duration': 3382, + 'view_count': int, + }, + 'params': { + 'skip_download': True, + }, }, # ClipYou (EaglePlatform) embed (custom URL) { @@ -1212,6 +1230,9 @@ class GenericIE(InfoExtractor): 'duration': 216, 'view_count': int, }, + 'params': { + 'skip_download': True, + }, }, # Pladform embed { |