Git Product home page Git Product logo

steamgifts-bot's People

Contributors

butilka123 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

desolutionx

steamgifts-bot's Issues

Tests for builds

When creating a build, we need some kind of tests to ensure the code is able to run.

Suggestions are welcome.

Dockerized

Hi butilka123,

i forked your bot to an Dockerized version for private use , with some small changes like cookie check, priority pages and configurable (random) wait amount.
You can take a look if you want.

Your bot is running very well, i really like it ^^.

have a nice day

New Encoded Answer

It looks like the website is now answering in gzip.
grafik

The Code is not able to decode this yet.

Pagination Logic

Scenario:
Bot has finished with the first Page of Games but still has point left.

  • The bot will, in the current state, get the page every 2 minutes and waste request limits
  • There is a need for pagination. If the first page is empty, go to the second page, and so on. Also, a use case where no giveaways are available to enter to prevent errors

Error Handling

The next step is to make the bot run permanently. To insure this, the bot first has to be able to run without crashing.

Some examples that make the bot crash:

  • HTTP Response code is not 200
  • Turning off VPN during "Game entering" phase
  • The file reader can also cause problems

Any suggestions are welcome.

Note: the method how this bot scrapes websites make this a lot harder. If the website is changing stuff, we will have to manually change code to make it work again.

Cookie check

Currently, the bot is not able to check if the cookie is expired. The bot will run in a loop sending requests.

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.