Added date field support to Jackett #289
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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