aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-04-14 18:56:29 +0700
committerSergey M․ <dstftw@gmail.com>2014-04-14 18:56:29 +0700
commitfd50bf623c3b3696ade7b8e1e5f4e0c283eabaaf (patch)
treeec0a792eb12c7afa77cd893c0aa06fac0772ec92 /youtube_dl/extractor/generic.py
parentd360a14678b6f5a040a3322732a3406bb55f4d5e (diff)
[generic] Modernize tests
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 761a827e6..f9b9d56d2 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -47,8 +47,9 @@ class GenericIE(InfoExtractor):
{
'add_ie': ['Bandcamp'],
'url': 'http://bronyrock.com/track/the-pony-mash',
- 'file': '3235767654.mp3',
'info_dict': {
+ 'id': '3235767654',
+ 'ext': 'mp3',
'title': 'The Pony Mash',
'uploader': 'M_Pallante',
},
@@ -74,9 +75,10 @@ class GenericIE(InfoExtractor):
{
# https://github.com/rg3/youtube-dl/issues/2253
'url': 'http://bcove.me/i6nfkrc3',
- 'file': '3101154703001.mp4',
'md5': '0ba9446db037002366bab3b3eb30c88c',
'info_dict': {
+ 'id': '3101154703001',
+ 'ext': 'mp4',
'title': 'Still no power',
'uploader': 'thestar.com',
'description': 'Mississauga resident David Farmer is still out of power as a result of the ice storm a month ago. To keep the house warm, Farmer cuts wood from his property for a wood burning stove downstairs.',