summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/internal/SimpleHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index bdd84b74b..274d95154 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -117,7 +117,7 @@ def _getDirectLink(self, url):
if not 'location' in header or not header['location']:
return ""
- if header['code'] != 302 or 'content-type' in header and header['content-type'] != "text/plain":
+ if header['code'] != 302 or 'content-type' in header and "text/plain" not in header['content-type']:
return ""
return header['location']
@@ -126,7 +126,7 @@ def _getDirectLink(self, url):
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "0.65"
+ __version__ = "0.66"
__pattern__ = r'^unmatchable$'