Просмотр исходного кода

[bandcamp] Correct variable name

Philipp Hagemeister 10 лет назад
Родитель
Сommit
834bf069d2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      youtube_dl/extractor/bandcamp.py

+ 1 - 1
youtube_dl/extractor/bandcamp.py

@@ -79,7 +79,7 @@ class BandcampIE(InfoExtractor):
         # We get the dictionary of the track from some javascript code
         # We get the dictionary of the track from some javascript code
         all_info = self._parse_json(self._search_regex(
         all_info = self._parse_json(self._search_regex(
             r'(?sm)items: (.*?),$', download_webpage, 'items'), video_id)
             r'(?sm)items: (.*?),$', download_webpage, 'items'), video_id)
-        info = All_info[0]
+        info = all_info[0]
         # We pick mp3-320 for now, until format selection can be easily implemented.
         # We pick mp3-320 for now, until format selection can be easily implemented.
         mp3_info = info['downloads']['mp3-320']
         mp3_info = info['downloads']['mp3-320']
         # If we try to use this url it says the link has expired
         # If we try to use this url it says the link has expired