Arias800 / CloudflareScraper

This is an experimental update of Team Universal's UniversalScrapers' cfscrape.py, which tries to solve a CF challenge with local Python code with as few imports as possible.
MIT License
11 stars 0 forks source link

Update __init__.py #1

Closed doko-desuka closed 5 years ago

doko-desuka commented 5 years ago

Hi, I recommend these changes:

doko-desuka commented 5 years ago

On a personal copy I put a flag-checking step to only do one consecutive attempt of the challenge.

In this alternative version (I don't know who the author is), they set the limit at 3 attempts:
https://github.com/a4k-openproject/script.module.openscrapers/blob/master/lib/openscrapers/modules/cfscrape.py#L77

If the answer is right then it's right, I don't know why CF would ask for another try of the challenge.

Arias800 commented 5 years ago

Done here : https://github.com/Arias800/CloudflareScraper/commit/d5f4bdc8a04bf528d06dfcc987d2de398af1a29b