-
Notifications
You must be signed in to change notification settings - Fork 0
/
any2feed_config_example.toml
84 lines (71 loc) · 1.48 KB
/
any2feed_config_example.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Verbose level. 0 - errors, 1 - info, 2 - debug, 3 - trace
verbose = 1
# log_file = './log.log'
[server]
port = 12345
threads = 4
[mewe]
# Recomend use https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/ for Firefox
# extension and export cookies from incognito mode
cookies_path = "/path/to/mewe.com_cookies.txt"
limit = 10
pages = 1
[telegram]
# List of channels useful for opml export and override o
channels = [
"oper_goblin",
"dvachannel",
# With config
{ slug = "foo_channel", pages = 2 },
# Only slug
{ slug = "foo_channel" }
]
# For initial sync channel all records
pages = 1
# Add and/or override per channel config
[telegram.extra.channel_name]
# Num page for specific channel
pages = 5
# Maybe empty
[telegram.extra.channel_name_2]
[telegram.extra.channel_name_3]
[booru]
# Global limit
limit = 10
# Global proxy
proxy = "https://host:port"
#
[[booru.site]]
# optional, try autodetection engine from host
engine = "danbooru"
# optional if engine set, use default engine host
url = "https://testbooru.donmai.us"
# Disable proxy
proxy = false
limit = 5
# Optional
order = "id"
# Optioal
rating = "s"
tags = [
"", # no tags, all posts
"foo bar",
"1girl",
{ tag = "1girl", rating = "s", order = "id", limit = 100 }
]
[[booru.danbooru]]
# optional
url = "https://testbooru.donmai.us"
limit = 5
tags = [
"foo bar",
"1girl"
]
[[booru.gelbooru_v02]]
# optional
url = "https://testbooru.donmai.us"
limit = 5
tags = [
"foo bar",
"1girl"
]