[sockshare] Fix ext
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 22 Jul 2014 23:40:01 +0000 (01:40 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 22 Jul 2014 23:40:01 +0000 (01:40 +0200)
youtube_dl/extractor/sockshare.py

index 75b634bc6b2b0595d4bc03b7640e074157b270e3..dc9f8055013170a87a447ee6370f5cae4546174d 100644 (file)
@@ -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 {