Skip to content

Commit

Permalink
Get correct image for cover for Wattpad
Browse files Browse the repository at this point in the history
  • Loading branch information
dteviot committed Aug 27, 2021
1 parent eddbfeb commit c389574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/js/parsers/WattpadParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,6 @@ class WattpadParser extends Parser{
}

findCoverImageUrl(dom) {
return util.getFirstImgSrc(dom, "div.cover");
return util.getFirstImgSrc(dom, "div.story-cover");
}
}

0 comments on commit c389574

Please sign in to comment.