Magzdb.org Downloader
Project description
Installation
Install using pip
$ pip install 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.
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 < 4063901oreid >= 4063895 and eid <= 4063901eid >= 4063895oreid != 4063895year >= 2018,year <= 2018,year == 2018or evenyear != 2018year >= 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file magzdb-1.1.1.tar.gz.
File metadata
- Download URL: magzdb-1.1.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
073447a06789e221f4254baf57924006c3966d4a18f28eddfea7653479ee1934
|
|
| MD5 |
7a877c73a8444bdc106b929a0faf1a2d
|
|
| BLAKE2b-256 |
6a2dd079c9b76967e75d39fbf0a694b0d4f05953c6d553182ee685859f77ef63
|
File details
Details for the file magzdb-1.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: magzdb-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0567f0fb884774a43655f99548efc08f48c10f98a6bb4d6faf9208f87094ba2
|
|
| MD5 |
cbfae350a8abd32140f3de1b8a87317c
|
|
| BLAKE2b-256 |
309982b5c6a995ef3125735b63481b2e99d97e16b31a478644a22b0c247d9426
|