kevinabrandon / AboveTustin

ADS-B Twitter Bot. Uses dump1090-mutability to track airplanes and then tweets whenever an airplane flies overhead.
MIT License
72 stars 21 forks source link

Screenshot based on PlaneFinder page #12

Open regis57 opened 7 years ago

regis57 commented 7 years ago

Hello,

Is it possible to study for evolution the screencapture of the planefinder web interface instead of the dump1090? It is maybe even more friendly as often is picture the aircraft/airline when plane is selected along with airport from and to cities. Or it is easy enough to change myself?

-Regis

regis57 commented 6 years ago

I am still keen to have this capability, to publish screenshot of planefinder selected plane in the twitter feed.

kevinabrandon commented 6 years ago

I've had similar requests to get it to work on other dump1090 branches.

The main problem is that I'm not personally running any, and I don't have time to download/test any others.

In order to make the change yourself, you would need to do two things.

  1. Load the page properly. Currently I do that here and here. The first one is where I load the url, and the second you can see I find the reset button and click it, then I find the zoom button and click it four times.

  2. You need to find the specific element that the browser needs to "click" on before the screenshot. You can see I do that here.

Perhaps if you or someone else can find a way to make it work with Planefinder we can put a switch in the config file to allow for either. I would be very happy to accept pull requests for that.

regis57 commented 6 years ago

Until a certain point I am able to relate to the code and the planefinder source page code, going back and forth to the Dump1090 source page code.

I will give myself a try.

(and on another note, I need to learn how to use github to propose my bites)

thank you @kevinabrandon