« blib/lib/Comics/Plugin/GarfieldMinusGarfield.pm
↑ Summary
blib/lib/Comics/Plugin/GirlsWithSlingshots.pm »
| 1 | #! perl | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | package Comics::Plugin::GeekAndPoke; | ||
| 7 | |||
| 8 | use parent qw(Comics::Fetcher::Single); | ||
| 9 | |||
| 10 | our $VERSION = "1.04"; | ||
| 11 | |||
| 12 | our $name = "Geek&Poke"; | ||
| 13 | our $url = "https://geek-and-poke.com/"; | ||
| 14 | our $disabled = 1; # stopped | ||
| 15 | |||
| 16 | our $pattern = | ||
| 17 | qr{ <noscript> | ||
| 18 | <img \s+ | ||
| 19 | src="(?<url>https://images.squarespace-cdn.com/ | ||
| 20 | content/v1/ | ||
| 21 | [-_0-9a-z]+/ | ||
| 22 | [-_0-9a-z]+/ | ||
| 23 | (?<image>[^./]+\.\w+))" | ||
| 24 | }ix; | ||
| 25 | |||
| 26 | # Important: Return the package name! | ||
| 27 | __PACKAGE__; |