| 1 | #! perl | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | package Comics::Plugin::LittleGamers; | ||
| 7 | |||
| 8 | use parent qw(Comics::Fetcher::Single); | ||
| 9 | |||
| 10 | our $VERSION = "1.02"; | ||
| 11 | |||
| 12 | our $name = "Little Gamers"; | ||
| 13 | our $url = "http://www.little-gamers.com/"; | ||
| 14 | our $pattern = | ||
| 15 | qr{ <meta \s+ | ||
| 16 | property="og:image" \s+ | ||
| 17 | content="(?<url>https?://(?:www\.)?little-gamers.com/comics/ | ||
| 18 | (?<image>.*?\.\w+))" \s* /?> | ||
| 19 | }six; | ||
| 20 | |||
| 21 | # Important: Return the package name! | ||
| 22 | __PACKAGE__; |