| 1 | #! perl | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | package Comics::Plugin::FokkeEnSukke; | ||
| 7 | |||
| 8 | use parent qw(Comics::Fetcher::Single); | ||
| 9 | |||
| 10 | our $VERSION = "1.00"; | ||
| 11 | |||
| 12 | our $name = "Fokke en Sukke"; | ||
| 13 | our $url = "https://www.nrc.nl/fokke-sukke/"; | ||
| 14 | |||
| 15 | # See TODO in Base.pm. | ||
| 16 | |||
| 17 | our $pattern = | ||
| 18 | qr{ <meta \s+ property="og:image" \s+ | ||
| 19 | content=".*/s3(?<url>/static.nrc.nl/images/gn4/stripped/(?<image>.*\.jpg))" | ||
| 20 | }x; | ||
| 21 | |||
| 22 | # Important: Return the package name! | ||
| 23 | __PACKAGE__; |