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

[vlive] Add comments to tests and quotes consistency

This commit is contained in:
Sergey M․ 2019-06-08 02:42:01 +07:00
parent 178663df52
commit 4831ef7fe4
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -54,8 +54,8 @@ class VLiveIE(InfoExtractor):
'info_dict': { 'info_dict': {
'id': '129100', 'id': '129100',
'ext': 'mp4', 'ext': 'mp4',
'title': "[V LIVE] [BTS+] Run BTS! 2019 - EP.71 :: Behind the scene", 'title': '[V LIVE] [BTS+] Run BTS! 2019 - EP.71 :: Behind the scene',
'creator': "BTS+", 'creator': 'BTS+',
'view_count': int, 'view_count': int,
'subtitles': 'mincount:10', 'subtitles': 'mincount:10',
}, },
@ -334,6 +334,7 @@ class VLivePlaylistIE(InfoExtractor):
_VALID_URL = r'https?://(?:(?:www|m)\.)?vlive\.tv/video/(?P<video_id>[0-9]+)/playlist/(?P<id>[0-9]+)' _VALID_URL = r'https?://(?:(?:www|m)\.)?vlive\.tv/video/(?P<video_id>[0-9]+)/playlist/(?P<id>[0-9]+)'
_VIDEO_URL_TEMPLATE = 'http://www.vlive.tv/video/%s' _VIDEO_URL_TEMPLATE = 'http://www.vlive.tv/video/%s'
_TESTS = [{ _TESTS = [{
# regular working playlist
'url': 'https://www.vlive.tv/video/117956/playlist/117963', 'url': 'https://www.vlive.tv/video/117956/playlist/117963',
'info_dict': { 'info_dict': {
'id': '117963', 'id': '117963',
@ -341,12 +342,13 @@ class VLivePlaylistIE(InfoExtractor):
}, },
'playlist_mincount': 10 'playlist_mincount': 10
}, { }, {
# playlist with no playlistVideoSeqs
'url': 'http://www.vlive.tv/video/22867/playlist/22912', 'url': 'http://www.vlive.tv/video/22867/playlist/22912',
'info_dict': { 'info_dict': {
'id': '22867', 'id': '22867',
'ext': 'mp4', 'ext': 'mp4',
'title': '[V LIVE] Valentine Day Message from MINA', 'title': '[V LIVE] Valentine Day Message from MINA',
'creator': "TWICE", 'creator': 'TWICE',
'view_count': int 'view_count': int
}, },
'params': { 'params': {