yspcrawler: a command-line tool to backup documents from Yandex.Disk public resources
Project description
wparc is a command line tool used to backup data from Wordpress based websites. It uses /wp-json/ API provided by default Wordpress installation and extracts all data and media files
1 Main features
Data extraction
Download all media files
2 Installation
2.1 Any OS
A universal installation method (that works on Windows, Mac OS X, Linux, …, and always provides the latest version) is to use pip:
# Make sure we have an up-to-date version of pip and setuptools:
$ pip install --upgrade pip setuptools
$ pip install --upgrade wparc
(If pip installation fails for some reason, you can try easy_install wparc as a fallback.)
2.2 Python version
Python version 3.6 or greater is required.
3 Usage
Synopsis:
$ wparc [command] [flags]
See also python -m wparc and wparc [command] --help for help for each command.
4 Commands
4.1 Dump command
Dumps all data routes listed in /wp-json/ API endpoint
Dumps all data from “https://agentura.ru” website
$ wparc dump --domain agentura.ru
4.2 Getfiles command
Downloads all media file listed in “wp_v2_media.jsonl” file that should be dumped using command “dump”
Downloads all media from “dissident.memo.ru” website
$ wparc getfiles --domain dissident.memo.ru
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
File details
Details for the file wparc-1.0.2.tar.gz
.
File metadata
- Download URL: wparc-1.0.2.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53882bcc12aebc2a460c2b46ebec53add910261d209e9ac1733cace8a04cff95 |
|
MD5 | a88da9dd387363d4f3359af2155f5644 |
|
BLAKE2b-256 | a839b505489f4d39049f8f590d87836cb3a71085f94364a91b11e73351a23fe2 |