Git Product home page Git Product logo

strawpoll-voting-bot's Introduction

Description

A voting bot written in python 3.x for strawpoll.de. It uses a proxy list to vote multiple times in a survey. It works on Mac, Windows and Linux.

Features

  • Easy to use command line driven program
  • 270 proxies are given from the get-go. More can be easily added
  • The program saves already used proxies in an xml file to enhance the voting speed dramatically

Usage

Usage: Main.py [options]

Options:
  -h, --help            show this help message and exit
  -v VOTES, --votes=VOTES
                        number of votes to give
  -s SURVEY, --survey=SURVEY
                        id of the survey
  -t TARGET, --target=TARGET
                        checkbox to vote for
  -f, --flush           Deletes skipping proxy list

Example

python Main.py -v 10 -s abbcw17 -t check3537987

How to install it ?

Download the zip or clone it with git then install the required library with:

pip install requests

What is pip? I don't understand!

If you don't understand how to install a library also called a "module" in Python please go checkout YouTube: How to download and install Python Packages and Modules with Pip

Proxy timeout?

If a proxy times out it means the server is not reachable anymore. The predefined list given with this repository most likely only has proxies that are not online anymore thus you get many proxy timeouts. To get a new list of proxies just search for proxy lists on the web.

How to add proxies to the list

Download Libre Office open up the LibreOffice writer. Paste on each new line the proxy IP and a port divided by a colon. Example:

149.56.160.23:80
193.108.38.23:80
94.56.130.89:3128

Save the file as an .xml file and replace the https-proxy-list.xml file in the project directory.

How do I get the survey id and the target ?

The survey id is always in the url pointing to your survey for example: https://strawpoll.de/abbcw17 then abbcw17 would be the id. To find the target you have to right click the checkbox you want to vote for, then go to inspect element and search for a value with 'check' at the beginning like check3537987. This is the checkbox id.

strawpoll-voting-bot's People

Contributors

qubasa avatar

Stargazers

 avatar  avatar  avatar  avatar balaji bonageri avatar  avatar  avatar Ravi Shah avatar Luca Preibsch avatar 5l1v3r1 avatar  avatar Binahmad avatar Abdulaziz Alshehri avatar Sunny avatar Ankít Kanœjíya avatar  avatar  avatar  avatar Daniel Meint avatar  avatar  avatar *** avatar Delio Castillo avatar Abhijeet Singh avatar LE avatar Alaa Al Naber avatar  avatar  avatar  avatar Vasile2kappa avatar  avatar  avatar  avatar Johannes Mols avatar R. Groen... avatar tim avatar Paul dypes avatar  avatar

Watchers

James Cloos avatar Michael Hazell avatar  avatar Kali Kimanzi avatar  avatar  avatar  avatar  avatar  avatar

strawpoll-voting-bot's Issues

I don't understand.

I have Python30. Whenever I open the Main.py it closes. I also don't understand what pip install requests is.

Proxy timeout

[2] Skipping proxy: 193.108.38.23:80
[3] Skipping proxy: 94.56.130.89:3128
[4] Skipping proxy: 210.101.131.229:8080
[5] Skipping proxy: 139.59.104.222:8080
[6] Skipping proxy: 125.31.19.26:80
[7] Skipping proxy: 115.249.2.192:8080
[8] Skipping proxy: 1.82.216.134:80
[9] Skipping proxy: 137.74.254.198:3128
[10] Skipping proxy: 58.97.81.11:80
[11] Skipping proxy: 104.153.120.97:80
[12] Skipping proxy: 104.236.61.99:8080
[13] Skipping proxy: 200.29.191.149:3128
[14] Skipping proxy: 94.142.142.140:3128
[15] Skipping proxy: 117.239.114.246:80
[16] Skipping proxy: 111.13.109.27:80
[17] Skipping proxy: 149.56.160.23:3128
[18] Skipping proxy: 94.177.234.167:3128
[19] Skipping proxy: 94.177.234.167:80
[20] New proxy: 94.177.234.167:8080
[] Connecting...
[-] Timeout
()
[21] New proxy: 103.243.141.43:3128
[
] Connecting...
[-] Timeout
()
[22] New proxy: 192.99.58.80:3128
[] Connecting...
[-] Couldn't connect to proxy
()
[23] New proxy: 94.177.227.117:3128
[
] Connecting...
[-] Timeout
()
[24] New proxy: 94.177.251.179:9000
[*] Connecting...
[

Not working with new strawpoll system

I think they just not track the ip, but the device or whatever is that to!

*what i know is: to get double vote working, i need to change my proxy and delete all my history on chrome [browser], then the vote will work, otherwise it'll just wont got any + voter

\Hope You Figure This Out//

Thank You!

xml.parsers.expat.ExpatError: no element found

If I want to use the tool I just get this error message:
Traceback (most recent call last): File "Main.py", line 250, in <module> Main() File "Main.py", line 105, in __init__ xmldoc = minidom.parse(self.proxyListFile) File "/usr/lib/python3.6/xml/dom/minidom.py", line 1958, in parse return expatbuilder.parse(file) File "/usr/lib/python3.6/xml/dom/expatbuilder.py", line 911, in parse result = builder.parseFile(fp) File "/usr/lib/python3.6/xml/dom/expatbuilder.py", line 211, in parseFile parser.Parse("", True) xml.parsers.expat.ExpatError: no element found: line 304, column 0

I use Python 3.6.7 and pip 19.0.3.

I have really no idea what I could do now. Could someone help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.