33 Commits (master)

Author SHA1 Message Date
lub 3b78b19330 use extra variable instead of post['category'] directly 3 years ago
lub b2c23d0446 fix old_cache check 3 years ago
lub 282b00daca set presence to offline
reduces inaccurate presence traffic
3 years ago
lub 05f9da94c0 optimize cache logic 3 years ago
lub f3ec6c6b73 remove unused import 3 years ago
lub 61981726db fix linter errors 3 years ago
lub ecf32bc114 add support for multiple categories 3 years ago
lub ce4f3401f4 reorder native imports before 3rd party 3 years ago
lub 0130d63551 use hardcoded cache size instead of len(blog)
It seems the blog posts are not rotated strictly chronologically,
so sometimes previously already posted things got posted again.
4 years ago
taire 00b6811a20 typo in comment 5 years ago
lub 7990d787fc refactor category and image into own functions 5 years ago
lub fed4b15d08 fix scraping 5 years ago
lub 9daf4c851f fix event_type parameter 5 years ago
lub 54a0261cae add some debug output 5 years ago
lub 6e9823df5e add sync timeout
this prevents us spamming the server with sync requests
5 years ago
lub 63e878ae7d randomize scraping interval 5 years ago
lub 586dcf15de refactor main() into single category bot 5 years ago
lub 09b86f2951 add some buffer to our cache 5 years ago
lub 5b37157a49 reverse order in which scraped posts are returned 5 years ago
lub 8dbaab9473 reduce sync timeout 5 years ago
lub 39dedbdc8e filter out double colon
because of call of duty: modern warfare
                       ^
5 years ago
lub 13f48f9d8c dont spam the admin room with all updates 5 years ago
lub 90458f255e cleanup some vars 5 years ago
lub 0bcddaa5dc longer timeouts 5 years ago
lub 57e62ea871 add url cache 5 years ago
lub fd27695db1 add format to fallback message 5 years ago
lub 13efe0e0ac fix <h5> <a> ordering 5 years ago
lub 8d144e83a3 remove url from get_formatted_body 5 years ago
lub 83787bd31b start spamming messages 5 years ago
lub c84d401e07 auto accept invites 5 years ago
lub 7f031eef09 make description in body optional 5 years ago
lub 9c53eab12f add intial config 5 years ago
lub bd8af62765 add initial scraping and message concat 5 years ago