From: Tithen-Firion Date: Sun, 30 Nov 2014 18:36:24 +0000 (+0100) Subject: [myspace] Handle non-playable songs X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=1940fadd5307a11fd64ab26c43fbc31764c213a1;p=youtube-dl [myspace] Handle non-playable songs I'm adding this because sometimes there is a song page, but you cannot play it. Example: https://myspace.com/starset2/music/song/let-it-die-maniac-agenda-remix-bonus-track-95799916-106964439 It will be useful for downloading whole album with songs like this. --- diff --git a/youtube_dl/extractor/myspace.py b/youtube_dl/extractor/myspace.py index 1a118a37f..843e1f24a 100644 --- a/youtube_dl/extractor/myspace.py +++ b/youtube_dl/extractor/myspace.py @@ -53,9 +53,17 @@ class MySpaceIE(InfoExtractor): if mobj.group('mediatype').startswith('music/song'): # songs don't store any useful info in the 'context' variable + song_data = self._search_regex( + r'''