libgen_mobile_app icon indicating copy to clipboard operation
libgen_mobile_app copied to clipboard

Filter for extension

Open fabianski7 opened this issue 3 years ago • 5 comments

PDF files are very common in libgen, but they are not good for reading in digital readers like the Kindle.

Displaying only files of a certain extension (or not including them), such as epub or mobi, is ideal for those looking for a book to read on this device.

fabianski7 avatar Jan 04 '21 22:01 fabianski7

Yep. That's a nice feature to have. However, it may take some work to implement filtering overall.

If you check the library I'm using as a base for my API, you'll see that there is no filtering option. You can search in several fields (title, author, even extension IIRC) and sort the results. However, there is no filtering option. Because of this, I haven't implemented filtering yet, but of course, I would like to. I'll keep this issue open for further discussion and possible solutions.

I'll try to find a workaround when I find some time. Feel free to open a PR here or in the API repo.

manuelvargastapia avatar Jan 05 '21 23:01 manuelvargastapia

In the upcoming version 1.1.0, the Fiction section supports searching by file extension (just like the web version).

manuelvargastapia avatar May 26 '21 17:05 manuelvargastapia

great news!

fabianski7 avatar May 27 '21 13:05 fabianski7

Any info why is it not supported in Sci-Tech section?

AreYouLoco avatar Jul 05 '21 09:07 AreYouLoco

Any info why is it not supported in Sci-Tech section?

As I tried to explain previously, the non-official API I used as the backend for the app doesn't currently allow for that kind of filtering. Indeed, even the official web page only supports it in the Fiction section.

manuelvargastapia avatar Jul 22 '21 00:07 manuelvargastapia