-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Depop 403 #47
Comments
They've added CloudFlare and you can't access the website without JavaScript enabled anymore. There might be additional protection layer somewhere which I haven't noticed yet. There is also this in the original request headers now: |
Thanks for opening this issue. Apparently the Depop api requires a referer request header now. |
doesnt work |
for me it did yesterday and the day before. Haven't tested today. |
I can indeed reproduce the error you are getting. Looks like sometimes it works and sometimes it is detected by Cloudflare. I am testing different Cloudscraper configs to see if I can bypass the Cloudflare detection that way. |
` async def main():
if name == "main": these headers (headers2) work for the webapi domain, but the main domain doesnt work |
Added cloudscraper browser parameters to potentially solve #47
I added browser parameters for couldscraper and I was able to scrape some profiles without any problems. Could you please checkout https://github.com/Gertje823/Vinted-Scraper/tree/47-depop-403 and let me know if this is also working for you guys? |
Hey @Gertje823 sorry for coming back late. It worked fine with using the "chrome" browser parameters until like a few days ago. Now that also ends up in a lot of 403 requests. Using your browser parameters didn't change anything. |
@Relax594 @mkyrganov @Geo0010 I haven't been able to find a way to use the webAPI for stable scraping. So I made some changes and the script is now using the mobile app API. I scraped some large accounts without any issues. Please check out https://github.com/Gertje823/Vinted-Scraper/tree/47-depop-403 and let me know if it is also stable for you guys so I can push this to the main branch. |
@Gertje823 works perfectly, thank you very much! |
When running the script for Depop users, the request to the Depop api results in an authorization error (403 forbidden). I’ve tried different headers, vpns, and cloudscraper with no luck. Vinted still works without issue. Any advice would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: