projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8062ea
)
[onionstudios] Fix description extraction
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 24 Apr 2016 12:41:17 +0000
(20:41 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 24 Apr 2016 12:41:17 +0000
(20:41 +0800)
\1 does not work in []. Fixes test_Generic_75
(http://www.clickhole.com/video/dont-understand-bitcoin-man-will-mumble-explanatio-2537)
youtube_dl/extractor/onionstudios.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/onionstudios.py
b/youtube_dl/extractor/onionstudios.py
index 6e843c327603f19560e2bb35a2d5d462fe4516c3..d7b13a0f1fbc53deba74e47f6d1eefc0bdee8be2 100644
(file)
--- a/
youtube_dl/extractor/onionstudios.py
+++ b/
youtube_dl/extractor/onionstudios.py
@@
-65,7
+65,7
@@
class OnionStudiosIE(InfoExtractor):
r'share_title\s*=\s*(["\'])(?P<title>[^\1]+?)\1',
webpage, 'title', group='title')
description = self._search_regex(
- r'share_description\s*=\s*(["\'])(?P<description>[^\
1
]+?)\1',
+ r'share_description\s*=\s*(["\'])(?P<description>[^\
'"
]+?)\1',
webpage, 'description', default=None, group='description')
thumbnail = self._search_regex(
r'poster\s*=\s*(["\'])(?P<thumbnail>[^\1]+?)\1',