소스 검색

[arte.tv] Fix typo

Sergey M․ 10 년 전
부모
커밋
5a18403057
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      youtube_dl/extractor/arte.py

+ 1 - 1
youtube_dl/extractor/arte.py

@@ -37,7 +37,7 @@ class ArteTvIE(InfoExtractor):
             config_xml_url, video_id, note='Downloading configuration')
             config_xml_url, video_id, note='Downloading configuration')
 
 
         formats = [{
         formats = [{
-            'forma_id': q.attrib['quality'],
+            'format_id': q.attrib['quality'],
             # The playpath starts at 'mp4:', if we don't manually
             # The playpath starts at 'mp4:', if we don't manually
             # split the url, rtmpdump will incorrectly parse them
             # split the url, rtmpdump will incorrectly parse them
             'url': q.text.split('mp4:', 1)[0],
             'url': q.text.split('mp4:', 1)[0],