From 7164b24ca67bd39ca70ab646266d10d86970a48f Mon Sep 17 00:00:00 2001 From: playma Date: Fri, 27 Sep 2019 08:55:48 +0800 Subject: [PATCH] Comply with coding conventions --- youtube_dl/extractor/fc2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/fc2.py b/youtube_dl/extractor/fc2.py index 0547e1681..ab1b10f49 100644 --- a/youtube_dl/extractor/fc2.py +++ b/youtube_dl/extractor/fc2.py @@ -107,11 +107,11 @@ class FC2IE(InfoExtractor): if title_info: title = title_info[0] - response = self._download_json( + meta = self._download_json( video_info_url, video_id, ) - video_url = 'https://video.fc2.com' + response['playlist']['nq'] + video_url = 'https://video.fc2.com' + meta.get('playlist').get('nq') return { 'id': video_id,