This commit is contained in:
Ashley Graves 2024-09-29 07:41:52 +00:00
parent f74381258a
commit e87dfbbc04

View file

@ -11,7 +11,7 @@ async def main():
masto = Mastodon(api_base_url = config["PLEROMA_INSTANCE"], access_token = config["PLEROMA_ACCESS_TOKEN"], feature_set = "pleroma")
try:
posts = await gelbooru.search_posts(tags=["sort:random", "rating:s", "yuri", "sisters"], exclude_tags=["ai_generated"])
posts = await gelbooru.search_posts(tags=["sort:random", "rating:s", "yuri", "sisters"], exclude_tags=["ai_generated", "1boy"])
result = posts[0]
req = Request(url=result.file_url, headers={"User-Agent": "Mozilla/5.0"})