Farid Zakaria

Archive 1 min read

HypeMachine Batch Downloader 2.0


This post comes from my original WordPress blog, written between 2009 and 2018. It is kept here verbatim as an archive — the formatting did not always survive the move, and I no longer agree with all of it.

They're going to hate me..

Going to keep this one short and sweet.

So yesterday I decided to rewrite and fix the batch downloader script I had written in Python to download songs from HypeMachine. Anyways, you can find the find the new script and accompanying README file here (or the Projects page). The script should be straight forward to setup and run. If you have any issues please let me know.

EDIT: If you would like the script feel free to send me an e-mail. I removed the link from my blog upon request of the site creators of the website.

More to come

If there seems to be a demand, I might port it to some GUI form, to make it even simpler to get the songs. In the mean time I plan on fixing the HypeMachine chrome extension to allow browsing and playback at the same time. I also plan on porting the extension to Safari and Firefox.

Enjoy the songs. =)

16 archived comments

davers 2011-03-04

! i have been looking for something like this for quite some time. thank you thank you thank you so much for taking the time to write it! i’ve been using your chrome extension for awhile now, but it takes awhile to drudge through all 65 pages and download them manually…

one problem: it seems to be hanging on the third track. like, the first two downloaded fine, but it can’t download the third…any idea why this would be happening? lemme know if you need me to send some logs or whatever; i’d love to help test this script for you if it means getting all these mp3s at last

davers 2011-03-04

@davers: err, disregard that; it just seems to be crawling along oh-so-slowly. must be the net connection out here in the boonies…

davers 2011-03-04

oh, but now i have a real bug: the python script exits if it hits a 404 on the mp3 file. this is the file it occurred on for me, if it helps: http://hypem.com/#!/item/199d8/

davers 2011-03-05

@davers: i don’t really know python but i thiiink i fixed it by wrapping the urllib2.urlopen in the download_song def with a try/except where the exception returns a false and prints a msg notifying of the 404

Farid Zakaria 2011-03-06

@davers:

Hey Davers,

I’ll look into the script why it is causing that error. I think I had actually fixed that on my local machine but forgot to update the script on my website. I’ll make sure to do that.

I’m also working on a Mac application that performs the same functionality. If you’d like and leave me you’re e-mail I can send it to you when I’m done.

Nick 2011-03-10

v1.2 is still in the chrome store, where can i find 2.0?

1.2 just stopped working also.

Thanks!

Farid Zakaria 2011-03-11

@Nick:

If you send me an e-mail I can email you the script.

As for the chrome extension you can find it here: https://chrome.google.com/webstore/detail/imbbbpnnjeljfopnjohfoieconfedbhh

There’s a patch coming soon!

HypeMachine Cocoa Woes – Small Thoughts 2011-03-23

[…] Small Thoughts A blog by Farid Zakaria; somewhat software oriented Skip to content AboutProjectsCompendiumCalendarSitemap “Successful interactions with objects that you use should get simpler, not more complex–you don’t need to be watching the car’s engine running in order to drive it, the experience should be intuitive”by Steve Jobs « HypeMachine Batch Downloader 2.0 […]

Thanks and Up Next – Small Thoughts 2011-03-23

[…] to the demand and upon people’s comments on the extension, I then worked up a Python script which made batch downloading of the songs easier for those from the site. Although I took down the […]

JT 2011-04-14

hype machine now can somehow detect the use of the extension and makes the links playback “Rick Rolled” music instead. See comments:

http://www.facebook.com/hypem

Nice extension though.

Farid Zakaria 2011-04-14

@JT: Hey JT,

I’m aware of the issue and will be investigating the extension to see what they’ve changed. I’m just writing exams. Hopefully I can figure it out soon afterwards!

Matt 2011-08-07

Hey man I really love what you have created here and would really appreciate if you could send me a copy, thanks!

Farid Zakaria 2011-08-08

@Matt: You can grab it here: https://github.com/fzakaria

Matilde 2014-07-06

I completely undnrstaed this objection and I too suspect that greater knowledge of the Higgs will likely never bring us great technological advance (or at least, not in the near future). But I also suspect this is the wrong question to ask that the benefits of pure science will in the future descend less directly from the science itself, but will still be inextricably linked to the research which bore it. Just as CERN brought us the web, and the space programme brought numerous technological spin-offs, I’m sure pure inspirational science of the future will reward us in ways we cannot now predict, but which stem directly from its pursuit (indeed, just as times of war always bring us medical advances). Apart from anything else, you can’t bracket off different areas of physics, or even science as a whole, and treat them as isolated avenues of study the different disciplines will always talk to each other and augment each other’s development. Matt is right to note that this is a horse race in which you can’t pick the winner before it starts, but the truth is bolder than that whatever winners there are will emerge stronger from the participation of all the others.

Kouk 2014-07-06

I am not sure what kind of practical teanlohogiccl advances can come out of studying the Higgs physics and the like, in the same way that the transistor came out of the discovery of the electron and quantum mechanics. The only reason I can see of for doing high-energy physics research is for the sake of plain curiosity and the fact that the state of understanding and technology allows for it.

Laura 2014-07-06

Just to play devil’s advocate, isn’t it safe to say that weahtver is discovered at the LHC and beyond will not have any practical effect until our everyday technology involves TeV scale energies? Anything involving lower energies should be described just fine by the Standard Model. In other words, doesn’t the paradigm of effective field theory actually make high energy physics irrelevant to low energy everyday life?