From 4831ef7fe41cf4dfca5957c61635fb5a547ad9ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Sat, 8 Jun 2019 02:42:01 +0700 Subject: [PATCH] [vlive] Add comments to tests and quotes consistency --- youtube_dl/extractor/vlive.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/vlive.py b/youtube_dl/extractor/vlive.py index 6bfbceef2..c3429f723 100644 --- a/youtube_dl/extractor/vlive.py +++ b/youtube_dl/extractor/vlive.py @@ -54,8 +54,8 @@ class VLiveIE(InfoExtractor): 'info_dict': { 'id': '129100', 'ext': 'mp4', - 'title': "[V LIVE] [BTS+] Run BTS! 2019 - EP.71 :: Behind the scene", - 'creator': "BTS+", + 'title': '[V LIVE] [BTS+] Run BTS! 2019 - EP.71 :: Behind the scene', + 'creator': 'BTS+', 'view_count': int, 'subtitles': 'mincount:10', }, @@ -334,6 +334,7 @@ class VLivePlaylistIE(InfoExtractor): _VALID_URL = r'https?://(?:(?:www|m)\.)?vlive\.tv/video/(?P[0-9]+)/playlist/(?P[0-9]+)' _VIDEO_URL_TEMPLATE = 'http://www.vlive.tv/video/%s' _TESTS = [{ + # regular working playlist 'url': 'https://www.vlive.tv/video/117956/playlist/117963', 'info_dict': { 'id': '117963', @@ -341,12 +342,13 @@ class VLivePlaylistIE(InfoExtractor): }, 'playlist_mincount': 10 }, { + # playlist with no playlistVideoSeqs 'url': 'http://www.vlive.tv/video/22867/playlist/22912', 'info_dict': { 'id': '22867', 'ext': 'mp4', 'title': '[V LIVE] Valentine Day Message from MINA', - 'creator': "TWICE", + 'creator': 'TWICE', 'view_count': int }, 'params': { -- 2.22.2