1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

Minor change to satisfy flake8

This commit is contained in:
MaximZ21 2020-04-08 17:36:01 +06:00
parent 27ef02fa83
commit 1a44fd0106

View File

@ -21,7 +21,7 @@ class VlaretvPlaylistIE(InfoExtractor):
webpage = self._download_webpage(url, playlist_id)
urls = re.findall(r'<a href="(.+?)" class="video_thumbnail"', webpage)
title = self._html_search_regex(r'<title>(.+?) \| Vlare</title>', webpage, 'title')
# When playlist points to deleted video there is an "error" in the url (Ex. https://vlare.tv/v/error/3257)
entries = [self.url_result(urljoin('https://vlare.tv', u)) for u in urls if 'error' not in u]