Skip to content

Commit

Permalink
sources: fix Shimmie image url parsing in details page (fix #3084)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Jan 20, 2024
1 parent b4beef3 commit 30718d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sites/Shimmie/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function parseDetails(src: string): IParsedDetails {
}
return {
tags,
imageUrl: Grabber.regexToConst("url", "<img.+?id=['\"]main_image['\"] src=['\"](?<url>[^']+)['\"][^>]*>", src),
imageUrl: Grabber.regexToConst("url", "<img.+?id=['\"]main_image['\"] src=['\"](?<url>[^'\"]+)['\"][^>]*>", src),
createdAt: Grabber.regexToConst("date", "<time datetime=['\"](?<date>[^'\"]+)['\"]>", src),
};
}
Expand Down

0 comments on commit 30718d5

Please sign in to comment.