✨ Read news basis
✨ 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!
This commit is contained in:
@@ -5,9 +5,18 @@ 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"
|
||||
|
Reference in New Issue
Block a user