1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[kuwo] PEP8

This commit is contained in:
Yen Chi Hsuan 2015-07-10 19:13:52 +08:00
parent 8726e04629
commit a34af8d066

View file

@ -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)