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

Searching via Jackett #118

Open
yenesey opened this issue Jan 12, 2023 · 2 comments
Open

Searching via Jackett #118

yenesey opened this issue Jan 12, 2023 · 2 comments

Comments

@yenesey
Copy link

yenesey commented Jan 12, 2023

parser.js

line 248

u = Utils.addUrlComponent(u, 'Category[]=' + (params.movie.number_of_seasons > 0 ? 5000 : 2000) + (params.movie.original_language == 'ja' ? ',5070' : ''))
ruins the search in many cases!

  1. also, need to disable (optionally maybe) all of theese additional params in manual search, because Jacket's instant manual search don't use them by default, and return's more results
   if(!params.clarification){
        u = Utils.addUrlComponent(u,'title='+encodeURIComponent(params.movie.title))
        u = Utils.addUrlComponent(u,'title_original='+encodeURIComponent(params.movie.original_title))
    }

    u = Utils.addUrlComponent(u,'year='+encodeURIComponent(((params.movie.release_date || params.movie.first_air_date || '0000') + '').slice(0,4)))
    u = Utils.addUrlComponent(u,'is_serial='+(params.movie.first_air_date || params.movie.last_air_date ? '2' : params.other ? '0' : '1'))
    u = Utils.addUrlComponent(u,'genres='+encodeURIComponent(genres.join(',')))
    u = Utils.addUrlComponent(u, 'Category[]=' + (params.movie.number_of_seasons > 0 ? 5000 : 2000) + (params.movie.original_language == 'ja' ? ',5070' : ''))

@TopperBG
Copy link
Contributor

Same here !

@yumata
Copy link
Owner

yumata commented Oct 4, 2023

Результатов может меньше, но зато правильных результатов, это было в самом начале, когда в результаты попадал всякий мусор от игр, музыки, книг и так далее.

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

No branches or pull requests

3 participants