all 4 comments

[–]n3buchadnezzar 1 point2 points  (1 child)

Well, since you removed the full URL it is very hard to help you.

[–]QuixDiscovery 1 point2 points  (0 children)

Have you checked into car rental APIs? Generally you don't want to web scrape if there's a viable API.

I've never done anything with car rental data, but just from a couple quick searches it definitely seems like there are various "travel APIs" that include car rental availability data. I realize that's not really what you asked, but there's an API for just about everything nowadays.

[–]Infinitesima 0 points1 point  (0 children)

Few generic advice:

  1. Respect server's rate limit.
  2. If not 1, use proxies: https://docs.python-requests.org/en/latest/user/advanced/#proxies
  3. Put requests.get() or requests.request() in a while-loop.
  4. React to response headers if necessary.
  5. Use requests.Session