Giter VIP home page Giter VIP logo

Comments (3)

ilike2burnthing avatar ilike2burnthing commented on June 25, 2024 1

are the only params supported with a JSON response Tracker, cat and query?

Whoops, edited above, it should have been Category[], but yea:

foreach (var t in Request.Query)
{
if (t.Key == "Tracker[]")
{
request.Tracker = t.Value.ToString().Split(',');
}
if (t.Key == "Category[]")
{
request.Category = t.Value.ToString().Split(',').Select(int.Parse).ToArray();
CurrentQuery.Categories = request.Category;
}
if (t.Key == "query")
{
request.Query = t.Value.ToString();
}
}

Were you following the contributing guide for setting up the environment?
https://github.com/Jackett/Jackett/blob/master/CONTRIBUTING.md#contributing-code

from jackett.

ilike2burnthing avatar ilike2burnthing commented on June 25, 2024

The search modes and parameters are for the torznab endpoint, and it returns an XML RSS feed.

Our API can use either:

api/v2.0/indexers/retroflix/results?apikey=API_KEY&query=tt2362006

api/v2.0/indexers/all/results?apikey=API_KEY&Tracker[]=retroflix&Category[]=&Query=tt2362006

It returns JSON and does not support those search modes and parameters.


What issue were you having with Visual Studio?

from jackett.

swannie-eire avatar swannie-eire commented on June 25, 2024

The search modes and parameters are for the torznab endpoint, and it returns an XML RSS feed.

Our API can use either:

api/v2.0/indexers/retroflix/results?apikey=API_KEY&query=tt2362006

api/v2.0/indexers/all/results?apikey=API_KEY&Tracker[]=retroflix&cat=&Query=tt2362006

It returns JSON and does not support those search modes and parameters.

What issue were you having with Visual Studio?

are the only params supported with a JSON response Tracker, cat and query?

cant remember the exacy error as it was last week and i since deleted the windows VM i was working on but basically visual studio gives me an error saying i dont have the correct libraries installed to build/compile the project to get the exe even though i do. been nearly 10 years since i worked with C#/VS and it totally different now so gave up after like half a day searching online in how to fix.

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.