summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/RapidfileshareNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/RapidfileshareNet.py')
-rw-r--r--pyload/plugin/hoster/RapidfileshareNet.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/pyload/plugin/hoster/RapidfileshareNet.py b/pyload/plugin/hoster/RapidfileshareNet.py
new file mode 100644
index 000000000..8252b49e7
--- /dev/null
+++ b/pyload/plugin/hoster/RapidfileshareNet.py
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+
+from pyload.plugin.internal.XFSHoster import XFSHoster
+
+
+class RapidfileshareNet(XFSHoster):
+ __name = "RapidfileshareNet"
+ __type = "hoster"
+ __version = "0.03"
+
+ __pattern = r'http://(?:www\.)?rapidfileshare\.net/\w{12}'
+
+ __description = """Rapidfileshare.net hoster plugin"""
+ __license = "GPLv3"
+ __authors = [("guidobelix", "guidobelix@hotmail.it")]
+
+
+ NAME_PATTERN = r'<input type="hidden" name="fname" value="(?P<N>.+?)">'
+ SIZE_PATTERN = r'>http://www.rapidfileshare.net/\w+?</font> \((?P<S>[\d.,]+) (?P<U>[\w^_]+)\)</font>'
+
+ OFFLINE_PATTERN = r'>No such file with this filename'
+ TEMP_OFFLINE_PATTERN = r'The page may have been renamed, removed or be temporarily unavailable.<'