Git Product home page Git Product logo

steamgiftbot's Introduction

Python

Screenshot

image

About

This bot was created to automate the operation of the site SteamGifts

Nothing else is required from you except running the program, because it will do everything for YOU.

What does this program do?

  • Process Automation
  • Stealth/undetectable:shipit:
  • Сonfigurable
  • Likes to sleep when there are few glasses
  • Saving logs after each job

Beginning of work

  1. Download the latest version of the program [releases]
  2. Sign in SteamGifts by Steam
  3. Find PHPSESSID cookie in your browser

Make it exclusively on the site itself

  1. We start the bot and enjoy the work

Run from sources

python -m venv env 
source env/Scripts/activate
pip install -r requirements.txt
python main.py

If there is a suggestion to improve the application, I propose to go here link. Much has been changed, and much will be added.

How to Sharede

steamgiftbot's People

Contributors

palmaluv avatar playez 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

Watchers

 avatar  avatar  avatar  avatar

steamgiftbot's Issues

requirements.txt error (Arch linux)

(env) [avencores@archlinux SteamGiftBot]$ pip install -r requirements.txt
ERROR: Invalid requirement: 'idna=3.2' (from line 3 of requirements.txt)
Hint: = is not a valid operator. Did you mean == ?

(env) [avencores@archlinux SteamGiftBot]$ python -V
Python 3.10.9

ImportError: cannot import name 'Mapping' from 'collections'

I am getting this error with python 3.11 but the readme doesn't specify the python version required.
Looking atthe version seems that PyInquirer uses an old version of prompt_toolkit, that project has a ticket CITGuru/PyInquirer#181 and the whole project seems abandoned

Traceback (most recent call last):
  File "/home/mte90/Desktop/kde/SteamGiftBot/main.py", line 12, in <module>
    import client as clientLog
  File "/home/mte90/Desktop/kde/SteamGiftBot/client.py", line 11, in <module>
    from PyInquirer import ValidationError, Validator, prompt
  File "/home/mte90/Desktop/kde/SteamGiftBot/env/lib/python3.11/site-packages/PyInquirer/__init__.py", line 6, in <module>
    from prompt_toolkit.token import Token
  File "/home/mte90/Desktop/kde/SteamGiftBot/env/lib/python3.11/site-packages/prompt_toolkit/__init__.py", line 16, in <module>
    from .interface import CommandLineInterface
  File "/home/mte90/Desktop/kde/SteamGiftBot/env/lib/python3.11/site-packages/prompt_toolkit/interface.py", line 19, in <module>
    from .application import Application, AbortAction
  File "/home/mte90/Desktop/kde/SteamGiftBot/env/lib/python3.11/site-packages/prompt_toolkit/application.py", line 8, in <module>
    from .key_binding.bindings.basic import load_basic_bindings
  File "/home/mte90/Desktop/kde/SteamGiftBot/env/lib/python3.11/site-packages/prompt_toolkit/key_binding/bindings/basic.py", line 9, in <module>
    from prompt_toolkit.renderer import HeightIsUnknownError
  File "/home/mte90/Desktop/kde/SteamGiftBot/env/lib/python3.11/site-packages/prompt_toolkit/renderer.py", line 11, in <module>
    from prompt_toolkit.styles import Style
  File "/home/mte90/Desktop/kde/SteamGiftBot/env/lib/python3.11/site-packages/prompt_toolkit/styles/__init__.py", line 8, in <module>
    from .from_dict import *
  File "/home/mte90/Desktop/kde/SteamGiftBot/env/lib/python3.11/site-packages/prompt_toolkit/styles/from_dict.py", line 9, in <module>
    from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.11/collections/__init__.py)

main.py does not start

When try to start main.py i see this:

Traceback (most recent call last):
  File "/home/animeshnyk/SteamGifts/SteamGiftBot/main.py", line 12, in <module>
    import _logs as _l
  File "/home/animeshnyk/SteamGifts/SteamGiftBot/_logs.py", line 11, in <module>
    from PyInquirer import ValidationError, Validator, prompt
  File "/home/animeshnyk/SteamGifts/SteamGiftBot/env/lib/python3.10/site-packages/PyInquirer/__init__.py", line 6, in <module>
    from prompt_toolkit.token import Token
  File "/home/animeshnyk/SteamGifts/SteamGiftBot/env/lib/python3.10/site-packages/prompt_toolkit/__init__.py", line 16, in <module>
    from .interface import CommandLineInterface
  File "/home/animeshnyk/SteamGifts/SteamGiftBot/env/lib/python3.10/site-packages/prompt_toolkit/interface.py", line 19, in <module>
    from .application import Application, AbortAction
  File "/home/animeshnyk/SteamGifts/SteamGiftBot/env/lib/python3.10/site-packages/prompt_toolkit/application.py", line 8, in <module>
    from .key_binding.bindings.basic import load_basic_bindings
  File "/home/animeshnyk/SteamGifts/SteamGiftBot/env/lib/python3.10/site-packages/prompt_toolkit/key_binding/bindings/basic.py", line 9, in <module>
    from prompt_toolkit.renderer import HeightIsUnknownError
  File "/home/animeshnyk/SteamGifts/SteamGiftBot/env/lib/python3.10/site-packages/prompt_toolkit/renderer.py", line 11, in <module>
    from prompt_toolkit.styles import Style
  File "/home/animeshnyk/SteamGifts/SteamGiftBot/env/lib/python3.10/site-packages/prompt_toolkit/styles/__init__.py", line 8, in <module>
    from .from_dict import *
  File "/home/animeshnyk/SteamGifts/SteamGiftBot/env/lib/python3.10/site-packages/prompt_toolkit/styles/from_dict.py", line 9, in <module>
    from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

Python version:

python -V
Python 3.10.9

OS: Arch Linux with i3-wm

Wishlish Option Error: Failed to execute script 'main' due to unhandled exception!

Traceback (most recent call last):
File "main.py", line 53, in
File "main.py", line 49, in run
File "method\method.py", line 140, in start
self.getGameContent()
File "method\method.py", line 91, in getGameContent
filtered_url = self.filterURL[self.type] % _page
KeyError: 'Wishlist'
[11924] Failed to execute script 'main' due to unhandled exception!

image

Run without asking anything

First of all you can specify in the readme that ais possible create a config.ini file in the script folder:

[DEFAULT]
cookie = yourcookievalue
log_info = no

The next step is to run the bot without asking everytime what to do, after all there is a config file and it will be possible to put always running.
It can be useful also to run just once and avoid the sleep, in this way I can setup that to run every 12 hours as example.

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.