X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=youtube-dl;a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fmyspace.py;h=553ded56d5198ccef32879dd33a84b8fc2c13f15;hp=c16939f5437cf55b6d3e51e9d51ab45d1d12392f;hb=9e1a5b845586a0a5431fb72467142046d8571e6f;hpb=2514d2635e0c8ff0fb72d00a093a849001df2bdd diff --git a/youtube_dl/extractor/myspace.py b/youtube_dl/extractor/myspace.py index c16939f54..553ded56d 100644 --- a/youtube_dl/extractor/myspace.py +++ b/youtube_dl/extractor/myspace.py @@ -53,7 +53,7 @@ class MySpaceIE(InfoExtractor): # songs don't store any useful info in the 'context' variable def search_data(name): return self._search_regex(r'data-%s="(.*?)"' % name, webpage, - name) + name) streamUrl = search_data('stream-url') info = { 'id': video_id, @@ -63,7 +63,7 @@ class MySpaceIE(InfoExtractor): } else: context = json.loads(self._search_regex(r'context = ({.*?});', webpage, - u'context')) + u'context')) video = context['video'] streamUrl = video['streamUrl'] info = {