summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/SerienjunkiesOrg.py
diff options
context:
space:
mode:
authorGravatar godofdream <soilfiction@gmail.com> 2012-08-06 23:21:04 +0200
committerGravatar godofdream <soilfiction@gmail.com> 2012-08-06 23:21:04 +0200
commite048e22c3377ae19b6a5e2f9a59c4a12c2da7816 (patch)
tree8e5b795d0c3dd05ffe5022ea5fd360fca92cb4b1 /module/plugins/crypter/SerienjunkiesOrg.py
parentAdded DdlStorage-folder support - closed #609, #573 (diff)
downloadpyload-e048e22c3377ae19b6a5e2f9a59c4a12c2da7816.tar.xz
updated Serienjunkies, Shareonline - closed #571, #409
Diffstat (limited to 'module/plugins/crypter/SerienjunkiesOrg.py')
-rw-r--r--module/plugins/crypter/SerienjunkiesOrg.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/crypter/SerienjunkiesOrg.py b/module/plugins/crypter/SerienjunkiesOrg.py
index ebcb5cebc..dfe34ff6e 100644
--- a/module/plugins/crypter/SerienjunkiesOrg.py
+++ b/module/plugins/crypter/SerienjunkiesOrg.py
@@ -11,7 +11,7 @@ class SerienjunkiesOrg(Crypter):
__name__ = "SerienjunkiesOrg"
__type__ = "container"
__pattern__ = r"http://.*?(serienjunkies.org|dokujunkies.org)/.*?"
- __version__ = "0.35"
+ __version__ = "0.36"
__config__ = [
("changeNameSJ", "Packagename;Show;Season;Format;Episode", "Take SJ.org name", "Show"),
("changeNameDJ", "Packagename;Show;Format;Episode", "Take DJ.org name", "Show"),
@@ -157,7 +157,10 @@ class SerienjunkiesOrg(Crypter):
if re.search("#hasName", url) or ((self.getConfig("changeNameSJ") == "Packagename") and (self.getConfig("changeNameDJ") == "Packagename")):
self.core.files.addLinks(links, self.pyfile.package().id)
else:
- eName = h1.text
+ if h1.text[2] == "_":
+ eName = h1.text[3:]
+ else:
+ eName = h1.text
self.packages.append((eName, links, eName))