aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorM.Yasoob Khalid <yasoob.khld@gmail.com>2013-07-18 12:37:02 +0500
committerM.Yasoob Khalid <yasoob.khld@gmail.com>2013-07-18 12:37:02 +0500
commit233ad24ecf99e5a44541536e3d3352f6f7ebb526 (patch)
treead8bac71c85618bd2a3c2eeecbadb98794e438cf /youtube_dl/extractor
parentc4949c50f97e1f8f9eaa6b9af4b998592c4a4975 (diff)
downloadyoutube-dl-233ad24ecf99e5a44541536e3d3352f6f7ebb526.zip
youtube-dl-233ad24ecf99e5a44541536e3d3352f6f7ebb526.tar.gz
youtube-dl-233ad24ecf99e5a44541536e3d3352f6f7ebb526.tar.bz2
corrected a typo and added myself to travis notifications.
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/exfm.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/youtube_dl/extractor/exfm.py b/youtube_dl/extractor/exfm.py
index 777bc4d..0a80638 100644
--- a/youtube_dl/extractor/exfm.py
+++ b/youtube_dl/extractor/exfm.py
@@ -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'],