Skip to main content

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 Ping command

Pings /wp-json/ API endpoint of selected domain

Pings /wp-json/ endpoint “https://arctic.gov.ru” website

$ wparc ping --domain arctic.gov.ru

4.2 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.3 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wparc-1.0.3.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wparc-1.0.3-py2.py3-none-any.whl (25.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file wparc-1.0.3.tar.gz.

File metadata

  • Download URL: wparc-1.0.3.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for wparc-1.0.3.tar.gz
Algorithm Hash digest
SHA256 d3c2cccbb629ad1f0a49db5b216b755c016f2f4d61e975161645b5af2002666e
MD5 5556719efc7e8aa44d6ad0c0c51daabf
BLAKE2b-256 6594fc6e87ca03ac6977c30de7493bd205ed24d390109ce5488ef288337d920a

See more details on using hashes here.

File details

Details for the file wparc-1.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: wparc-1.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for wparc-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 88afb1a523ef7612edfcb4157b16925853c432b6abafa6eeb6fbb8919ae3b0ea
MD5 31e9fcc40b2142258f2e5042e7a95cf1
BLAKE2b-256 a0f9c0d452d8d34bd3769df4b1f7df3527106ce9748b5ebce89a1cb6025486f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page