AWeirdDev / flights

Fast, robust Google Flights scraper (API) for Python. (Probably)
https://pypi.org/project/fast-flights
35 stars 9 forks source link

Question - proxy? #6

Closed lkward13 closed 3 months ago

lkward13 commented 3 months ago

Does this use a proxy? I'd like to scrape a lot, but don't want to get banned.

AWeirdDev commented 3 months ago

Hey,

No. But you can set the proxies:

get_flights(..., proxies=proxies)

For reference, https://stackoverflow.com/questions/8287628

I'll change the requests module to primp (for impersonating browser fingerprints) soon.

Cheers, AWeirdDev

lkward13 commented 3 months ago

I'll do that, thank you!

If you ever do any paid contract work, I have a project I'd like to discuss that needs something built very similar to this. hit me up on twitter @lkward13 if you'd be interested!

AWeirdDev commented 3 months ago

You're welcome! Cheers.