mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 17:15:29 +00:00
move config.toml example into crate root
This commit is contained in:
parent
ee083dfc45
commit
bc61b5c09c
2 changed files with 1 additions and 1 deletions
30
crates/crawler/config.toml
Normal file
30
crates/crawler/config.toml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Rescan feed channels time, in seconds
|
||||
update = 900
|
||||
|
||||
# Database connection setup
|
||||
# * see crates/mysql/database
|
||||
[mysql]
|
||||
host = "localhost"
|
||||
port = 3306
|
||||
user = ""
|
||||
password = ""
|
||||
database = "rssto"
|
||||
|
||||
# Content sources (unlimited)
|
||||
[[channel]]
|
||||
url = "https://"
|
||||
items_limit = 20
|
||||
persist_item_title = true
|
||||
persist_item_description = true
|
||||
# optional:
|
||||
# content_title_selector = "h1"
|
||||
# content_description_selector = "article"
|
||||
|
||||
[[channel]]
|
||||
url = "https://"
|
||||
items_limit = 20
|
||||
persist_item_title = true
|
||||
persist_item_description = true
|
||||
# optional:
|
||||
# content_title_selector = "h1"
|
||||
# content_description_selector = "article"
|
||||
Loading…
Add table
Add a link
Reference in a new issue