ø Don’t waste your time reading this blog ø

How to Scrape Mixergy for Audio Content

Filed under: business, web 2.0 — Tags: — taewoo @ 12:39 pm September 1, 2010

If you’re a nerd and care about what other nerds (especially about tech companies) have to say, Mixergy is a good source of audio interviews. If you’re too lazy to click on each link and look for mp3 and wanna download the “whole site”, here’s how:

1) get sitemap.xml

2) curl each page in the sitemap and search for “.mp3″

3) download the mp3

OR if you are even lazier than that, here’s the script:

#!/bin/sh

>mixergy_files.txt
for i in `curl -s http://mixergy.com/sitemap.xml | grep “<loc>” | sed -e :a -e ’s/<[^>]*>//g;/</N;//ba’ -e “s/\t//g”`
do
echo $i
curl -s $i | grep “\.mp3″ | sed ’s/^.*<a href=”//’ | sed ’s/”.*$//’ >> mixergy_files.txt
done

for i in `cat mixergy_files.txt`
do
wget $i
done

Starcraft 2 Players Are Pizza Face Thieves

Filed under: funny, web 2.0 — Tags: , — taewoo @ 10:59 pm August 4, 2010

See? Even Youtube thinks so

starcraft2-pimple-piracy

Life of a Hacker

Filed under: web 2.0 — taewoo @ 9:49 am July 8, 2010

IM chat with a hacker-ish friend

[ me     ]: man, 8:32 AM. u’re up early.
[ ERT-er ]: going back to sleep soon
[ me     ]: u must be from transylvania
[ me     ]: make sure to drink lots of fresh blood
[ ERT-er ]: i’m auditioning for the next twilight movie
[ me     ]: I didn’t know they had gay vampires
[ ERT-er ]: i’ve never seen the movie, but sure i’ll play a gay vampire for millions… and tons of female fans
[ me ]: you can make out with them WHILE they click on your ad
[ ERT-er ]: just ask them to give you $$ straight up… no clicking required
[ me ]: yeah.. cuz you’ll be doing all the “clicking”

Older Posts »