af_comics: nedroid broke their rss feed, might as well plug them into generic comicpress filter

This commit is contained in:
Andrew Dolgov 2018-04-26 11:46:56 +03:00
parent 26a89ab6cb
commit e0dff9134b

3
plugins/af_comics/filters/af_comics_comicpress.php Normal file → Executable file
View file

@ -3,7 +3,7 @@ class Af_Comics_ComicPress extends Af_ComicFilter {
function supported() {
return array("Buni", "Buttersafe", "Happy Jar", "CSection",
"Extra Fabulous Comics");
"Extra Fabulous Comics", "Nedroid");
}
function process(&$article) {
@ -11,6 +11,7 @@ class Af_Comics_ComicPress extends Af_ComicFilter {
strpos($article["guid"], "buttersafe.com") !== FALSE ||
strpos($article["guid"], "extrafabulouscomics.com") !== FALSE ||
strpos($article["guid"], "happyjar.com") !== FALSE ||
strpos($article["guid"], "nedroid.com") !== FALSE ||
strpos($article["guid"], "csectioncomics.com") !== FALSE) {
// lol at people who block clients by user agent