-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathexample_config.yaml
More file actions
36 lines (30 loc) · 814 Bytes
/
example_config.yaml
File metadata and controls
36 lines (30 loc) · 814 Bytes
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
# TeleGraphite Configuration
# Directory to store posts and media
data_dir: data
# Path to file containing channel usernames
channels_file: channels.txt
# Maximum number of posts to fetch per channel
limit: 10
# Interval between fetches in seconds (for continuous mode)
interval: 3600
# Filters for posts
filters:
# Keywords to filter posts (only fetch posts containing these keywords)
keywords:
- important
- announcement
# Only fetch posts containing media (photos, documents)
media_only: false
# Only fetch posts containing text
text_only: false
# Schedule for fetching posts (for continuous mode)
schedule:
# Days of the week to run the fetcher
days:
- monday
- wednesday
- friday
# Times of day to run the fetcher (HH:MM format)
times:
- "09:00"
- "18:00"