aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-07-10 19:13:52 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-07-10 19:13:52 +0800
commita34af8d0667d8f4ceba3380f808a6d563ca01d77 (patch)
treea21c228479e8d6b732fdca388644928156b35113 /youtube_dl/extractor
parent8726e046296d3f03f586c527f55bd03cffdbc363 (diff)
[kuwo] PEP8
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/kuwo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/kuwo.py b/youtube_dl/extractor/kuwo.py
index 82d5f3f95..9c62191b5 100644
--- a/youtube_dl/extractor/kuwo.py
+++ b/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)