Magzdb.org Downloader
Project description
Installation
Install using pip
$ pip install -U magzdb
Usage
usage: magzdb [-h] [-V] -i MAGAZINE_ID [-e [EDITION [EDITION ...]]]
[-f FILTER] [-l] [-P DIRECTORY_PREFIX] [--downloader DOWNLOADER]
[--debug]
Magzdb.org Downloader
required arguments:
-i MAGAZINE_ID, --id MAGAZINE_ID
ID of the Magazine to Download. eg. http://magzdb.org/j/<ID>.
optional arguments:
-h, --help show this help message and exit
-V, --version Print program version and exit
-e [EDITION [EDITION ...]], --editions [EDITION [EDITION ...]]
Select Edition
-f FILTER, --filter FILTER
Use filter. See README#Filters
-l, --latest Download only latest edition.
-P DIRECTORY_PREFIX, --directory-prefix DIRECTORY_PREFIX
Download directory.
--downloader DOWNLOADER
Use External downloader (RECOMMENDED). Currently supported: aria2, wget
--debug Print debug information.
--skip-download Don't download files.
Usage Examples
Download all editions
$ magzdb -i 1826
Filters
You can supply filter using -f
, for example to download issues between
4063895
and 4063901
, you can write as
$ magzdb -i 1826 -f "eid > 4063895 and eid < 4063901"
You can use any of eid
, year
, issue
the fields in the filter expression.
More examples of filter expression
eid > 4063895 and eid < 4063901
oreid >= 4063895 and eid <= 4063901
eid >= 4063895
oreid != 4063895
year >= 2018
,year <= 2018
,year == 2018
or evenyear != 2018
year >= 2018 and issue >= 10
Download only latest edition
$ magzdb -i 1826 -l
Download only latest edition with custom location magazine
$ magzdb -i 1826 -l -P magazine
Use external downloader
$ magzdb -i 1826 -l -P magazine --downloader wget
This is recommended since internal downloader does not support resuming interrupted downloads.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
magzdb-1.1.3.tar.gz
(9.9 kB
view hashes)
Built Distribution
Close
Hashes for magzdb-1.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f97228b2b29d04e212dc1ef866efbb32336c9862483aaaa66b2c3ba6f6898d49 |
|
MD5 | 71e9c993203fea8b26f29586f92ab4ff |
|
BLAKE2b-256 | bf74b80edeb6fe3a7f9d18357eadb0dba51b2815659656c9efe2aa26eba33742 |