Closed bartkramer closed 6 years ago
@bartkramer Can you post the JSON result for that query?
PS. Also check if it need capital letters.
Are you using the latest version ?
Thanks, Hari
On 20 Feb 2018, 06:50 +0800, E:V:A notifications@github.com, wrote:
@bartkramer Can you post the JSON result for that query? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Yes I am on the latest version available from pip.
@E3V3A I can't get any results, it just goes straight to the error.
Can you show us a snipped of your full code? Get flights has been having some issues as fr24 page comes up blank
Get airlines should work fine
Thanks, Hari
On 20 Feb 2018, 16:01 +0800, Bart Kramer notifications@github.com, wrote:
Yes I am on the latest version available from pip. @E3V3A I can't get any results, it just goes straight to the error. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
from pyflightdata import FlightData
api=FlightData(email,password)
api.login(email,password)
api.get_flights('kl-klm') //or api.get_airlines()
My account is a gold account, I've also tried not signing in and I get the same error in the end. I don't try both get_flight and get_airlines in one line, but that's the only difference between the two.
I am able to re-produce this - seems to be something in beautifulsoup and it cannot read the table on the page
Will have a fix soon
Thanks, Hari
On 21 Feb 2018, 15:16 +0530, Bart Kramer notifications@github.com, wrote:
from pyflightdata import FlightData api=FlightData(email,password) api.login(email,password) api.get_flights('kl-klm') OR api.get_airlines() My account is a gold account, I've also tried not signing in and I get the same error in the end. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Fix is ready; expect a new release in the next 24 hours or so - am trying to try and get in another known issue with get_flights fixed
Super, thanks!
Fixed and released version 0.5.8 @E3V3A this release also fixes the issue with get flights which was failing earlier
In addition the project is now MIT licenced
Error from get_flights
Error from get_airlines.
On v0.3. Rest of the functions is working well.