From: JustAMacUser Date: Tue, 24 Jan 2017 20:06:46 +0000 (-0500) Subject: Support hyphens in GoComics URLs. X-Git-Tag: 17.4~75^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=051737e9316beac3a3fde84bb7e01c0a1938a9b7;p=tt-rss.git Support hyphens in GoComics URLs. --- diff --git a/plugins/af_comics/init.php b/plugins/af_comics/init.php index 38ef82fd..31994176 100644 --- a/plugins/af_comics/init.php +++ b/plugins/af_comics/init.php @@ -79,7 +79,7 @@ class Af_Comics extends Plugin { if ($auth_login || $auth_pass) return $feed_data; - if (preg_match('#^https?://feeds.feedburner.com/uclick/([a-z]+)#', $fetch_url, $comic)) { + if (preg_match('#^https?://feeds.feedburner.com/uclick/([-a-z]+)#', $fetch_url, $comic)) { $site_url = 'http://www.gocomics.com/' . $comic[1]; $article_link = $site_url . date('/Y/m/d');