Skip to content

Commit 8a73817

Browse files
committed
fix(pixiv): new ranking thumbnails
fix #62
1 parent 635d76d commit 8a73817

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sites/pixiv/helpers/getIllustId.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export function getIllustId(node: HTMLAnchorElement | HTMLSpanElement): string {
66
if (isLinkToArtworksPage) {
77
if (
88
node.getAttribute('data-gtm-value') ||
9+
!!node.querySelector(':scope > figure, :scope > img[src*="pximg.net/c/480x960"]') || // ranking thumbnails
910
[
1011
'gtm-illust-recommend-node-node',
1112
'gtm-discover-user-recommend-node',

0 commit comments

Comments
 (0)