diff options
Diffstat (limited to 'youtube_dl/extractor/myspace.py')
-rw-r--r-- | youtube_dl/extractor/myspace.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 = { |