mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
[kuwo] PEP8
This commit is contained in:
parent
8726e04629
commit
a34af8d066
|
@ -249,10 +249,10 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
category_name = self._html_search_regex(
|
category_name = self._html_search_regex(
|
||||||
r'<h1 title="([^<>]+?)">[^<>]+?</h1>', webpage, 'category name')
|
r'<h1 title="([^<>]+?)">[^<>]+?</h1>', webpage, 'category name')
|
||||||
|
|
||||||
category_desc = re.sub(
|
category_desc = re.sub(
|
||||||
r'^.+简介:', '', get_element_by_id("intro", webpage).strip())
|
r'^.+简介:', '', get_element_by_id("intro", webpage).strip())
|
||||||
|
|
||||||
jsonm = self._parse_json(self._html_search_regex(
|
jsonm = self._parse_json(self._html_search_regex(
|
||||||
r'var jsonm = (\{.+?\});', webpage, 'category songs'), category_id)
|
r'var jsonm = (\{.+?\});', webpage, 'category songs'), category_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user