diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-04-14 18:56:29 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-04-14 18:56:29 +0700 |
commit | fd50bf623c3b3696ade7b8e1e5f4e0c283eabaaf (patch) | |
tree | ec0a792eb12c7afa77cd893c0aa06fac0772ec92 | |
parent | d360a14678b6f5a040a3322732a3406bb55f4d5e (diff) |
[generic] Modernize tests
-rw-r--r-- | youtube_dl/extractor/generic.py | 6 |
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.', |