[bandcamp] Correct variable name
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 10 Feb 2015 00:37:14 +0000 (01:37 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 10 Feb 2015 00:37:14 +0000 (01:37 +0100)
youtube_dl/extractor/bandcamp.py

index 27d8652f6ec8d4540c4214da2690549a6af20b73..490cc961a204d40d41fbb4e0306a66611f161a09 100644 (file)
@@ -79,7 +79,7 @@ class BandcampIE(InfoExtractor):
         # We get the dictionary of the track from some javascript code
         all_info = self._parse_json(self._search_regex(
             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.
         mp3_info = info['downloads']['mp3-320']
         # If we try to use this url it says the link has expired