(added on request)
I am posting new updates on blog.leoluk.de at the moment. The most recent release at the time of this writing is 0.3.3, the GC.com update bug has been fixed.
Das ist die englische Projektseite. Um zur deutschen Seite zu kommen, hier klicken.
Click here to visit the Sourceforge project page.
PqDL is considered as a flexible yet useful tool which can help to download Pocket Queries that have more than 500 caches from geocaching.com. Pocket Queries that contain more than 500 caches won't be sent per mail. Therefore, you need to do it by hand or with this script.
If you have questions, feel free to contact me per chat:

If you want to see what it does exactly of if the result are not as expected, use
One example usage could look like this:
This will download all PQs except special PQs like the My Finds-PQ. The option
Please don't upload elsewhere! (they are many updates, and I don't really like old versions floating around everywhere).
Please report every bug you find!
If you encounter such a problem, please immediately make a debug output using
04.06.2010
- Version 0.1.0
Sourcecode (for Linux/Mac/etc.)
This tool is written in Python and the source code is available here on the Sourceforge project page under the GPL.
I've built an executable for Windows, if you want to run it on other OS, you can use the source code (you should consider doing this on windows too, it's the best choice because you can always update to the latest trunk).
If you want to run this tool from source, you need Python 2.6 and the Python packets mechanize, beautifulsoup, termcolor und colorama. (if you don't know what pip is, try it out, it's a very elegant way to download Python packages ).
This is how to get the latest stable release from SVN:
If you want to use the latest trunk (including the latest features, but the latest bugs too):
If you want to update the trunk, use
The latest changes in the stable releases are listed here and in the sourceforge release note. If you want to see the latest changes in the trunk, look at the last svn revisions (as example on Trac).
Beta versions
Beta versions are released like stable versions and will appear on the changelog and be compiled for Windows.
Please reporty every bug you find and send me the debug output! (use
Click here to visit the Sourceforge project page.
PqDL is considered as a flexible yet useful tool which can help to download Pocket Queries that have more than 500 caches from geocaching.com. Pocket Queries that contain more than 500 caches won't be sent per mail. Therefore, you need to do it by hand or with this script.
If you have questions, feel free to contact me per chat:
Screenshot

Manual
This is a command-line tool, so it can be used in conjunction with GSAK. You could make it download the files to the temp folder of the GSAK macro "pqloader" which will unzip and import them. When using-j, the PQs that are already downloaded won't be downloaded again, even if they get removed.Usage
The usage of this tool should be self-explanatory. This section only lists a few options, read the command-line options above if you want to see all possibilities!If you want to see what it does exactly of if the result are not as expected, use
-d ! One example usage could look like this:
pqdl.exe -u leoluk -p my_pass
This will download all available PQs and rename them to name_date.zip.This will download all available PQs and rename them to name_date.zip. You can use spaces in the username or password if you put them into quotation marks (many people ask me about this!)pqdl.exe -u "leo luk" -pmy_pass
This will download the PQs called "PQ1" und "PQ2" and rename them to name_date.zip.pqdl.exe -u leoluk -pmy_passPQ1 PQ2
This will download the PQs called "PQ1" und "PQ2" and rename them to name.zip (without date!).pqdl.exe -s -u leoluk -pmy_passPQ1 PQ2
This will download the PQ called "Freiburg" and output debug data.pqdl.exe -s-l-d -u leoluk -pmy_passFreiburg
This will simulate to download the PQ called "Freiburg" and output debug data, but it will skip the real download (useful for testing settings).pqdl.exe -s-l-d -u leoluk -pmy_passFreiburg
This will download all PQs except PQ1 and PQ2.pqdl.exe -u leoluk -pmy_pass#PQ1 #PQ2
pqdl.exe -u leoluk -p my_pass -n
This will download all PQs except special PQs like the My Finds-PQ.pqdl.exe -d -u leoluk -p mein_passwort -n -j -zThis will download all PQs except special PQs like the My Finds-PQ. The option
-j tells the program to not download again files that have already been downloaded. The option -z will unzip the files, delete the containers und rename the unzipped files.Download
The most recent download can be found on the Sourceforge project page.Please don't upload elsewhere! (they are many updates, and I don't really like old versions floating around everywhere).
Please report every bug you find!
Crashes while parsing the site
Many people report me errors while parsing the site (especially "IndexError"), but I couldn't reproduce any of them, and the problems disappear some time later.If you encounter such a problem, please immediately make a debug output using
-d -t --httpmaindebug and send me the output. Thanks.Changelog
04.06.2010
- Version 0.1.0
- initial release
06.06.2010 - Version 0.2.0
- some small output fixes
- completely removed colored output
- fixed problems with special chars in PQ names
- improved versioning and version output
- message about spaces in username or password
- recognition of the My Finds-Pocket Query
- exclude the My Finds-Pocket Query using
-n - remove downloaded files from GC.com using
-r - possibility to download all PQs except some (see examples)
--httpremovedebugextended debug
06.06.2010 - Version 0.2.1
- improved deletion of Pocket Queries by implenting a parser that simulates the client-side javascript code (
--ctlswitch for debugging)
12.06.2010 - Version 0.2.2
- adding journal file that prevents the program from downloading a PQ with the same date again; enable it using
-j, you can change the database filename with--journalfile, reset it with--resetjournal, for read-only access use--usejournal - fixed some help strings and debug output
- code cleanup
- fixed problems with old versions of
mechanize(thanks, Jan!) - adding versions of all used modules to debug output
- improving internal handling of My Finds-PQ
- delays between the requests using
-e("hide mode") - extended debugging of the parser using
--httpmaindebug
12.06.2010 - Version 0.2.3
- fixed some help strings and debug output
- fixing bugs related to the journal file
- unzip the downloaded files with -z (the ZIP files will be removed unless you use --keepzip)
the files will be recognized automatically and renamed (example: Name-of-PQ_1234567_06-12-2010_waypoints.gpx)
12.06.2010 - Version 0.2.4
- improved security, you can now just use
-uwithout-pand you will be asked for your password
18.06.2010 - Version 0.3.0
- sorry, not translated yet (you can look at the cmdline help to see the new features)
- man kann jetzt zusätzlich zum
friendlyname
auch noch den Namen (in Anführungszeichen falls Leerzeichen!), das
Datum der Erzeugung, die Anzahl der Caches oder die ID des Caches als Argumente
angeben bzw. mit # ausschließen. Beispiel: Mit 1000 kann man alle
PQs herunterladen, die genau 1000 Caches enthalten.
- für die
Argumente können jetzt Wildcards verwendet werden, nach dem
UNIX-Standard (* für irgendein Zeichen, ? für ein Zeichen, [...] für
Zeichen in der Klammer oder [!...] um das Zeichen auszuschließen
durch diese Änderungen können jetzt mehrere Argumente als Filter kombiniert werden, mitW* #*x*kann man z.B. alle PQs herunterladen, die mitWbeginnen, aber keine, diexenthalten. - erweiterte Unterstützung für pqloader, mit der
Option
-mkann aus einer Mappings-Datei jeder PQ einen Prefix zuweisen, also die Datenbank wählen; der Name wird dann dem Dateinamen vorangestellt (Trennzeichen kann mit--sepgeändert werden) - der nur in manchen Fällen auftretende
IndexError-Fehler wurde behoben (das Problem waren übrigens noch nicht erzeugte PQs, deshalb verschwindet das Problem nach einer Weile) - mit der
Option
--myfindskann eine My Finds-PQ angefordert werden, falls verfügbar (um diese herunterzuladen, ist warscheinlich ein erneuter Aufruf von PqDL erforderlich, falls die PQ nicht schnell genug erzeugt wird) - das Passwort kann in der Kommandozeile weggelassen werden, wenn dies passiert, wird danach gefragt (versteckte Eingabe!)
- besseres Zurücksetzen der Logdatei
- bessere Verarbeitung der Logdateien
- Bugfix: GC.com update had broken the parser
Sourcecode (for Linux/Mac/etc.)
I've built an executable for Windows, if you want to run it on other OS, you can use the source code (you should consider doing this on windows too, it's the best choice because you can always update to the latest trunk).
If you want to run this tool from source, you need Python 2.6 and the Python packets mechanize, beautifulsoup, termcolor und colorama. (if you don't know what pip is, try it out, it's a very elegant way to download Python packages ).
This is how to get the latest stable release from SVN:
svn co
https://pqdl.svn.sourceforge.net/svnroot/pqdl/tags/pqdl-v0.1 pqdl-v0.1If you want to use the latest trunk (including the latest features, but the latest bugs too):
svn co
https://pqdl.svn.sourceforge.net/svnroot/pqdl/trunk pqdl-trunkIf you want to update the trunk, use
svn up in the directory that contains the source code, and it will update it automatically. If you want to use a newer stable release, you need to check it out again. (svn co
https://...)The latest changes in the stable releases are listed here and in the sourceforge release note. If you want to see the latest changes in the trunk, look at the last svn revisions (as example on Trac).
Beta versions
Beta versions are released like stable versions and will appear on the changelog and be compiled for Windows.Bugs and Feature Requests
If you want to send me bug reports, feature requests, or any other comment, use my contact form or send me a mail (address is written above the contact form).Please reporty every bug you find and send me the debug output! (use
-d)
