From 3a11950cd7510bd07139e64311b46922f25247f0 Mon Sep 17 00:00:00 2001 From: Hamed Bahadorzadeh Date: Sun, 12 May 2019 01:54:47 +0430 Subject: [PATCH] checked and corrected according to flake8 --- youtube_dl/extractor/radiojavan.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/youtube_dl/extractor/radiojavan.py b/youtube_dl/extractor/radiojavan.py index 5d5f361b8..6d09efbcc 100644 --- a/youtube_dl/extractor/radiojavan.py +++ b/youtube_dl/extractor/radiojavan.py @@ -42,10 +42,10 @@ class RadioJavanIE(InfoExtractor): 'ext': 'mp3', 'thumbnail': r're:^https?://.*\.jpe?g$', } - },{ + }, { 'url': 'https://www.radiojavan.com/mp3s/mp3/Sirvan-Khosravi-Dorost-Nemisham', 'md5': '3fe3d839617ab3d41348bd4f1af04e70', - 'info_dict':{ + 'info_dict': { 'upload_date': '20190506', 'dislike_count': int, 'like_count': int, @@ -168,8 +168,6 @@ class RadioJavanIE(InfoExtractor): return url def get_playlist_urls(self, url, content_id): - webpage = self._download_webpage("https://www.radiojavan.com/mp3s/playlist_start?id=" + content_id, content_id) - title = self._og_search_title(webpage) infopage = self._download_webpage("https://www.radiojavan.com/mp3s/playlist_start?id=" + content_id, content_id) urls = [] mp3s = str(self._search_regex(