File down the sharp corners.
22 07 06 - 22:47 getAPLocation_v2.pyIn the version 2 tradition - this one is much easier to use, and works much better than the v1 proof of concept.
Now with improved cookie managment. Just start it as normal, and it will prompt you to login. It saves the cookie in the file "wigle_cookie" in the working directory. Just run it from the same folder each time. You don't need to go through that whole cookie thing now - just start it as normal and it will prompt you to login if it doesn't have the required info.
./getAPLocation_v2.py login
will discard the existing cookie, and prompt you to relogin - if you need to change account for some reason, or the cookie gets corrupted... or expires after 10 years.
./getAPLocation_v2.py 00:12:34:56:78:90
is the standard usage.
Oh, and it's normal for it not to print anything for the password. That's the way unix password prompts work.
Enjoy.
Trackback link: http://gm.stackunderflow.com/blog/pivot/tb.php?tb_id=22