Browse Source

[generic] Add tests for #13557

master-ytdl-org
Sergey M․ 7 years ago
parent
commit
250b042c7e
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      youtube_dl/extractor/generic.py

+ 21
- 0
youtube_dl/extractor/generic.py View File

@ -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
{


Loading…
Cancel
Save