mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 15:22:35 +00:00
[ninegag] Modernize and remove unused import
This commit is contained in:
parent
f24e9833dc
commit
d2983ccb25
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import json
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
|
@ -12,8 +11,9 @@ class NineGagIE(InfoExtractor):
|
||||||
|
|
||||||
_TEST = {
|
_TEST = {
|
||||||
"url": "http://9gag.tv/v/1912",
|
"url": "http://9gag.tv/v/1912",
|
||||||
"file": "1912.mp4",
|
|
||||||
"info_dict": {
|
"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!)",
|
"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",
|
"title": "\"People Are Awesome 2013\" Is Absolutely Awesome",
|
||||||
"view_count": int,
|
"view_count": int,
|
||||||
|
|
Loading…
Reference in a new issue