-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathfeeds.yml
More file actions
39 lines (36 loc) · 1.11 KB
/
feeds.yml
File metadata and controls
39 lines (36 loc) · 1.11 KB
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
auth:
accounts:
- username: "admin"
token: "<%= Html2rss::Web::RuntimeEnv.access_token.to_s.strip.empty? ? 'CHANGE_ME_ADMIN_TOKEN' : Html2rss::Web::RuntimeEnv.access_token %>"
allowed_urls:
- "*" # Full access
- username: "demo"
token: "CHANGE_ME_DEMO_TOKEN"
allowed_urls:
- "https://www.chip.de/testberichte"
- "https://news.ycombinator.com"
- "https://github.com/trending"
- username: "health-check"
token: "CHANGE_ME_HEALTH_CHECK_TOKEN"
allowed_urls: [] # Health check doesn't need URL access
stylesheets:
- href: "/rss.xsl"
media: "all"
type: "text/xsl"
headers:
"User-Agent": "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
feeds:
# your custom feeds go here:
example:
channel:
url: https://github.com/html2rss/html2rss-web/commits/main
title: Latest commits on html2rss-web's main branch.
ttl: 120
selectors:
items:
selector: "li > div"
title:
selector: "h4"
url:
selector: "a"
extractor: "href"