Explorar o código

[leeco] format_id should be strings

Yen Chi Hsuan %!s(int64=9) %!d(string=hai) anos
pai
achega
8a370aedac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/extractor/leeco.py

+ 1 - 1
youtube_dl/extractor/leeco.py

@@ -338,7 +338,7 @@ class LetvCloudIE(InfoExtractor):
             formats.append({
                 'url': url,
                 'ext': determine_ext(decoded_url),
-                'format_id': int_or_none(play_url.get('vtype')),
+                'format_id': str_or_none(play_url.get('vtype')),
                 'format_note': str_or_none(play_url.get('definition')),
                 'width': int_or_none(play_url.get('vwidth')),
                 'height': int_or_none(play_url.get('vheight')),