Skip to content

Commit 7829fbf

Browse files
committed
Fix FokkeEnSukke.
1 parent 00b47e3 commit 7829fbf

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

Changes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Revision history for Comics
33
0.00
44

55
Fix Lectrr (yields random cartoon).
6-
Fix SkeletonClaw, PoorlyDrawnLines, PBFComics, JHall.
6+
Fix SkeletonClaw, PoorlyDrawnLines, PBFComics, JHall, FokkeEnSukke.
77

88
1.23 2025-04-02
99

lib/Comics/Plugin/FokkeEnSukke.pm

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@ package Comics::Plugin::FokkeEnSukke;
77

88
use parent qw(Comics::Fetcher::Single);
99

10-
our $VERSION = "1.00";
10+
our $VERSION = "1.01";
1111

1212
our $name = "Fokke en Sukke";
1313
our $url = "https://www.nrc.nl/fokke-sukke/";
1414

1515
# See TODO in Base.pm.
1616

1717
our $pattern =
18-
qr{ <meta \s+ property="og:image" \s+
19-
content=".*/s3(?<url>/static.nrc.nl/images/gn4/stripped/(?<image>.*\.jpg))"
20-
}x;
18+
qr{ <picture \s+ class="dmt-featured-image__picture"> \s*
19+
<source \s+
20+
srcset=".*?
21+
(?<url>https://images.nrc.nl/.*?/
22+
static.nrc.nl/images/gn4/stripped/(?<image>data[-0-9a-f]+\.\w+))
23+
}xs;
2124

2225
# Important: Return the package name!
2326
__PACKAGE__;

0 commit comments

Comments
 (0)