consumet / consumet.ts

Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.
https://consumet.org/extensions/list/
GNU General Public License v3.0
413 stars 226 forks source link

Gogo - Added Genres and Release Date for fetchAnimeList(), Includes test #477

Closed weedeej closed 7 months ago

weedeej commented 7 months ago

What kind of change does this PR introduce? Property Addition

Did you add tests for your changes? Yes

If relevant, did you update the documentation? Yes

Summary As I used the fetchAnimeList I noticed that the data returned is bare minimum and does not include "end-user-appealing" properties. I added releaseDate and genres properties to returned data. The new result for it should be:

{
      id: 'hackgu-returner',
      title: '.Hack//G.U. Returner',
      image: 'https://gogocdn.net/images/anime/5745.jpg',
      url: 'https://gogoanime3.co/category/hackgu-returner',
      genres: [ 'Adventure', 'Drama', 'Game', 'Harem', 'Martial Arts', 'Seinen' ], // Added genres
      releaseDate: 'Released: 2007' // Added release date
}