-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeedbot.ini
185 lines (153 loc) · 6.14 KB
/
feedbot.ini
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
[DEFAULT]
# Log file location
#log =
# Unix domain socket to write messages to
#socket =
# File to write messages to (if socket is unavailable)
#file =
# Directory to store feed state in
#state =
# Minimum number of items expected in each feed
#min_items = 1
# Maximum number of feed items to relay at once
max_items = 5
# Feed URL
#url =
# HTTP User Agent
agent = ArxFeedBot/1.0
# Update interval in minutes
#interval =
# Regular expression to match titles
#title_pattern = .*
# Format to replace matched titles with
#title_format =
# Regular expression to match titles
#link_pattern = .*
# Format to replace matched titles with
#link_format =
# A list of channels to send RSS updates to
channels = #arx
# A list of channels to send errors to
#debug_channels =
[arxnews]
url = https://arx-libertatis.org/feed.rss
interval = 5
title_format = News: \1
link_pattern = https?\:\/\/arx\-libertatis\.org\/(?:(?:news|releases)/(\d[.\-].*)|((?:news|releases)/[^\d].*))
link_format = https://arx.vg/\1\2
[arxsnapshots]
url = https://arx-libertatis.org/files/snapshots/feed.rss
interval = 5
title_format = New development snapshot
link_pattern = https?\:\/\/arx\-libertatis\.org\/files\/snapshots\/arx\-libertatis\-(\d+\.\d+(\.\d+)?\-(rc|dev\-).*)\/
link_format = https://arx.vg/\1
[arxbuildlogs]
url = https://arx-libertatis.org/buildlogs/arx/branches/master/feed.rss
interval = 5
title_format = New build logs
link_pattern = https?\:\/\/arx\-libertatis\.org\/(buildlogs\/.*)
link_format = https://arx.vg/\1
[arxbugs]
url = https://bugs.arx-libertatis.org/arx/timeline/show/important/format/rss
interval = 5
link_pattern = https\:\/\/bugs\.arx\-libertatis\.org(?:\:[^\/]*)?\/arx\/issues\/(.*)
link_format = https://arx.vg/\1
[arxreddit]
url = https://old.reddit.com/r/ArxFatalis/.rss
interval = 15
title_format = /r/ArxFatalis: \1
link_pattern = https?\:\/\/(?:[^./]*\.)?reddit\.com\/(?:r/[^/*]*/comments/)?([^/]*)(?:/.*)?
link_format = https://old.reddit.com/comments/\1
[arxgogforum]
url = https://www.gog.com/forum/arx_fatalis
interval = 120
soup = page.find(u'div', {u'class': u'list_row_h'})
title_soup = post.find(u'div', {u'class': u'topic_s'}).a
title_format = GOG: \1
link_soup = post.find(u'div', {u'class': u'topic_s'}).a[u'href']
link_format = \1
published_soup = post.find(u'div', {u'class': u'replies'})
[arxsteamcommunity]
url = https://steamcommunity.com/app/1700/discussions
interval = 120
soup = page(u'div', {u'class': u'forum_topic'})
title_soup = post.find(u'div', {u'class' : u'forum_topic_name'})
title_format = Steam: \1
link_soup = post.a[u'href']
link_format = \1
published_soup = post.find(u'div', {u'class' : u'forum_topic_reply_count'})
[arxsteamgroup]
url = https://steamcommunity.com/groups/Arx_Fatalis/discussions
interval = 1440
soup = page(u'div', {u'class': u'forum_topic'})
title_soup = post.find(u'div', {u'class' : u'forum_topic_name'})
title_format = Steam Group: \1
link_soup = post.a[u'href']
link_format = \1
published_soup = post.find(u'div', {u'class' : u'forum_topic_reply_count'})
[arxsteamgroupnews]
url = https://steamcommunity.com/groups/Arx_Fatalis/rss
interval = 1450
title_format = Steam Group: \1
link_format = \1
[arxttlg]
url = https://www.ttlg.com/forums/external.php?type=RSS2&forumids=76&lastpost=true
interval = 1440
title_format = TTLG Forum: \1
link_format = \1
[arxmoddb]
url = https://www.moddb.com/mods/arx-libertatis
interval = 1440
soup = page.find(u'div', {u'class': u'tablecomments'})(u'div', {u'class': u'row'})
title_soup = post.find(u'span', {u'class': u'heading'}).a
title_format = ModDB: Comment by \1
link_soup = u'https://www.moddb.com/mods/arx-libertatis#' + post[u'id']
link_format = \1
[arxmoddbnews]
url = https://www.moddb.com/mods/arx-libertatis/articles
interval = 1450
soup = [p for p in page.find(u'div', {u'class': [u'first', u'span-300-alt']})(u'div', {u'class': u'content'}) if p(u'h4')]
title_soup = (u'Comment on ' if post.find(u'a', {u'class': u'commenticon'}) and post.find(u'a', {u'class': u'commenticon'}).get_text().split(u' ')[0] != u'0' else u'') + post.find(u'h4').get_text().strip()
title_format = ModDB: \1
link_soup = post.find(u'h4').a[u'href'] + (u'#comments' if post.find(u'a', {u'class': u'commenticon'}) and post.find(u'a', {u'class': u'commenticon'}).get_text().split(u' ')[0] != u'0' else u'')
link_format = \1
published_soup = post.find(u'a', {u'class': u'commenticon'}).get_text().split(u' ')[0] if post.find(u'a', {u'class': u'commenticon'}) else u'0'
[arxmoddbfiles]
url = https://www.moddb.com/mods/arx-libertatis/downloads
interval = 1460
soup = [p for p in page.find(u'div', {u'class': [u'first', u'span-300-alt']})(u'div', {u'class': u'content'}) if p(u'h4') and p.find(u'a', {u'class': u'commenticon'}) and p.find(u'a', {u'class': u'commenticon'}).get_text().split(u' ')[0] != u'0']
title_soup = post.find(u'h4')
title_format = ModDB: Comment on \1
link_soup = post.find(u'h4').a[u'href']
link_format = \1#comments
published_soup = post.find(u'a', {u'class': u'commenticon'}).get_text().split(u' ')[0]
[arxmoddbmods]
url = https://www.moddb.com/games/arx-fatalis/mods
interval = 10080
soup = [p for p in page.find(u'div', {u'class': [u'first',u'span-300-alt']})(u'div', {u'class': u'content'}) if p(u'h4')]
title_soup = post.find(u'h4')
title_format = New on ModDB: \1
link_soup = post.find(u'h4').a[u'href']
link_format = \1
[arxmoddbarxnews]
url = https://www.moddb.com/games/arx-fatalis/articles
interval = 2890
soup = [p for p in page.find(u'div', {u'class': [u'first',u'span-300-alt']})(u'div', {u'class': u'content'}) if p(u'h4') and not '/mods/arx-libertatis/'in p.find(u'h4').a[u'href']]
title_soup = post.find(u'h4')
title_format = ModDB: \1
link_soup = post.find(u'h4').a[u'href']
link_format = \1
[arxmoddbarxfiles]
url = https://www.moddb.com/games/arx-fatalis/downloads
interval = 1470
soup = [p for p in page.find(u'div', {u'class': [u'first',u'span-300-alt']})(u'div', {u'class': u'content'}) if p(u'h4') and not '/mods/arx-libertatis/'in p.find(u'h4').a[u'href']]
title_soup = post.find(u'h4')
title_format = ModDB: \1
link_soup = post.find(u'h4').a[u'href']
link_format = \1
[arxnexus]
url = https://www.nexusmods.com/arxfatalis/rss/newtoday/
interval = 1200
title_format = New on the Nexus: \1
link_format = \1
min_items = 0