mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-21 21:02:51 +08:00
corrected a typo and added myself to travis notifications.
This commit is contained in:
parent
c4949c50f9
commit
233ad24ecf
@ -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"
|
||||
|
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user