Browse Source

[kuwo] PEP8

master
Yen Chi Hsuan 9 years ago
parent
commit
a34af8d066
1 changed files with 2 additions and 2 deletions
  1. 4
      youtube_dl/extractor/kuwo.py

4
youtube_dl/extractor/kuwo.py

@ -249,10 +249,10 @@ class KuwoCategoryIE(InfoExtractor):
category_name = self._html_search_regex(
r'<h1 title="([^<>]+?)">[^<>]+?</h1>', webpage, 'category name')
category_desc = re.sub(
r'^.+简介:', '', get_element_by_id("intro", webpage).strip())
jsonm = self._parse_json(self._html_search_regex(
r'var jsonm = (\{.+?\});', webpage, 'category songs'), category_id)

Loading…
Cancel
Save