projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8726e04
)
[kuwo] PEP8
author
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 10 Jul 2015 11:13:52 +0000
(19:13 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 10 Jul 2015 11:13:52 +0000
(19:13 +0800)
youtube_dl/extractor/kuwo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/kuwo.py
b/youtube_dl/extractor/kuwo.py
index 82d5f3f95058f1995d19661b6af08890b3b6102e..9c62191b5fdc1b72df95de98fb38e2164ead00ef 100644
(file)
--- 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)