Permalink
Browse files

* myspace.com: updated

  • Loading branch information...
l29ah committed Jan 13, 2012
1 parent 3cac591 commit 3615e56bbba8765f0410b59fca723d4533a2864a
Showing with 3 additions and 2 deletions.
  1. +2 −1 myspace.com/myspace
  2. +1 −1 myspace.com/playid
View
@@ -5,7 +5,8 @@ crap="$(dirname "$(readlink -f "$0")")" # Thanks to Stiletto
artist="`curl -s "$1" | Xtract-html '//title/-' | htmldecode | sed -e 's/\r\([^|]*\) | .*/\1/;q'`"
mkdir "$artist"
cd "$artist"
swfurl="`curl -s "$1" | grep -o 'http://lads\.myspacecdn\.com/music[^"]*'`"
"$crap/getids" "$1/music/songs" | while read track; do
read id name <<< "$track"
"$crap/playid" "$id" > "${name}.mp3"
"$crap/playid" "$id" > "${name}.mp3" "$swfurl"
done
View
@@ -1,2 +1,2 @@
#!/bin/bash
rtmpdump -r "`Xtract '//rtmp/-' <(curl -sL "http://myspace.com/music/services/player?action=getSong&ptype=300&songId=$1")`" --swfVfy 'http://lads.myspacecdn.com/music/sdkwrapper/SDKWrapper.2.0.82.swf?aytatt=-1&sip=172.16.0.2&fadd=-1&logerr=0&yad=-1&on=1&ratt=-1&hash=MIGmBgkrBgEEAYI3WAOggZgwgZUGCisGAQQBgjdYAwGggYYwgYMCAwIAAQICZgMCAgDABAgnplwM4Ag1ngQQdgWYpGiAcoQguXuaItYqvgRY97w7Qi29'
rtmpdump -r "`Xtract '//rtmp/-' <(curl -sL "http://myspace.com/music/services/player?action=getSong&ptype=300&songId=$1")`" --swfVfy "$2" -l 2

0 comments on commit 3615e56

Please sign in to comment.