Commit Graph

8 Commits (c83dd30f4115d98aeb42854eacdc098125bf000f)

Author SHA1 Message Date
Thomas Sileo bd4d5a004a Improve Announce handling 2022-09-13 07:59:35 +02:00
Josh Washburne 0ef2f1f89d Remove surrounding whitespace before processing query
Ran into this issue twice quite by accident with fat-fingering copy/paste on
my phone. If there is any whitespace in front of or trailing after the
lookup query, it returns an "Unexpected error". Stripping the string is the
quick and dirty way to clean it.

I hate modifying the same function argument name in place like that, but it
is valid Python. If you want me to assign it to a separate variable and
replace all the references of "query", let me know.

Thanks!
2022-08-31 08:16:32 +02:00
Thomas Sileo 7c6768266c Improve lookup 2022-08-21 09:52:48 +02:00
Thomas Sileo 4ae198d074 Fix actor lookup 2022-08-15 22:22:15 +02:00
Thomas Sileo 51bfc4bd30 Various tweaks about AP types 2022-08-13 22:37:44 +02:00
Thomas Sileo d371e3cd4f Make most of the HTTP requests async 2022-06-30 00:28:07 +02:00
Thomas Sileo 1f54a6a6ac Switch to aiosqlite 2022-06-29 20:43:17 +02:00
Thomas Sileo d528369954 Initial commit for new v2 2022-06-22 20:11:22 +02:00