maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Advanced Geocaching Tool (https://talk.maemo.org/showthread.php?t=48036)

Kossuth 2015-08-12 04:47

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by AapoRantalainen (Post 1469517)
There are now parser v37 in github, and version 0.9.1.4 for maemo/meego:
http://www.cs.helsinki.fi/u/rantalai/agtl
Seems it works.

I seem to be having difficulties installing the maemo version of these to my N900. I get dpkg error that the deb contains "ununderstood" data member data.tar.xz. I suspect that this is because Aapo has newer dpkg in his system than I do, and my dpkg (I'm on CSSU-Thumb) expects to have data.tar.gz as there is normally in Maemo debs.

Is there easy way for me to repackage the deb or is it possible that someone with the necessary tools installed could do it for me. Thanks in advance.

EDIT: Fuggedaboutit. I found out that there is a version in the Extras-Devel that has the right packaging. Got it from there. Now happily cacheing again. Thanks.

AapoRantalainen 2016-08-03 20:00

Re: [Announce] Advanced Geocaching Tool
 
There are now version 0.9.1.6 on extras-devel (for N900). It has timestamp from future, but it is harmless typo (by me).
It mainly fix cache downloading issues.

----
N9 (Harmattan) version on openrepos:
https://openrepos.net/content/aapora...ing-tool-linux

Librari 2017-06-26 11:21

Re: [Announce] Advanced Geocaching Tool
 
Hi

It seem that cache downloading and updating is not working anymore. Maybe there were some update with geocaching.com API?
Does anyone have the same problem? Issue #188 at Github
I hope Aapo would know quick fix for that problem.

And yes, I still use my N9. :)

AapoRantalainen 2017-09-10 10:42

Re: [Announce] Advanced Geocaching Tool
 
Quote:

Originally Posted by Librari (Post 1529681)
Hi

It seem that cache downloading and updating is not working anymore.

Geocaching.com changed and AGTL is not working. Even login is broken now. Not quick fix this time. If somebody write fix I will merge and push new version.

DNA_Splice 2018-03-12 00:24

Re: [Announce] Advanced Geocaching Tool
 
Hi. Is there anyone willing to help revive this app. I tried on my own but I got as far as creating working crawler with native meamo python modules. Its different thing to make your own code and another to make sens of someone's else code. I've been in touch with Daniel Fett but basically he said he is not interested in AGTL anymore. I tihnk he moved onto Raspberry PI. Ive been in touch with Aapo as well sending him whatever i made but the last time i heard from him must have been two months ago. So back to business. Geocaching website moved to use tokens, I guess mostly to simplify process of logging in through Facebook. As I mentioned earlier I've made a working crawler that can access geocaching website past login. So here it is. I hope someone can make a good use of it.

Code:

import urllib2
import urllib
import cookielib
# import re
from lxml import html

USERNAME = "xxxUSERxxx"
PASSWORD = "yyyPASSWDyyy"

LOGIN_URL = "https://www.geocaching.com/account/login?ReturnUrl=%2Fplay%2Fsearch"
URL = "https://www.geocaching.com/seek"

def main():
    cookie = cookielib.CookieJar()
    opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookie))
    respon = opener.open(LOGIN_URL).read()

    tree = html.fromstring(respon)
    authenticity_token = list(set(tree.xpath("//input[@name='__RequestVerificationToken']/@value")))[0]

    print authenticity_token
    # Create payload
    payload = {
        "Username": USERNAME,
        "Password": PASSWORD,
        "__RequestVerificationToken": authenticity_token
    }

    # Perform login
    result = opener.open(LOGIN_URL, urllib.urlencode(payload))

    result.geturl()
    info = result.read()
    print info
if __name__ == '__main__':
    main()



All times are GMT. The time now is 20:41.

vBulletin® Version 3.8.8