mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 19:36:45 +00:00
[9gag] Add vimeo test
This commit is contained in:
parent
c659022b5c
commit
8ea6bd2802
|
@ -1,7 +1,6 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import json
|
|
||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..utils import str_to_int
|
from ..utils import str_to_int
|
||||||
|
@ -22,9 +21,21 @@ class NineGagIE(InfoExtractor):
|
||||||
'uploader': 'CompilationChannel',
|
'uploader': 'CompilationChannel',
|
||||||
'upload_date': '20131110',
|
'upload_date': '20131110',
|
||||||
"view_count": int,
|
"view_count": int,
|
||||||
"thumbnail": "re:^https?://",
|
|
||||||
},
|
},
|
||||||
'add_ie': ['Youtube']
|
'add_ie': ['Youtube'],
|
||||||
|
}, {
|
||||||
|
'url': 'http://9gag.com/tv/p/aKolP3',
|
||||||
|
'info_dict': {
|
||||||
|
'id': 'aKolP3',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'This Guy Travelled 11 countries In 44 days Just To Make This Amazing Video',
|
||||||
|
'description': "I just saw more in 1 minute than I've seen in 1 year. This guy's video is epic!!",
|
||||||
|
'uploader_id': 'rickmereki',
|
||||||
|
'uploader': 'Rick Mereki',
|
||||||
|
'upload_date': '20110803',
|
||||||
|
'view_count': int,
|
||||||
|
},
|
||||||
|
'add_ie': ['Vimeo'],
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://9gag.com/tv/p/KklwM',
|
'url': 'http://9gag.com/tv/p/KklwM',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
|
Loading…
Reference in a new issue