logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 798a2cad4f40a7181a441ceecdf7e8e3694cd2fd
parent 41c0849429649bd09381ae0db0535c300a5f4af0
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Wed, 23 Jul 2014 01:40:01 +0200

[sockshare] Fix ext

Diffstat:

Myoutube_dl/extractor/sockshare.py2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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 {