Comments by Nemanja Stefanovic on scripts

29 comments

Comment on:
muxtape downloader

Jul 11, 2008

lol, why? it barely works. i just did it because i thought it was funny using more web 2.0 to break web 2.0.

Comment on:
Muxtaster

Jul 11, 2008

It's his site, Mika. He can do whatever he wants with it to try to stop things he doesn't like. Everyone knows his entire concept is on shaky legal grounds. Even if little scripts like this that make direct links are gone, it's only slightly more effort to download with things like Firebug. Not too big of a deal I think.

As for muxtape search engines, http://muxtapestumbler.com/ has been around for a while and doesn't seem like it's going to stop, good site.

Comment on:
muxtape downloader

Jul 11, 2008

mika, downloading by watching the URL in 'Net' on Firebug will always be possible. As for this script...maybe.

Comment on:
Muxtaster

Jul 11, 2008

haha. oh man. any ideas on this one Bjorn?

Comment on:
Muxtaster

Jul 10, 2008

I noticed that too. Bjorn, just change the outermost container to a div. Worked for me on my script.

Comment on:
muxtape downloader

Jul 10, 2008

yea i managed to decode it on my own. something tells me he's having fun too. :)

Comment on:
Muxtaster

Jul 10, 2008

onehundredfortyoneonehundredfortyoneonehundredfortyoneonehundredfortyoneonehundredfortyoneonehundredfortyoneonehundredfortyoneonehundredfortyone

lolling. so hard.

Comment on:
muxtape downloader

Jul 9, 2008

I know, it'll have to be made more flexible.

Comment on:
muxtape downloader

Jul 9, 2008

I think I finally found a use for Twitter. Updated to automatically grab new salts.

Comment on:
Muxtaster

Jul 9, 2008

ashgromnies: I was thinking about the same thing. Having the script make an xmlhttprequest to some page and get the (current) salt when it is first called. they also wouldn't be able to block it since Greasemonkey is just calling it locally.
EDIT: I decided to do it. You can find the code at the beginning of my script: http://userscripts.org/scripts/show/24382

As for the SWF, i'm not sure you'd get far with just those exposed methods even if you could call them. Otherwise I think the SWF might have some domain restrictions preventing you running it on localhost and being called? Maybe try making your hostname 'muxtape.com' when running it locally?

Comment on:
muxtape downloader

Jul 8, 2008

Here we go...this is will be changing a lot. I really doubt anyone will use this script much anymore if it requires 102873 updates/day to work. Just might keep updating it for the lols though.

BTW jstn: "It doesn't matter too much, the way the site works is changing fundamentally soon and if you greasemonkeys figure a way around *that* then I'll stop bothering."

Comment on:
muxtape downloader

Jul 7, 2008

You're a fucking rockstar Bjorn!

The script is working fine again!

Comment on:
Muxtaster

Jul 7, 2008

Holy shit man! This is awesome!

How did you figure out the salt for the skeleton key? Got a nice SWF decompiler?

Mind if I update my script based on your stuff?

Comment on:
muxtape downloader

Jul 5, 2008

This script is done and can no longer work. Was lots of fun while it lasted though, thanks to all who commented here for the good times. What seems to be going on:

1. jstn did some nice work here
2. each song id (the stripe thing) is sent to an exposed JS function in the cutter.swf (LoadFromKey I think)
3. the cutter.swf then sends a POST request with some specific muxtape headers (like the Accept-Language being mx and and X-Muxtape header with 'Alive' as the value) to /nothing. Key point being, the POST is essentially a form submission (Content-Type: application/x-www-form-urlencoded) with 3 variables: context (=playlist), song_key (=whatever song/stripe id), and skeleton_key.
The 'skeleton_key' is the main one here. It is just an MD5 hash (probably just the song_key salted a bit) but the cool thing is that cutter.swf's ActionScript stuff is the one generating the hash then /nothing verifies it. Once it is verified, the URL to the Amazon S3 hosted MP3 is returned and cutter.swf happily plays it.
4. iPhone support has been cut off since the shitty little iPhone can't (won't?) do Flash. iPhone UA string just says some native iphone app is coming.
5. If you still want to download songs, it's a pain in the ass but not too terrible. Download the Firebug Firefox extension and watch the 'Net' tab for the MP3 when you click on it to play it. Then copy that URL and download away. Or trace it with Wireshark or something. However, the limits of Greasemonkey for this have been reached, from what I can tell. I'd be delighted if someone could prove me wrong but for now I'm afraid I have to give up.

All the best with site, jstn. This was a simple and quite effective workaround.

Comment on:
muxtape downloader / m3u enabler

Apr 28, 2008

Nice mod nyquildotorg!

Just had one concern about whether the m3u will work always with the MP3 URL's in there. I'm not sure if the hash/sig muxtape generates for the songs might expire after a certain amount of time. Maybe not, but it would be something to check out.

Comment on:
muxtape downloader 2

Apr 20, 2008

Very nice Michael! I thought of doing something similar as there really doesn't seem to be a Javascript solution to this but wasn't sure if people would like using an external service.

Good job!

Comment on:
muxtape downloader

Apr 20, 2008

New update.

I was adding songs by counting "li" tags. However, more of those were added recently which threw off the counter. Works fine again.

Comment on:
muxtape downloader

Apr 15, 2008

Good To Too: That is kick-ass! Thanks! I was wondering how to go about that but didn't have time to look into it. Thanks again!

Comment on:
muxtape downloader

Apr 15, 2008

Someone who signed up today to post that comment knows what kind of scripts are the right type for userscripts. Nice.

Also since the April 3rd update it's been working fine.

http://muxtape.com/terms says that users cannot upload songs they don't have authority over. So the RIAA is not a problem here. ;)

Comment on:
muxtape downloader

Apr 5, 2008

sc911, cool! Nice mod. Glad you like the script.

Comment on:
muxtape downloader

Apr 3, 2008

I agree. This is fun and amusing.

I'm just not sure I understand you no-downloading logic, especially from the small numbers of people who might use this script. You expect people to upload songs onto the site but getting them off is not allowed?

Also, I won't even bother writing this if I didn't like your site. It's wonderful and one of the best UI's I've seen in a while. Threatening your users with IP-banning is even worse for the long-term IMO.

Whatever though, hit me up when the new fundamental changes are up. I need another morning puzzle.

Comment on:
muxtape downloader

Apr 3, 2008

:( That was even easier than last time.

All that dirtying of Kettles though made your site run slower, not a good approach. There's native JS randomizing methods that are just as good.

Oh yea, my IP is 127.0.0.1

Comment on:
muxtape downloader

Apr 3, 2008

jstn:

new programming challenge for you!

everyone else:

script is working again. enjoy.

Comment on:
muxtape downloader

Apr 3, 2008

hahaha

Comment on:
muxtape downloader

Apr 3, 2008

Broken again. JTSN is clever! ;)

I was wondering why you didn't choose a random var in the first place.