Open Augustinio opened 2 years ago
pip install -U cfscrape
Run python --version and paste the output below:
python --version
Python 3.7.12
Run pip show cfscrape and paste the output below:
pip show cfscrape
Name: cfscrape Version: 2.1.1 Summary: A simple Python module to bypass Cloudflare's anti-bot page. See https://github.com/Anorov/cloudflare-scrape for more information. Home-page: https://github.com/Anorov/cloudflare-scrape Author: Anorov Author-email: anorov.vorona@gmail.com License: UNKNOWN Location: /Users/augustinlegalle/.local/share/virtualenvs/rar3-back-C9pCzAtR/lib/python3.7/site-packages Requires: requests Required-by:
scraper = cfscrape.create_scraper( browser={ 'browser': 'chrome', 'platform': 'android', 'desktop': False } ) print(f'{ASSET_BASE_URL}{collection}') print(scraper.get( f'{ASSET_BASE_URL}{collection}' ).content)
(If the problem doesn't involve an exception being raised, leave this blank)
https://api.opensea.io/api/v1/assets/?limit=50&asset_contract_address=0x976A145BcE31266d3Ed460a359330Dd53466db97
https://pastebin.com/S65aJWr0
Same problem..
Me too, plz help.
pip install -U cfscrape
Python version number
Run
python --version
and paste the output below:cfscrape version number
Run
pip show cfscrape
and paste the output below:Code snippet involved with the issue
Complete exception and traceback
(If the problem doesn't involve an exception being raised, leave this blank)
URL of the Cloudflare-protected page
https://api.opensea.io/api/v1/assets/?limit=50&asset_contract_address=0x976A145BcE31266d3Ed460a359330Dd53466db97
URL of Pastebin/Gist with HTML source of protected page
https://pastebin.com/S65aJWr0