Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Help 

How to scrape an image url protected by cloudFlare using python?

Hi. I do not know English. and what I outlined below is from google translate😖

As the title says, How to scrape an image url protected by cloudFlare using python?

Because my account is not eligible to insert links. So I will put the link here: (replace: * to ://)
http*imageinstant.com/data/images/17696/603689/001.jpg

Code
import cfscrape

target_url = "The link I noted above"
scraper = cfscrape.create_scraper()
f = open(fileName,'wb')
f.write(scraper.get(target_url).content)
f.close()

I tried using cfscrape but returned error 403. Anyone have a fix please just spear. Tks!
This might help you out: https://github.com/VeNoMouS/cloudscraper

[Image: B37mjKj.png]
(Aug 27, 2020 02:43 AM)xHeaven Wrote:  This might help you out: https*github.com/VeNoMouS/cloudscraper

it doesn't work bro. I tried searching more about cloudscraper and saw an article on stackoverflow: https*stackoverflow.com/questions/60838471/bypass-recaptcha-using-cloudscraper-cfscrape-sellenium-in-python
Perhaps there is no hope for a vague guy. Help me!


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Help] by BigDapApr 6, 2023 11:16 PM 0 203 Apr 6, 2023 11:16 PM
Last Post: BigDap
[Help] by rockafelaApr 29, 2021 11:49 AM 0 80 Apr 29, 2021 11:49 AM
Last Post: rockafela
by arxadaerFeb 24, 2020 06:38 PM 5 203 Feb 24, 2020 06:38 PM
Last Post: SIM-3991524