AWeirdDev / flights

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

How was you able to generate the flights.proto file #10

Closed moaaztaha closed 2 months ago

moaaztaha commented 2 months ago

Hello, found your repo today and I just want to say really nice work 👍

I've been searching for a while now online but can't find any resource about that, specially generating the .proto files to use.

AWeirdDev commented 2 months ago

Hi there,

In the README, I mentioned that I used protobuf-decoder.netlify.app which comes in handy when decoding this data.

image

I then tried to understand the meaning behind each value (which is "inferring" or "guessing") and they worked!

...and yes, I learned Protobuf just because of this.

Best

moaaztaha commented 2 months ago

Ok thanks