TuxPirate
I concur, it isn't true. Everyone know you have to make extensive use of this great service by registering a few dozen accounts to vote automatically for your own benefit.
Of course it is very different with better social networks like Sphinn!
#!/usr/bin/python
#
import sys
import mechanize
from time import sleep
from random import randrange
from optparse import OptionParser
agents = ['Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3',
'Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)',
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2',
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)',
'Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)',
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2',
'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20060601 Firefox/2.0.0.2 (Ubuntu-edgy)',
'Opera/9.01 (Windows NT 5.1; U; cs)']
class StumbleAgent:
def __init__(self, user, passwd):
self.br = mechanize.Browser()
self.br.addheaders = [("User-agent",
agents[randrange(0, len(agents) - 1)])]
self.login(user, passwd)
def login(self, user, passwd):
self.br.open('http://www.stumbleupon.com/login.php')
assert self.br.viewing_html()
self.br.select_form('formLogin')
self.br['username'] = user
self.br['password'] = passwd
resp = self.br.submit()
print self.br.title()
def stumble(self, url, comment, topic, adult=0, *tags):
if topic < 0 or 415 < topic:
raise ValueError("Invalid topic number `%s'" % topic)
elif adult not in (0, 1):
raise ValueError("You must specify if this is adult content using 0 or 1")
self.br.open("
*Un* *fair*, I had your eyes, we'd all get noticed around here. hah! :-P
I'm erasing the spot I had reserved for Jim Boykins's RSS feed to replace it with yours.
Story: No Budget for Social Media
I came up with the exact same numbers! hah, it was my destiny to find this post that's *sick* . You and I are the same
I larned a fyou things about social networking sites (SNSs). Thanks to iool
« previous1 next »



Story: Stumbleupon – The second wave