GithubHelp home page GithubHelp logo

akasakaid / timefarmtod Goto Github PK

View Code? Open in Web Editor NEW
35.0 2.0 6.0 73 KB

Auto claim for time farm telegram bot

Home Page: https://t.me/TimeFarmCryptoBot?start=aL10AOUuixNmozwN

Python 100.00%
python3 telgram-bot time-farm timefarm

timefarmtod's Introduction

TimeFarmTod

Auto claim for time farm telegram bot

Table of Contens

Features

  • Auto Claim
  • Auto Claim Daily Reward
  • Support Multi Account
  • Auto Complete Task (except telegram task)
  • Using Random Device to initConnection

Warning !

According to Telegram TOS all accounts that sign up or log in using unofficial Telegram API clients are automatically put under observation to avoid violations of the Terms of Service.

So be careful, hopefully your account won't get banned.

Register

Click the following link for register : https://t.me/TimeFarmCryptoBot?start=aL10AOUuixNmozwN

How to Use

Config.json Explanation

key value description
api_id string api_id for telegram client library,
see Get My Own API_ID & API_HASH to get your own
api_hash string api_hash for telegram client library,
see Get My Own API_ID & API_HASH to get your own
auto_upgrade bool (true/false) auto upgrade account to next level
auto_task bool (true/false) auto complete task (except telegram task)
interval integer (second) sleep time every account

Get My Own API_ID & API_HASH

If you want to get your own api_id & api hash, you can goto https://my.telegram.org

Windows

  1. Make sure you computer was installed python and git.

    python site : https://python.org

    git site : https://git-scm.com/

  2. Clone this repository

    git clone https://github.com/akasakaid/timefarmtod.git
  3. goto timefarmtod directory

    cd timefarmtod
    
  4. install the require library

    python -m pip install -r requirements.txt
    
  5. fill the data.txt file with your data, how to get data you can refer to How to Get Data

  6. execute the main program

    python bot.py
    

Linux

  1. Make sure you computer was installed python and git.

    python

    sudo apt install python3 python3-pip

    git

    sudo apt install git
  2. Clone this repository

    git clone https://github.com/akasakaid/timefarmtod.git
  3. goto timefarmtod directory

    cd timefarmtod
  4. Install the require library

    python3 -m pip install -r requirements.txt
    
  5. fill the data.txt file with your data, how to get data you can refer to How to Get Data

  6. execute the main program

    python bot.py
    

Termux

  1. Make sure you termux was installed python and git.

    python

    pkg install python
    

    git

    pkg install git
    
  2. Clone this repository

    git clone https://github.com/akasakaid/timefarmtod.git
  3. goto timefarmtod directory

    cd timefarmtod
    
  4. install the require library

    python -m pip install -r requirements.txt
    
  5. fill the data.txt file with your data, how to get data you can refer to How to Get Data

  6. execute the main program

    python bot.py
    

Discussion

If you have an question or something you can ask in here : @sdsproject_chat

Support

To support me you can buy me a coffee via website in below

Thank you < 3

timefarmtod's People

Contributors

akasakaid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

timefarmtod's Issues

json decode error

Earlier today, I noticed that the script is throwing random errors.
I tried to git pull, but the local repo is already up to day with yours. I tried relaunching it, and it's giving me the same error.
I also tried cloning again, repopulating the data.txt file (I figured maybe the tokens have changed or something) but to no avail.
It seems to me that Time Farm has changed the way their mini app operates, and the response no longer matches what the script expects.

The error I receive is:

Traceback (most recent call last):
  File "/home/user/timefarmtod/lib/python3.12/site-packages/requests/models.py", line 974, in json
    return complexjson.loads(self.text, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/timefarmtod/bot.py", line 324, in <module>
    app.main()
  File "/home/user/timefarmtod/bot.py", line 252, in main
    user_token = self.get_token(data)
                 ^^^^^^^^^^^^^^^^^^^^
  File "/home/user/timefarmtod/bot.py", line 172, in get_token
    if "token" not in res.json().keys():
                      ^^^^^^^^^^
  File "/home/user/timefarmtod/lib/python3.12/site-packages/requests/models.py", line 978, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Your help would be appreciated.

banned

akun telenya kena banned

error

AUTO TAP FOR PRICK BOT

By: t.me/AkasakaID
Github: @AkasakaID

[2024-06-26 14:45:36] account detected : 1

[2024-06-26 14:45:36] account number : 1
[2024-06-26 14:45:37] connect to wss server !
[2024-06-26 14:45:37] login as : *********
[2024-06-26 14:45:37] balance : 94750
[2024-06-26 14:45:37] energy : 5000
[2024-06-26 14:45:37] free refill energy : 3
[2024-06-26 14:45:37] free turbo : 3
[2024-06-26 14:45:37] is block ? False
Traceback (most recent call last):
  File "D:\кликеры\pricktod-main\bot.py", line 221, in <module>
    app.main()
  File "D:\кликеры\pricktod-main\bot.py", line 202, in main
    self.game(id)
  File "D:\кликеры\pricktod-main\bot.py", line 132, in game
    free_turbo, end_turbo = self.active_turbo(id, user_agent)
  File "D:\кликеры\pricktod-main\bot.py", line 66, in active_turbo
    end_free_turbo = res.json()["result"]["turboEndedAt"].replace("Z", "")
KeyError: 'result'

D:\кликеры\pricktod-main>

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.