]> git.wh0rd.org Git - tt-rss.git/commitdiff
Support hyphens in GoComics URLs.
authorJustAMacUser <donotreply@example.org>
Tue, 24 Jan 2017 20:06:46 +0000 (15:06 -0500)
committerJustAMacUser <donotreply@example.org>
Tue, 24 Jan 2017 20:06:46 +0000 (15:06 -0500)
plugins/af_comics/init.php

index 38ef82fd9be41268d5efc04605879afc968ab551..31994176e748ecbf2720476f440963f165037d15 100644 (file)
@@ -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');