Skip to content

Commit

Permalink
feat(dramacool): Add sub type to all episodes (#392)
Browse files Browse the repository at this point in the history
Added Subtitle type to know if the series/movies are Subtitled/Raw/Dubbed
  • Loading branch information
iH7sn0w authored Sep 26, 2023
1 parent 6ca1cc6 commit 52927f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/movies/dramacool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class DramaCool extends MovieParser {
episode: parseFloat(
$(el).find('a').attr('href')?.split('-episode-')[1].split('.html')[0].split('-').join('.')!
),
subType: $(el).find('span.type').text(),
releaseDate: $(el).find('span.time').text(),
url: `${this.baseUrl}${$(el).find('a').attr('href')}`,
});
Expand Down

0 comments on commit 52927f5

Please sign in to comment.