Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter for extension #10

Open
fabianski7 opened this issue Jan 4, 2021 · 5 comments
Open

Filter for extension #10

fabianski7 opened this issue Jan 4, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@fabianski7
Copy link
Contributor

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.

@manuelvargastapia
Copy link
Owner

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 manuelvargastapia added the enhancement New feature or request label Jan 15, 2021
@manuelvargastapia
Copy link
Owner

manuelvargastapia commented May 26, 2021

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

@fabianski7
Copy link
Contributor Author

great news!

@AreYouLoco
Copy link

AreYouLoco commented Jul 5, 2021

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

@manuelvargastapia
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants