summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-03-21 00:25:04 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-03-21 00:37:10 +0100
commitd2983ccb256881e0704f1c134bafe398afbb28fb (patch)
treedba4c2633cca6ba6ccd5b8625709843b4a0756e7
parentf24e9833dc06e84bdafd4df211c98148e39eed07 (diff)
downloadyoutube-dl-d2983ccb256881e0704f1c134bafe398afbb28fb.tar.gz
youtube-dl-d2983ccb256881e0704f1c134bafe398afbb28fb.tar.xz
youtube-dl-d2983ccb256881e0704f1c134bafe398afbb28fb.zip
[ninegag] Modernize and remove unused import
-rw-r--r--youtube_dl/extractor/ninegag.py4
1 files changed, 2 insertions, 2 deletions
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,