summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar t4skforce <t4skforce@t4skforce-m11x.neumair.net> 2014-05-05 14:03:47 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-05-05 14:03:47 +0200
commit25f6462649cc63314e388a0c89c53ecd70ba35e3 (patch)
treea742181954c48bb91b3c8ae70298d77ac9ace142 /module/plugins/hoster
parentNew hoster: VidPlayNet (diff)
downloadpyload-25f6462649cc63314e388a0c89c53ecd70ba35e3.tar.xz
New hoster: EpicShareNet
Merges #603
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/EpicShareNet.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/module/plugins/hoster/EpicShareNet.py b/module/plugins/hoster/EpicShareNet.py
new file mode 100644
index 000000000..65e9cb5c3
--- /dev/null
+++ b/module/plugins/hoster/EpicShareNet.py
@@ -0,0 +1,24 @@
+# -*- coding: utf-8 -*-
+
+# Test links:
+# BigBuckBunny_320x180.mp4 - 61.7 Mb - http://epicshare.net/fch3m2bk6ihp/BigBuckBunny_320x180.mp4.html
+
+from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+
+
+class EpicShareNet(XFileSharingPro):
+ __name__ = "EpicShareNet"
+ __type__ = "hoster"
+ __pattern__ = r'https?://(?:www\.)?epicshare\.net/\w{12}'
+ __version__ = "0.01"
+ __description__ = """EpicShare.net hoster plugin"""
+ __author_name__ = "t4skforce"
+ __author_mail__ = "t4skforce1337[AT]gmail[DOT]com"
+
+ HOSTER_NAME = "epicshare.net"
+
+ FILE_OFFLINE_PATTERN = r'<b>File Not Found</b><br><br>'
+ FILE_NAME_PATTERN = r'<b>Password:</b></div>\s*<h2>(?P<N>[^<]+)</h2>'
+
+
+getInfo = create_getInfo(EpicShareNet)