From fd50bf623c3b3696ade7b8e1e5f4e0c283eabaaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Mon, 14 Apr 2014 18:56:29 +0700 Subject: [PATCH] [generic] Modernize tests --- youtube_dl/extractor/generic.py | 6 ++++-- 1 file 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.',