Active Topics

 



Notices


Reply
Thread Tools
Posts: 159 | Thanked: 217 times | Joined on Oct 2011
#401
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.

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:
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#402
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

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:
Posts: 2 | Thanked: 7 times | Joined on May 2015
#403
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.
 

The Following 2 Users Say Thank You to Librari For This Useful Post:
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#404
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.
 

The Following 3 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 23 | Thanked: 49 times | Joined on May 2011
#405
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()

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:
Reply


 
Forum Jump


All times are GMT. The time now is 19:02.