corrected a typo and added myself to travis notifications.
authorM.Yasoob Khalid <yasoob.khld@gmail.com>
Thu, 18 Jul 2013 07:37:02 +0000 (12:37 +0500)
committerM.Yasoob Khalid <yasoob.khld@gmail.com>
Thu, 18 Jul 2013 07:37:02 +0000 (12:37 +0500)
.travis.yml
youtube_dl/extractor/exfm.py

index 7f1fa8a3c3e2e447c25982aac8e8bafede765dd3..45b71f11b62ee31d2547215c1c3999e6bf97129d 100644 (file)
@@ -9,6 +9,7 @@ notifications:
     - filippo.valsorda@gmail.com
     - phihag@phihag.de
     - jaime.marquinez.ferrandiz+travis@gmail.com
+    - yasoob.khld@gmail.com
 #  irc:
 #    channels:
 #      - "irc.freenode.org#youtube-dl"
index 777bc4dced681cdac5b27bfef468d4b90874615c..0a80638d3751d7e9749a9b68568e6a6e7e47d2ee 100644 (file)
@@ -21,9 +21,9 @@ class ExfmIE(InfoExtractor):
 
     def _real_extract(self, url):
         mobj = re.match(self._VALID_URL, url)
-        video_id = mobj.group(1)
-        info_url = "http://ex.fm/api/v3/song/%s" %(video_id)
-        webpage = self._download_webpage(info_url, video_id)
+        song_id = mobj.group(1)
+        info_url = "http://ex.fm/api/v3/song/%s" %(song_id)
+        webpage = self._download_webpage(info_url, song_id)
         info = json.loads(webpage)
         song_url = re.match(self._SOUNDCLOUD_URL_,info['song']['url'])
         if song_url is not None:
@@ -31,7 +31,7 @@ class ExfmIE(InfoExtractor):
         else:
                song_url = info['song']['url']
         return [{
-            'id':          video_id,
+            'id':          song_id,
             'url':         song_url,
             'ext':         'mp3',
             'title':       info['song']['title'],