From 6abb066128cfc29b4a4a6eb668f19eb54a7b972e Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 26 Aug 2014 21:30:30 +0200 Subject: [PATCH] [sockshare] Fix title extraction (Fixes #3592) --- youtube_dl/extractor/sockshare.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/sockshare.py b/youtube_dl/extractor/sockshare.py index dc9f80550..c663e56d4 100644 --- a/youtube_dl/extractor/sockshare.py +++ b/youtube_dl/extractor/sockshare.py @@ -61,7 +61,10 @@ class SockshareIE(InfoExtractor): r'(.+)', webpage, 'title') + title = self._html_search_regex(( + r'

(.+)', + r'var name = "([^"]+)";'), + webpage, 'title', default=None) thumbnail = self._html_search_regex( r'