af_comics: add Powerup Comics and Danby Draws

This commit is contained in:
Andrew Dolgov 2021-12-06 08:14:23 +03:00
parent 6a70f5e92c
commit 57b0413a3a
1 changed files with 4 additions and 1 deletions

View File

@ -3,13 +3,16 @@ class Af_Comics_ComicPress extends Af_ComicFilter {
function supported() { function supported() {
return array("Buni", "Buttersafe", "Happy Jar", "CSection", return array("Buni", "Buttersafe", "Happy Jar", "CSection",
"Extra Fabulous Comics", "Nedroid", "Stonetoss"); "Extra Fabulous Comics", "Nedroid", "Stonetoss",
"Danby Draws", "Powerup Comics");
} }
function process(&$article) { function process(&$article) {
if (strpos($article["guid"], "bunicomic.com") !== false || if (strpos($article["guid"], "bunicomic.com") !== false ||
strpos($article["guid"], "buttersafe.com") !== false || strpos($article["guid"], "buttersafe.com") !== false ||
strpos($article["guid"], "extrafabulouscomics.com") !== false || strpos($article["guid"], "extrafabulouscomics.com") !== false ||
strpos($article["guid"], "danbydraws.com") !== false ||
strpos($article["guid"], "theduckwebcomics.com/Powerup_Comics") !== false ||
strpos($article["guid"], "happyjar.com") !== false || strpos($article["guid"], "happyjar.com") !== false ||
strpos($article["guid"], "nedroid.com") !== false || strpos($article["guid"], "nedroid.com") !== false ||
strpos($article["guid"], "stonetoss.com") !== false || strpos($article["guid"], "stonetoss.com") !== false ||