2
0
Philipp Hagemeister 11 жил өмнө
parent
commit
798a2cad4f

+ 2 - 0
youtube_dl/extractor/sockshare.py

@@ -5,6 +5,7 @@ from ..utils import (
     ExtractorError,
     ExtractorError,
     compat_urllib_parse,
     compat_urllib_parse,
     compat_urllib_request,
     compat_urllib_request,
+    determine_ext,
 )
 )
 import re
 import re
 
 
@@ -68,6 +69,7 @@ class SockshareIE(InfoExtractor):
         formats = [{
         formats = [{
             'format_id': 'sd',
             'format_id': 'sd',
             'url': video_url,
             'url': video_url,
+            'ext': determine_ext(title),
         }]
         }]
 
 
         return {
         return {