1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-23 06:57:54 +01:00

[9gag] Quotes consistency

This commit is contained in:
Sergey M․ 2015-09-23 01:56:26 +06:00
parent 8ea6bd2802
commit d8fef8faac

View File

@ -11,16 +11,16 @@ class NineGagIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?9gag(?:\.com/tv|\.tv)/p/(?P<id>[a-zA-Z0-9]+)(?:/(?P<display_id>[^?#/]+))?' _VALID_URL = r'https?://(?:www\.)?9gag(?:\.com/tv|\.tv)/p/(?P<id>[a-zA-Z0-9]+)(?:/(?P<display_id>[^?#/]+))?'
_TESTS = [{ _TESTS = [{
"url": "http://9gag.com/tv/p/Kk2X5/people-are-awesome-2013-is-absolutely-awesome", 'url': 'http://9gag.com/tv/p/Kk2X5/people-are-awesome-2013-is-absolutely-awesome',
"info_dict": { 'info_dict': {
"id": "Kk2X5", 'id': 'Kk2X5',
"ext": "mp4", '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',
'uploader_id': 'UCdEH6EjDKwtTe-sO2f0_1XA', 'uploader_id': 'UCdEH6EjDKwtTe-sO2f0_1XA',
'uploader': 'CompilationChannel', 'uploader': 'CompilationChannel',
'upload_date': '20131110', 'upload_date': '20131110',
"view_count": int, 'view_count': int,
}, },
'add_ie': ['Youtube'], 'add_ie': ['Youtube'],
}, { }, {