Skip to content

Conversation

@SeiyaGame
Copy link

Hi, thanks for this great project :D

To improve it, I've added support for content/v2/discover/browse.
This allows you to retrieve content recently released on the platform

Hoping it will be useful

Copy link

@orbitalflower orbitalflower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing this in current crunpyroll (2.4.1). It works, but:

  • If date is unspecified, it defaults to today's date. It should probably default to not filter by date at all. This is the default in the API, and matches the browse functionality that was in crunpyroll v1. Always filtering to a single day is not very useful when browsing series or movies, where no new series are released on most days.
  • In the API, leaving "type" blank will return series and movies together. This should probably be the default, since it's a common use case and can't otherwise be specified by a single ContentType. (Another possibility is to change the filter paramter to filters and have it take a List for consistency with the search method parameters, although as far as I can tell the only valid multiple-entry parameter would be the series+movies combination. which would in reality be sent as a blank or empty parameter)
  • The .gitignore additions are probably unnecessary.

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

Successfully merging this pull request may close these issues.

2 participants