projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
665e945
)
[generic] Add tests for #13557
author
Sergey M․
<dstftw@gmail.com>
Sun, 9 Jul 2017 09:02:38 +0000
(16:02 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 9 Jul 2017 09:02:38 +0000
(16:02 +0700)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 7232f39dbe9c29e538abd96c7848b7d5fb1d0b12..95c38698d6404be54be3c5c378f8b2e4f350685f 100644
(file)
--- 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,
},
'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)
{
},
# ClipYou (EaglePlatform) embed (custom URL)
{
@@
-1212,6
+1230,9
@@
class GenericIE(InfoExtractor):
'duration': 216,
'view_count': int,
},
'duration': 216,
'view_count': int,
},
+ 'params': {
+ 'skip_download': True,
+ },
},
# Pladform embed
{
},
# Pladform embed
{