mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-29 16:11:28 +00:00
Merge branch 'more-af-comics' into 'master'
Support hyphens in GoComics URLs. See merge request !44
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user