X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fsockshare.py;h=c663e56d42ed02645313637cd7866a9071d10ae7;hb=72961c2a8aebc84284bde7768defc2517ead1429;hp=dc9f8055013170a87a447ee6370f5cae4546174d;hpb=11f75cac3db14681b306633a496e9aaae2cfc0a7;p=youtube-dl 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'