From: Philipp Hagemeister Date: Thu, 20 Mar 2014 23:25:04 +0000 (+0100) Subject: [ninegag] Modernize and remove unused import X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=d2983ccb256881e0704f1c134bafe398afbb28fb;p=youtube-dl [ninegag] Modernize and remove unused import --- diff --git a/youtube_dl/extractor/ninegag.py b/youtube_dl/extractor/ninegag.py index 1d7aa40ed..b8c892cce 100644 --- a/youtube_dl/extractor/ninegag.py +++ b/youtube_dl/extractor/ninegag.py @@ -1,6 +1,5 @@ from __future__ import unicode_literals -import json import re from .common import InfoExtractor @@ -12,8 +11,9 @@ class NineGagIE(InfoExtractor): _TEST = { "url": "http://9gag.tv/v/1912", - "file": "1912.mp4", "info_dict": { + "id": "1912", + "ext": "mp4", "description": "This 3-minute video will make you smile and then make you feel untalented and insignificant. Anyway, you should share this awesomeness. (Thanks, Dino!)", "title": "\"People Are Awesome 2013\" Is Absolutely Awesome", "view_count": int,