aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/onionstudios.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-04-24 20:41:17 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-04-24 20:41:17 +0800
commita956cb63064f02121da73c298f3b500a9a49265e (patch)
tree698c5054225f2ab67bf0151c10f34697e4f82e6c /youtube_dl/extractor/onionstudios.py
parenta8062eabcd850278d5545e2a8e6d39392e540571 (diff)
downloadyoutube-dl-a956cb63064f02121da73c298f3b500a9a49265e.tar.xz
[onionstudios] Fix description extraction
\1 does not work in []. Fixes test_Generic_75 (http://www.clickhole.com/video/dont-understand-bitcoin-man-will-mumble-explanatio-2537)
Diffstat (limited to 'youtube_dl/extractor/onionstudios.py')
-rw-r--r--youtube_dl/extractor/onionstudios.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/onionstudios.py b/youtube_dl/extractor/onionstudios.py
index 6e843c327..d7b13a0f1 100644
--- 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',