X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fsockshare.py;h=dc9f8055013170a87a447ee6370f5cae4546174d;hb=94a20aa5f88762f4a80f79e039405f3865075569;hp=75b634bc6b2b0595d4bc03b7640e074157b270e3;hpb=c4f731262dbee921147b94aac5035b5d9ec75502;p=youtube-dl diff --git a/youtube_dl/extractor/sockshare.py b/youtube_dl/extractor/sockshare.py index 75b634bc6..dc9f80550 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 @@ -68,6 +69,7 @@ class SockshareIE(InfoExtractor): formats = [{ 'format_id': 'sd', 'url': video_url, + 'ext': determine_ext(title), }] return {