Giter Site home page Giter Site logo

xerobia-test / gleam-giveaway-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tobiaspankner/gleam-giveaway-bot

0.0 1.0 0.0 200 KB

Python bot to automatically find and complete gleam giveaways.

License: GNU General Public License v3.0

Python 100.00%

gleam-giveaway-bot's Introduction

Gleam-giveaway-bot

GitHub stars

Python bot to automatically find and complete gleam giveaways.

Demo

Warning

Usage of this script is forbidden by the TOS of gleam and will probably get you banned.
DO NOT USE WITH YOUR REAL ACCOUNTS OR EMAIL. They will get spammed with messages and potentially flagged for suspicous activity.
Use at your own risk.

Prerequisites

Authentication and setup

  • Rename the config.json.example file to "config.json"

  • Install the dependencies: pip install -r requirements.txt

  • It is strongly recommended that you create a second Chrome Profile. This will isolate your usual social media accounts and email from the bot. To do this:

    1. Open Chrome and click on Profile in the top right.
    2. Click Add
    3. Choose a name and picture
    4. With the new profile visit: chrome://version/
    5. Copy the Profile Path (On Windows, should be something like "C:\Users\User\AppData\Local\Google\Chrome\User Data\Profile 2" ).
    6. Modify the config.json file. In the "user-data-dir" field enter the path from before up to the "User Data" part with escaped backslashes or forward shlashes (e.g "C:/Users/User/AppData/Local/Google/Chrome/User Data"). In the "profile-directory" enter the profile part of the path (e.g "Profile 2").
  • If you want to complete twitter actions on gleam you have to register for api access here. After the creation of an App, change the permission to "Read and Write". After you completed this, generate the keys and copy them into the config file. Again, do not use your normal twitter account.

  • To sign in with your various account run the login script (python login.py). This will open a browser window. First, click on any visit action like the one below. Next, finish the action and fill in the required details.

    Register
    Then click on the "Enter with x" elements and connect the corresponding account. The more social media accounts you use, the more entries will be able to be completed.

    When you are done connecting your accounts press any button. After this you can choose if you want to login with playr.gg as well. This is not required but gets you a few more giveaways to complete. After choosing yes with "y", the playr.gg website should open. Here you can login or register an account. As with gleam, the more accounts you link (by pressing on giveaways), the more entries will be able to be completed. Available accounts are twitter, mixer, twitch and facebook.

Running the script

After the setup above is completed, start the script (python giveaway_bot.py). Now the bot will fetch urls from "http://gleamlist.com" and from "https://www.reddit.com/r/giveaways/". If you configured playr.gg it will also get giveaways from their site.
Now the program should open link after link and complete the giveaways.

gleam-giveaway-bot's People

Contributors

tobiaspankner avatar

Watchers

James Cloos avatar

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.