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
I tried using cfscrape but returned error 403. Anyone have a fix please just spear. Tks!
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!



![[Image: B37mjKj.png]](https://i.imgur.com/B37mjKj.png)