Google's social networking site orkut has become really popular especially in India and its popularity isn't showing any sign of stopping. I will tell you that I hate orkut and the only reason Im using it is because a lot of friends use it. Its just like the time I'd downloaded 3 different IMs until I found gaim. The reasons I hate orkut are:
Enough of my rant, I basically use orkut to read scraps and I don't like to login and navigate to scraps and then read it. So I wrote this script which fetches my last ten scraps.
This script does no error checking and is at best just a hack. But it can be really useful(especially in office).
Here's the script : http://www.osix.net:80/modules/folder/index.php?tid=12868&action=vf
Enjoy! . Do tell me if it doesn't seem to work or you like it.I might work on it sometime when Im free.
Update: I've added proxy support for the script, if you need proxy support here's the script:
http://www.osix.net:80/modules/folder/index.php?tid=12903&action=vf
Wednesday, October 11, 2006
Python script for fetching your orkut scraps
Posted by Ravi at 4:22 PM
Subscribe to:
Post Comments (Atom)
7 comments:
Hi
I just downloaded you script. It seems very handy to use but I am behind a proxy server and your script doesn't seem to handle proxies. Just want to inform you..I'll try to do my own tweaking and surely inform you if something works out..
Hi Venkat, I knew proxies don't work with this script but they can easily be added, I just didn't want to *shrug*.
Anyway here's what you need to modify in the file:
Add this line(after importing urllib2)
prox=urllib2.ProxyHandler({'http':'http://192.168.2.6:8080','https' : 'http://192.168.2.6:8080'})
My proxy was 192.168.2.6 using port 8080, change according to you.
Then edit this line:
br=urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) To: br=urllib2.build_opener(prox,urllib2.HTTPCookieProcessor(cj))
Enjoy, do tell me if it doesn't work.
Bah blogger messed my comment, I've updated the post now.
i never knew about this man.thanks a bilion.visdit my tech blog
http://technolgy-today.blogspot.com
not able to download ur script please check
I am not able to download the script.
Can you please check the location again.
or can you mail me the same santosh.mce@gmail.com
Yeah... the file seems to has 0kb :-/
Post a Comment