qbittorrent / search-plugins

Search plugins for the search feature
GNU General Public License v2.0
4.24k stars 474 forks source link

Added date field support to Jackett #289

Open ducalex opened 2 months ago

ducalex commented 2 months ago

This PR is UNTESTED. Unfortunately I'm unable to install Jackett to test (at least right now). I think it should work, but this obviously shouldn't be merged until someone tests it. I'm opening this PR just for completeness' sake, because I said I'd update as many plugins as I can :) .

I went based on Jackett's code because the API they've linked to in their README doesn't really talk about dates.

https://github.com/Jackett/Jackett/blob/eb8c3c3b8cdb1cd4fbb8d43a0af7c6b2b0bd2450/src/Jackett.Common/Models/ResultPage.cs#L45

https://github.com/Jackett/Jackett/blob/2951fcfc42865ea51bf1aaf33f8882c794a6bd70/src/Jackett.Common/Resources/test.xml

xavier2k6 commented 2 months ago

@ngosang Please review this, as it's to do with Jackett

@ducalex Please feel free to continue submitting more PR's for outstanding plugins who don't have the date field & I will be able to test/approve.

xavier2k6 commented 1 month ago

@ducalex Do you plan to create a PR for "date field support" on limetorrents plug-in in the mean time?

ducalex commented 1 month ago

@ducalex Do you plan to create a PR for "date field support" on limetorrents plug-in in the mean time?

I can do it but limetorrents doesn't provide good date. It shows "1 year+" for basically everything.

I thought about writing a new plugin that uses their RSS search instead (https://www.limetorrents.lol/searchrss/ubuntu/) but then we only get 50 results.