25 Commits (65f83c75f2b68e87f4603d9b4f22a881d3216853)

Author SHA1 Message Date
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.
3 years ago
taire 00b6811a20 typo in comment 4 years ago
lub 7990d787fc refactor category and image into own functions 4 years ago
lub fed4b15d08 fix scraping 4 years ago
lub 9daf4c851f fix event_type parameter 4 years ago
lub 54a0261cae add some debug output 4 years ago
lub 6e9823df5e add sync timeout
this prevents us spamming the server with sync requests
4 years ago
lub 63e878ae7d randomize scraping interval 4 years ago
lub 586dcf15de refactor main() into single category bot 4 years ago
lub 09b86f2951 add some buffer to our cache 4 years ago
lub 5b37157a49 reverse order in which scraped posts are returned 4 years ago
lub 8dbaab9473 reduce sync timeout 4 years ago
lub 39dedbdc8e filter out double colon
because of call of duty: modern warfare
                       ^
4 years ago
lub 13f48f9d8c dont spam the admin room with all updates 4 years ago
lub 90458f255e cleanup some vars 4 years ago
lub 0bcddaa5dc longer timeouts 4 years ago
lub 57e62ea871 add url cache 4 years ago
lub fd27695db1 add format to fallback message 4 years ago
lub 13efe0e0ac fix <h5> <a> ordering 4 years ago
lub 8d144e83a3 remove url from get_formatted_body 4 years ago
lub 83787bd31b start spamming messages 4 years ago
lub c84d401e07 auto accept invites 4 years ago
lub 7f031eef09 make description in body optional 4 years ago
lub 9c53eab12f add intial config 4 years ago
lub bd8af62765 add initial scraping and message concat 4 years ago