Edit: Also get some books on intentional communities and group survival while you’re at it.
Edit2: Sorry just looked at the title didn’t read the text. I mean you could try sorting by category or you could get an online list from a librarian about queer books and then manually download from that list of books.
Edit3: You might also be able to ask for help from the person who made this list: https://openlibrary.org/collections/LGBTQ. Most of the books seem to come from the internet archive which makes it easier for a mass download I believe.
A lot faster than I expected. I mean its good for the fediverse anyways.
Anti Commercial-AI license (CC BY-NC-SA 4.0)