summaryrefslogtreecommitdiffstats
path: root/module/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/Plugin.py')
-rw-r--r--module/Plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/Plugin.py b/module/Plugin.py
index 8e5bbcfe8..3285ae8dd 100644
--- a/module/Plugin.py
+++ b/module/Plugin.py
@@ -84,7 +84,8 @@ class Plugin():
"""
if re.search(r"(?!http://).*\.(dlc|ccf|rsdf|txt)", self.parent.url):
return exists(self.parent.url)
- elif re.search(r"Not Found", self.parent.url):
+ header = self.req.load(self.parent.url, just_header=True)
+ if re.search(r"HTTP/1.1 404 Not Found", header):
return False
return True