aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-07-23 01:40:01 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-07-23 01:40:01 +0200
commit798a2cad4f40a7181a441ceecdf7e8e3694cd2fd (patch)
treeb1db20a6f5c3c3391e4d946d806e2f3d945471fa
parent41c0849429649bd09381ae0db0535c300a5f4af0 (diff)
downloadyoutube-dl-798a2cad4f40a7181a441ceecdf7e8e3694cd2fd.tar.xz
[sockshare] Fix ext
-rw-r--r--youtube_dl/extractor/sockshare.py2
1 files changed, 2 insertions, 0 deletions
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 {