https://github.com/flopp/ocdl.py
Python script for downloading opencaching.de's "saved queries"
https://github.com/flopp/ocdl.py
Last synced: about 1 year ago
JSON representation
Python script for downloading opencaching.de's "saved queries"
- Host: GitHub
- URL: https://github.com/flopp/ocdl.py
- Owner: flopp
- Created: 2012-06-13T22:05:38.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-07-28T11:06:48.000Z (almost 13 years ago)
- Last Synced: 2025-01-22T12:23:35.602Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ocdl.py
=======
Python script for downloading opencaching.de's "saved queries"
Author
------
Flopp
Usage
-----
Usage: ocdl.py [options] [ID...]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-s, --setup create the necessary directories; ask the user for
login credentials
-c CONFIGDIR, --configdir=CONFIGDIR
specify directory for config files (cookies, login
information); default is '~/.ocdl'
-l, --list list available queries, do not download them
-n STYLE, --name=STYLE
select naming style of downloaded queries, STYLE={ ID,
ID+DATE, NAME, NAME+DATE }, default is 'ID'
-d TARETDIR, --dir=TARETDIR
select target directory for downloaded queries;
default is the current directory
-v, --verbose print verbose status messages
ocdl.py logs in to opencaching.de using login credentials which are stored
in '~/.ocdl/config.txt' (the actual directory is configurable using the
'--configdir' command line option).
You can use the command line option '--setup' to create the configuration
directory and to initialize the config file with your login credentials.
Alternatively, you can manually create the configuration directory and
the config file:
Make sure the directory '~/.ocdl/' (or whatever you chose by
'--configdir') exists and contains the file 'config.txt' with the
following two lines:
OCDE_LOGIN='username'
OCDE_PASSWORD='password'
where username and password are your login credentials for opencaching.de
Moreover, ocdl.py stores the login cookie 'cookies.txt' in the selected
config directory for future logins.
License
-------
Licensed under GPL Version 3