0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-30 03:33:02 +00:00

[doodstream] flake8 compliance

This commit is contained in:
sxvghd 2020-08-18 00:12:14 +02:00
parent c00c1575b6
commit 92d25998f9

View file

@ -43,9 +43,9 @@ def _real_extract(self, url):
webpage = self._download_webpage(url, video_id) webpage = self._download_webpage(url, video_id)
title = self._html_search_meta(['og:title', 'twitter:title'], title = self._html_search_meta(['og:title', 'twitter:title'],
webpage, default=None) webpage, default=None)
thumb = self._html_search_meta(['og:image', 'twitter:image'], thumb = self._html_search_meta(['og:image', 'twitter:image'],
webpage, default=None) webpage, default=None)
token = self._html_search_regex(r'[?&]token=([a-z0-9]+)[&\']', webpage, 'token') token = self._html_search_regex(r'[?&]token=([a-z0-9]+)[&\']', webpage, 'token')
description = self._html_search_meta( description = self._html_search_meta(
['og:description', 'description', 'twitter:description'], ['og:description', 'description', 'twitter:description'],