Giter Club home page Giter Club logo

Comments (4)

garfield69 avatar garfield69 commented on May 31, 2024

Question: Is there a way to know for all (or most) indexers if they query generated more results than displayed (for example, multiple pages of results, but Jackett only parses the first one)? If not, how hard would it be to add this?

The current design of Jackett does not allow for that information to be made available. There are multiple enhancement tickets open for adding pagination processing, but most have stalled.
Currently, Jackett aims to retrieve up to 100 results, preferably from the first page of the sites torrent search page. But some site only offer as little as 10 results per page, some 25, others 40.
Jackett avoids performing multiple page fetches, if possible, to try to reach the 100 quota, even with embedded delays between requests.
These days, many sites are hyper sensitive to potential DDoS attacks, and Jackett tries to avoid stressing sites into blocking the users IP address or being labelled a spammer or worse.

The Jackett dashboard search is actually a small part of the Jackett function, its main goal is to provide Torznab responses for *arr apps, which only expect up to 100 results (some reject more), and do not need to fetch every possible result in one request as they provide a full query, so usually get back a smaller number of specific results.
Its only dashboard search users that are vague in their query keyword usage, and this minority are not worth the effort to rewrite Jackett significantly to support your yellow coded suggestion.

I would suggest red for error, green for success and leave it at that.

I'm always open to opinions from the other team members, so don't treat what I've said as the definitive answer set in concrete. ;-)

from jackett.

vonvenera avatar vonvenera commented on May 31, 2024

Thanks for your feedback.

These days, many sites are hyper sensitive to potential DDoS attacks, and Jackett tries to avoid stressing sites into blocking the
users IP address or being labelled a spammer or worse.

Its only dashboard search users that are vague in their query keyword usage, and this minority are not worth the effort to rewrite Jackett significantly to support your yellow coded suggestion.

I would suggest red for error, green for success and leave it at that.

Yea, this makes sense. I wasn't thinking about performing extra requests per tracker for single dashboard search, more in the lines of... if parser, while parsing first page of results, also takes a look at the pagination on the tracker's 1st results page and returns total number of torrents along with actual torrents from first page. I could make use of that, but its not something to add just for a bit of styling on dashboard search page.

from jackett.

ilike2burnthing avatar ilike2burnthing commented on May 31, 2024

Red for error makes sense. I do like 0.5 opacity/grey for 0 results (a quick way to identify them, without being in your face), then just leave those with results as black, rather than making things too colourful.

Make a PR, we can comment more once we can play around with it, get a better idea of how it looks. Thanks.

from jackett.

garfield69 avatar garfield69 commented on May 31, 2024

v0.21.1855

from jackett.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.