X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fsockshare.py;h=c663e56d42ed02645313637cd7866a9071d10ae7;hb=532f5bff70cc32f54f38fbce9233a88faf4423b9;hp=75b634bc6b2b0595d4bc03b7640e074157b270e3;hpb=06c155420fda2a922a7219dd6758f42b868e6d96;p=youtube-dl diff --git a/youtube_dl/extractor/sockshare.py b/youtube_dl/extractor/sockshare.py index 75b634bc6..c663e56d4 100644 --- a/youtube_dl/extractor/sockshare.py +++ b/youtube_dl/extractor/sockshare.py @@ -5,6 +5,7 @@ from ..utils import ( ExtractorError, compat_urllib_parse, compat_urllib_request, + determine_ext, ) import re @@ -60,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'