Giter Site home page Giter Site logo

donbot's Introduction

donbot

Make life automatically.

How to install

Python 3.5+ required

git clone https://github.com/fakedon/donbot.git

pip install -r requirements.txt

download geckodriver from https://github.com/mozilla/geckodriver/releases and install

if you want use telegram notification, set telegram config at utils/telegram.cfg, you can find help info at https://github.com/LonamiWebs/Telethon

Install with Docker

  1. Install docker
  2. git clone https://github.com/fakedon/donbot.git
  3. modify the config files under ./cfg/
  4. cd donbot && docker build -t donbot .
  5. docker run -it --shm-size=1024m -p 5910:5901 -p 6910:6901 -e VNC_PW=yourpassword donbot bash

More info about this docker, read https://github.com/ConSol/docker-headless-vnc-container

How to use

python run.py OPTIONS

Options

-t --task empty          if you set this option, this will just run an empty firefox instance

# you can use yes y true t or 1 for YES, and no n false f or 0 for NO.

Ameb
# Run am autoview and eb autoview in one firefox
-c --config default.cfg#2
-b --cron YES or NO      if you use linux cron function to control python run.py OPTIONS, choose YES, Default no
-d --duration INT        time to restart firefox, Default random time between 2 and 4 hours
-w --wait INT            time to check run status, Default 180

Am_emu
# Run am manual view
-c --config default.cfg#1
-d --duration INT        time to restart next time view, default value is random time between 3 and 4 hours
-m --max_click INT       max clicks per time, Default 999, if you set max_click=-1, random int between 30 and 50 will be choosed every time
-e --skip svf            skip which view mod, s for website, v for youtube, f for facebook, if no facebook account info setted in the config, facebook will skipped whether you set f or not
-q --close YES or NO     whether close firefox when this time view finished, Default False
-p --cashout YES or NO   auto request payment or not, Default True

Eb_emu
# Check eb mail
-c --config default.cfg#3
-s --solo YES or NO      whether this task run with other tasks in one firefox, Default True
-b --cron YES or NO      if you use linux cron function to control python run.py OPTIONS, choose YES, Default False
-d --duration INT        time to restart next time view, Defalt 24 hours

Bing
# Get Bing reward
# put the search words under dir mess/bingkeywords, one keyword per line
-c --config default.cfg#5
-q --close YES or NO     whether close firefox when this time view finished, Default False

donbot's People

Contributors

fakedon avatar unicorncross avatar

Watchers

 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.