Giter Club home page Giter Club logo

Comments (4)

golonzovsky avatar golonzovsky commented on June 18, 2024

Hey @deuxnids, great you found this useful!

Usually invalid token gives 401. 403 might mean you are scraping to often. As far as I understand they use this FortiADC WAF, which might trigger rate limiting. I got my IP blocked once when my service was misbehaving - had to switch IP and I think it was 403. But this is just my guess.

Try to log 403 response body (often content type is text/html) or open in browser from affected IP. They usually describe cause better. Let me know if you have more info on that!

(I will try to add Bern as well, once I stabilize current version a bit and automate location mapping fetching)

from vacme-zurich-parser.

golonzovsky avatar golonzovsky commented on June 18, 2024

got few more cases of 403 Forbidden - for me usually means my IP got blocked by their WAF, and I need to rotate to the new one.

Last case for me was when they added filtering to the list, and my code was still trying to scrape noFreieTermine ones. This requests were considered 'suspocious' and my IP got blocked.

Feel free to reopen/comment if you have new info

from vacme-zurich-parser.

golonzovsky avatar golonzovsky commented on June 18, 2024

update: I had recently lots of 401 and 403s with IPs blocked. I ended up adding delay 1s between each request and it improved stability by a lot. 9971a71

I was able to make scraping more often (once per 3 min) now, and still have no issues with being blocked. Hope this helps, cheers

from vacme-zurich-parser.

deuxnids avatar deuxnids commented on June 18, 2024

Thanks @golonzovsky. Let me know If I can help you ( to the best of my ability) for be.vacme.

from vacme-zurich-parser.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.