Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seanghay/wpget

⚡️wpget - A tool for downloading all posts from a WordPress website via public JSON API
https://github.com/seanghay/wpget

crawler wordpress wp-json

Last synced: about 2 months ago
JSON representation

⚡️wpget - A tool for downloading all posts from a WordPress website via public JSON API

Awesome Lists containing this project

README

        

# wpget

A tool for downloading all posts from a WordPress website via public JSON API

```shell
pip install wpget

wpget -u "https://example.com" -j 8 -o data.jsonl
```

### Options

```
usage: wpget [-h] -u URL [-o OUTPUT] [-w] [-j NPROC] [-r RETRY] [-p PER_PAGE]

Download all posts from a WordPress website via public JSON API.

optional arguments:
-h, --help show this help message and exit
-u URL, --url URL Base URL of the website.
-o OUTPUT, --output OUTPUT
Output JSON file
-w, --overwrite Overwrite existing output file.
-j NPROC, --nproc NPROC
Number of Processes
-r RETRY, --retry RETRY
Max retries
-p PER_PAGE, --per_page PER_PAGE
Per page
```