]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[fktv] get format_id from video file ext
authorremitamine <remitamine@gmail.com>
Sat, 26 Sep 2015 06:51:11 +0000 (07:51 +0100)
committerremitamine <remitamine@gmail.com>
Sat, 26 Sep 2015 06:51:11 +0000 (07:51 +0100)
youtube_dl/extractor/fktv.py

index fb9739b49d041cc0b555566aebfa1f21ed35923c..40ea2789525ab720beb9e6e42a096682a9581027 100644 (file)
@@ -45,7 +45,7 @@ class FKTVIE(InfoExtractor):
         urls = re.findall(r'<source[^>]+src="([^"]+)"', sources)
         formats = [{
             'url': furl,
-            'format_id': determine_ext(url),
+            'format_id': determine_ext(furl),
         } for furl in urls]
         return {
             'id': episode,