/ImgurBot

An automated Imgur.com account manager.

Primary LanguagePython

ImgurBot

ImgurBot allows users to quickly create many imgur.com accounts, store them in a database, and vote on images with them automatically.

Note

This project is no longer being worked on due to imgur voting security.


This project currently has four portions:

  1. updateproxies.py scrapes the web for proxies, and stores them in the database. Grabs roughly 300 HTTPS proxies.
  2. creator.py uses these proxies to create new users with names and passwords randomly generated from the nouns.txt file. it then assigns 3 random proxies to this user, and confirms that at least one of them is up. If not, it removes these proxies and assigns 3 more. Then, a webdriver instance will simulate registering the account. Currently, everything is automated except for the ReCaptcha, which must be completed manually. Once an account has been created successfully, it is stored into the database, along with its associated proxies.
  3. browse.py isn't totally necessary, but the purpose of this script is to simulate a user browsing imgur. It will go through posts, commenting and voting on a few, and eventually it will log off and log in as a different user.
  4. voter.py pulls the accounts from the database, shuffles them, and begins to cycle through them. A webdriver instance will be created with the first working proxy associated with the account. If there isn't a working proxy, the proxies are replaced with new ones from the database. The webdriver will then log in to the account, vote on a particular post, logout, and repeat.

Utilizes the following modules:

  • Requests
  • PyMongo
  • Selenium WebDriver
  • Beautiful Soup

Usage:

$ python updateproxies.py
$ python creator.py num_accounts

$ python browse.py
$ python voter.py url_with_link link_text num_votes up/down

To Do

  • Improve name/password creator. The names aren't realistic enough.