✨ Able to read wordpress site
btw the 10 yrs ago package still work properly, amazing...
means the wordpress api did not change a lot and the golang backward
compability is amazing!
23 lines
373 B
TOML
23 lines
373 B
TOML
id = "reader01"
|
|
|
|
bind = "0.0.0.0:8008"
|
|
grpc_bind = "0.0.0.0:7008"
|
|
|
|
nexus_addr = "localhost:7001"
|
|
|
|
[[sources]]
|
|
id = "shadiao"
|
|
label = "Shadiao Plus"
|
|
type = "wordpress"
|
|
source = "https://shadiao.plus/wp-json/wp/v2"
|
|
|
|
[debug]
|
|
database = true
|
|
print_routes = false
|
|
|
|
[security]
|
|
internal_public_key = "keys/internal_public_key.pem"
|
|
|
|
[scraper]
|
|
expand_ua = "facebookexternalhit/1.1"
|