Giter Club home page Giter Club logo

infinity-scrape's People

Contributors

1p22geo avatar admin-else avatar helloyanis avatar jayhawker6 avatar realmoondancer avatar

Stargazers

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

Watchers

 avatar

infinity-scrape's Issues

Api died with Error Code 403

Issue

When using your scrape.py it says that the api died with the status code 403 (forbidden) but using ybetas version t works.

Steps to replicate:

  1. clone this repo
  2. install all requirements using pip install -r requirements.txt
  3. run scrape.py using python scrape.py

Ratelimits

Current implementation:

except:
# wait an increasing amount of time to get out of rate limit and retry
# first time retry imieadetly, because it might just be a network error
# then keep increasing the retry timer
timeout = 120 * (10 - depth)
print(f"Response not OK, waiting {timeout}s and retrying.")
time.sleep(timeout)
return combine(elem, depth - 1)

Suggested implementation:
Exponential backoff using the backoff library.

How do I use this program?

I'm not good at technical knowledge things, and the installation guide doesn't make any sense. Where do I use the git clone command? It doesn't work in Python.

edit: I've got it working, but I'm still confused.

Issue with scraper.py

when I run scraper.py it says

Connecting to database...
Connected!
Starting, press CTRL+C or close this window to stop
Done...

and sits for a little bit and throws an error and says
<class 'requests.exceptions.JSONDecodeError'>: Expecting value: line 1 column 1 (char 0)
Found 0 new combinations and 0 first ever combinations!

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.