Skip to content

Commit

Permalink
feat(ViewAsian): add thumbnail to info (#394)
Browse files Browse the repository at this point in the history
* viewAsian: thumbnail

* rename `thumb` -> `banner`
  • Loading branch information
OshekharO authored Oct 1, 2023
1 parent 1a9e5e3 commit ccf729c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/movies/viewAsian.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class ViewAsian extends MovieParser {

mediaInfo.id = realMediaId;
mediaInfo.title = $('.detail-mod h3').text();
mediaInfo.banner = $('.detail-mod > dm-thumb > img').attr('src');
mediaInfo.otherNames = $('.other-name a')
.map((i, el) => $(el).attr('title')!.trim())
.get();
Expand Down

0 comments on commit ccf729c

Please sign in to comment.