summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/accounts/MegaRapidCz.py (renamed from module/plugins/accounts/ShareRapidCom.py)4
-rw-r--r--module/plugins/crypter/MegaRapidCzFolder.py18
-rw-r--r--module/plugins/crypter/ShareRapidComFolder.py18
-rw-r--r--module/plugins/hoster/MegaRapidCz.py (renamed from module/plugins/hoster/ShareRapidCom.py)6
4 files changed, 23 insertions, 23 deletions
diff --git a/module/plugins/accounts/ShareRapidCom.py b/module/plugins/accounts/MegaRapidCz.py
index 62a0067d5..5b7b41e2b 100644
--- a/module/plugins/accounts/ShareRapidCom.py
+++ b/module/plugins/accounts/MegaRapidCz.py
@@ -6,8 +6,8 @@ from time import mktime, strptime
from module.plugins.Account import Account
-class ShareRapidCom(Account):
- __name__ = "ShareRapidCom"
+class MegaRapidCz(Account):
+ __name__ = "MegaRapidCz"
__type__ = "account"
__version__ = "0.34"
diff --git a/module/plugins/crypter/MegaRapidCzFolder.py b/module/plugins/crypter/MegaRapidCzFolder.py
new file mode 100644
index 000000000..a9d6a2dc6
--- /dev/null
+++ b/module/plugins/crypter/MegaRapidCzFolder.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+
+from module.plugins.internal.SimpleCrypter import SimpleCrypter
+
+
+class MegaRapidCzFolder(SimpleCrypter):
+ __name__ = "MegaRapidCzFolder"
+ __type__ = "crypter"
+ __version__ = "0.02"
+
+ __pattern__ = r'http://(?:www\.)?(share|mega)rapid\.cz/slozka/\d+/\w+'
+
+ __description__ = """Share-Rapid.com folder decrypter plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
+
+
+ LINK_PATTERN = r'<td class="soubor"[^>]*><a href="([^"]+)">'
diff --git a/module/plugins/crypter/ShareRapidComFolder.py b/module/plugins/crypter/ShareRapidComFolder.py
deleted file mode 100644
index 605a63a1f..000000000
--- a/module/plugins/crypter/ShareRapidComFolder.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from module.plugins.internal.SimpleCrypter import SimpleCrypter
-
-
-class ShareRapidComFolder(SimpleCrypter):
- __name__ = "ShareRapidComFolder"
- __type__ = "crypter"
- __version__ = "0.01"
-
- __pattern__ = r'http://(?:www\.)?((share(-?rapid\.(biz|com|cz|info|eu|net|org|pl|sk)|-(central|credit|free|net)\.cz|-ms\.net)|(s-?rapid|rapids)\.(cz|sk))|(e-stahuj|mediatack|premium-rapidshare|rapidshare-premium|qiuck)\.cz|kadzet\.com|stahuj-zdarma\.eu|strelci\.net|universal-share\.com)/(slozka/.+)'
-
- __description__ = """Share-Rapid.com folder decrypter plugin"""
- __license__ = "GPLv3"
- __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
-
-
- LINK_PATTERN = r'<td class="soubor"[^>]*><a href="([^"]+)">'
diff --git a/module/plugins/hoster/ShareRapidCom.py b/module/plugins/hoster/MegaRapidCz.py
index 9b80a9914..d36db5e7c 100644
--- a/module/plugins/hoster/ShareRapidCom.py
+++ b/module/plugins/hoster/MegaRapidCz.py
@@ -15,12 +15,12 @@ def getInfo(urls):
"User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0"])
for url in urls:
html = h.load(url, decode=True)
- file_info = parseFileInfo(ShareRapidCom, url, html)
+ file_info = parseFileInfo(MegaRapidCz, url, html)
yield file_info
-class ShareRapidCom(SimpleHoster):
- __name__ = "ShareRapidCom"
+class MegaRapidCz(SimpleHoster):
+ __name__ = "MegaRapidCz"
__type__ = "hoster"
__version__ = "0.54"