Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] Advanced Geocaching Tool

    Reply
    Page 41 of 41 | Prev | 31   39     40   41 |
    Kossuth | # 401 | 2015-08-12, 04:47 | Report

    Originally Posted by AapoRantalainen View Post
    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Kossuth; 2015-08-13 at 07:53. Reason: Problem solved by Extras-Devel
    The Following User Says Thank You to Kossuth For This Useful Post:
    Xagoln

     
    AapoRantalainen | # 402 | 2016-08-03, 20:00 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by AapoRantalainen; 2016-08-06 at 18:43. Reason: N9 link added
    The Following 7 Users Say Thank You to AapoRantalainen For This Useful Post:
    Fatalist, MMC, nieldk, peterleinchen, Shadowdog, sponka, Xagoln

     
    Librari | # 403 | 2017-06-26, 11:21 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Librari For This Useful Post:
    peterleinchen, Shadowdog

     
    AapoRantalainen | # 404 | 2017-09-10, 10:42 | Report

    Originally Posted by Librari View Post
    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to AapoRantalainen For This Useful Post:
    Amboss, peterleinchen, Shadowdog

     
    DNA_Splice | # 405 | 2018-03-12, 00:24 | Report

    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()

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by DNA_Splice; 2018-03-12 at 07:36.
    The Following 5 Users Say Thank You to DNA_Splice For This Useful Post:
    Amboss, jayki, MartinK, nieldk, peterleinchen

     
    Page 41 of 41 | Prev | 31   39     40   41 |
vBulletin® Version 3.8.8
Normal Logout