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.
I have made these changes in my fork and would like to contribute them upstream. There were a couple of issues that made this library unusable in its current state (as you have expected it to break).
nyaa.si
orsukebei.nyaa.si
. This actually makes this library unusable for anything other than searching torrents, as each method fails with a Jsoup exception not being able to find the csrf_token field.This PR adds the following:
isSukebei
in theNyaaSiAuthApiImpl
class and deprecates the old constructor.????
on Nyaa's website after callinguploadTorrent
.Session
. Deprecate the misspelled method.examples
package to show examples with the new changes.build.sbt
file.I have tested all of the methods in the API and everything is working properly with these changes. Feel free to let me know if you have any questions and I look forward to your review.