summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-04-30 20:25:20 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-04-30 20:25:20 +0200
commitcff3a4897e312a904a43ca0155dab922c6723d3a (patch)
tree9ef461736225452963eee83fe7ec96628f8dbd13
parentRapidgatorNet: convert unicode to integer (diff)
downloadpyload-cff3a4897e312a904a43ca0155dab922c6723d3a.tar.xz
SerienjunkiesOrg: fail if the link is blocked by the GeoIP
see #93
-rw-r--r--module/plugins/crypter/SerienjunkiesOrg.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/crypter/SerienjunkiesOrg.py b/module/plugins/crypter/SerienjunkiesOrg.py
index 0506d90fb..5d887de02 100644
--- a/module/plugins/crypter/SerienjunkiesOrg.py
+++ b/module/plugins/crypter/SerienjunkiesOrg.py
@@ -30,6 +30,8 @@ class SerienjunkiesOrg(Crypter):
def getSJSrc(self, url):
src = self.req.load(str(url))
+ if "This website is not available in your country" in src:
+ self.fail("Not available in your country")
if not src.find("Enter Serienjunkies") == -1:
sleep(1)
src = self.req.load(str(url))