1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-21 16:45:41 +07:00

pep8 and minor beautification all around

This commit is contained in:
Philipp Hagemeister
2014-12-04 08:27:40 +01:00
parent 5f5e993dc6
commit 810fb84d5e
5 changed files with 17 additions and 15 deletions

View File

@@ -88,6 +88,7 @@ def _real_extract(self, url):
self.report_warning(
'%s: No downloadable song on this page' % video_id)
return
def search_data(name):
return self._search_regex(
r'''data-%s=([\'"])(?P<data>.*?)\1''' % name,