[help] i need a disqus like bot

Status
Not open for further replies.
elgerente,

I'm interested in your program. Will it automatically upvote people I follow on Disqus?
 
Im looking for a disqus bot aswel, i have starting code below

Code:
import requests
import random
import string
import threadpool
import thread
def gen(size=10, chars=string.ascii_uppercase + string.digits):
    return ''.join(random.choice(chars) for x in range(size))
class Disqus:
    def __init__(self):
        print "Disqus Class Initialized"
        self.signup = "https://disqus.com/profile/signup/"
        self.http = requests.Session()
    def createAccount(self,email,username,password):
        pdata = {
            "email" : email,
            "username" : username,
            "password" : password
        }
        signup_headers = {
            "referer" : "https://disqus.com/profile/signup/",
            "content-type" : "application/x-www-form-urlencoded",
            ":host" : "disqus.com",
            ":method" : "POST",
            ":path" : "/profile/signup/",
            ":scheme" : "https",
            ":version" : "HTTP/1.1"
        }
        r = self.http.post(self.signup, data = pdata, headers = signup_headers)
        if r.status_code == 302:
            print "Good signup"
        else:
            print "Bad signup"
        #look for this in r.headers
        #x-user:loginas:None:108281152
    def upvote(self,postid):
        pdata = {
            "post" : postid,
            "vote" : "1",
            "api_key" : "E8Uh5l5fHZ6gD8U3KycjAIAk46f68Zw7C6eW8WSjZvCLXebZ7p0r1yrYDrLilk2F"
        }
        r = self.http.post("http://disqus.com/api/3.0/posts/vote.json",data = pdata)
        print r.content

def rape(stack):
    dis,u,target = stack
    dis.createAccount(u+"@mailinator.com",u,u)
    print u
    print "Upvoting..."
    dis.upvote(target)

if __name__ == "__main__":
    target = "1399861984"
    pool = threadpool.ThreadPool(100)
    queue_arguments = []
    for i in range(0,10):
        dis = Disqus()
        u = gen(10)
        queue_arguments.append([dis,u,target])
    request = threadpool.makeRequests(rape, queue_arguments)
    for req in request:
        pool.putRequest(req)
    pool.wait()
 
Im looking for a disqus bot aswel, i have starting code below

Code:
import requests
import random
import string
import threadpool
import thread
def gen(size=10, chars=string.ascii_uppercase + string.digits):
    return ''.join(random.choice(chars) for x in range(size))
class Disqus:
    def __init__(self):
        print "Disqus Class Initialized"
        self.signup = "https://disqus.com/profile/signup/"
        self.http = requests.Session()
    def createAccount(self,email,username,password):
        pdata = {
            "email" : email,
            "username" : username,
            "password" : password
        }
        signup_headers = {
            "referer" : "https://disqus.com/profile/signup/",
            "content-type" : "application/x-www-form-urlencoded",
            ":host" : "disqus.com",
            ":method" : "POST",
            ":path" : "/profile/signup/",
            ":scheme" : "https",
            ":version" : "HTTP/1.1"
        }
        r = self.http.post(self.signup, data = pdata, headers = signup_headers)
        if r.status_code == 302:
            print "Good signup"
        else:
            print "Bad signup"
        #look for this in r.headers
        #x-user:loginas:None:108281152
    def upvote(self,postid):
        pdata = {
            "post" : postid,
            "vote" : "1",
            "api_key" : "E8Uh5l5fHZ6gD8U3KycjAIAk46f68Zw7C6eW8WSjZvCLXebZ7p0r1yrYDrLilk2F"
        }
        r = self.http.post("http://disqus.com/api/3.0/posts/vote.json",data = pdata)
        print r.content

def rape(stack):
    dis,u,target = stack
    dis.createAccount(u+"@mailinator.com",u,u)
    print u
    print "Upvoting..."
    dis.upvote(target)

if __name__ == "__main__":
    target = "1399861984"
    pool = threadpool.ThreadPool(100)
    queue_arguments = []
    for i in range(0,10):
        dis = Disqus()
        u = gen(10)
        queue_arguments.append([dis,u,target])
    request = threadpool.makeRequests(rape, queue_arguments)
    for req in request:
        pool.putRequest(req)
    pool.wait()

It's a disqus bot aswel for create disqus accounts?
 
The python code works but fails at logging in. It uses Disqus api to upvote at a certain comment address that you input.

Anyone here know how to log in with random accounts that have already been created. Not manually but at run time.
 
Im using mailinator to generate random accounts but im having issues logging in with them. Not sure why im getting bad log in
I think that maybe there are some problems in login form from Mailinator
 
DId you find it bro ?

The python code works but fails at logging in. It uses Disqus api to upvote at a certain comment address that you input.

Anyone here know how to log in with random accounts that have already been created. Not manually but at run time.

I think that maybe there are some problems in login form from Mailinator

Guys please im looking for a disqus upvote bot please!!!! thank you !
 
Im looking for a disqus bot aswel, i have starting code below

Code:
import requests
import random
import string
import threadpool
import thread
def gen(size=10, chars=string.ascii_uppercase + string.digits):
    return ''.join(random.choice(chars) for x in range(size))
class Disqus:
    def __init__(self):
        print "Disqus Class Initialized"
        self.signup = "https://disqus.com/profile/signup/"
        self.http = requests.Session()
    def createAccount(self,email,username,password):
        pdata = {
            "email" : email,
            "username" : username,
            "password" : password
        }
        signup_headers = {
            "referer" : "https://disqus.com/profile/signup/",
            "content-type" : "application/x-www-form-urlencoded",
            ":host" : "disqus.com",
            ":method" : "POST",
            ":path" : "/profile/signup/",
            ":scheme" : "https",
            ":version" : "HTTP/1.1"
        }
        r = self.http.post(self.signup, data = pdata, headers = signup_headers)
        if r.status_code == 302:
            print "Good signup"
        else:
            print "Bad signup"
        #look for this in r.headers
        #x-user:loginas:None:108281152
    def upvote(self,postid):
        pdata = {
            "post" : postid,
            "vote" : "1",
            "api_key" : "E8Uh5l5fHZ6gD8U3KycjAIAk46f68Zw7C6eW8WSjZvCLXebZ7p0r1yrYDrLilk2F"
        }
        r = self.http.post("http://disqus.com/api/3.0/posts/vote.json",data = pdata)
        print r.content

def rape(stack):
    dis,u,target = stack
    dis.createAccount(u+"@mailinator.com",u,u)
    print u
    print "Upvoting..."
    dis.upvote(target)

if __name__ == "__main__":
    target = "1399861984"
    pool = threadpool.ThreadPool(100)
    queue_arguments = []
    for i in range(0,10):
        dis = Disqus()
        u = gen(10)
        queue_arguments.append([dis,u,target])
    request = threadpool.makeRequests(rape, queue_arguments)
    for req in request:
        pool.putRequest(req)
    pool.wait()


Hello, did you resolve login issue ?
 
I can program you a desktop bot for this in a matter of hours. I can even include a proxy engine that will scrape and test the proxies for you before use.
 
Bozard, can you login diqsus site using httprequest ? or its cannot be ? because i tried it and i get 403 forbidden status.

please reply, i need only login code for http request
 
I could help you in 2 ways: I can either (1) become your Disqus up-votes provider (down-votes, HQ accounts, followers, comments too...) or (2) I could share all my knowledge and tools with you for a certain price. And since it would be nice of me to introduce myself first so you can confirm that I'm a legit and relevant person - feel free to check my username (the same one, elgerente) on Fiverr for an example and there you will see my "Disqus up-votes" gig. If you're interested in any of these 2 alternatives, feel free to send me a private message.

Are you still offering upvotes on Disqus? PM me please
 
Status
Not open for further replies.
Back
Top