ThreeGiantNoobs / chegg-scraper

Download Chegg homework-help questions to self-sufficient HTML files
The Unlicense
71 stars 23 forks source link

Bot Flag Error when deployed to heroku #25

Closed JacobChamie closed 2 years ago

JacobChamie commented 2 years ago

code works when running on local computer, however when deployed to heroku or any site: AWS, GCP, pythonanywhere etc... I get bot flagged error even with cookie file.

Jooguuy commented 2 years ago

code works when running on local computer, however when deployed to heroku or any site: AWS, GCP, pythonanywhere etc... I get bot flagged error even with cookie file.

same error too

PrathakGarg commented 2 years ago

Chegg realises that you are sending requests through a datacenter or a suspicious IP so it blocks the request. Try setting up a VPN

arkanalexei commented 2 years ago

Chegg realises that you are sending requests through a datacenter or a suspicious IP so it blocks the request. Try setting up a VPN

Can you elaborate more on how to solve this issue?

JacobChamie commented 2 years ago

Chegg realises that you are sending requests through a datacenter or a suspicious IP so it blocks the request. Try setting up a VPN

Can you elaborate more on how to solve this issue?

I ended up fixing issue using a proxy. First I used proxy to log into chegg account on browser. Then I copied cookies, and used the same proxy when I launched the app on heroku. Ended up working but my proxy provider banned me. To make this work either pay for proxy provider or host it yourself on a raspberry pi

arkanalexei commented 2 years ago

Chegg realises that you are sending requests through a datacenter or a suspicious IP so it blocks the request. Try setting up a VPN

Can you elaborate more on how to solve this issue?

I ended up fixing issue using a proxy. First I used proxy to log into chegg account on browser. Then I copied cookies, and used the same proxy when I launched the app on heroku. Ended up working but my proxy provider banned me. To make this work either pay for proxy provider or host it yourself on a raspberry pi

Dude, can I talk to you personally like on Discord? I have some questions to ask. My discord: makaveli#9576

Jooguuy commented 2 years ago

raspberry

would you talk to me on discord please? PrettyBoyFriend#3438