summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/SolidfilesCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/SolidfilesCom.py')
-rw-r--r--pyload/plugin/hoster/SolidfilesCom.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/pyload/plugin/hoster/SolidfilesCom.py b/pyload/plugin/hoster/SolidfilesCom.py
new file mode 100644
index 000000000..39e5dd010
--- /dev/null
+++ b/pyload/plugin/hoster/SolidfilesCom.py
@@ -0,0 +1,30 @@
+# -*- coding: utf-8 -*-
+#
+# Test links:
+# http://www.solidfiles.com/d/609cdb4b1b
+
+from pyload.plugin.internal.SimpleHoster import SimpleHoster
+
+
+class SolidfilesCom(SimpleHoster):
+ __name = "SolidfilesCom"
+ __type = "hoster"
+ __version = "0.02"
+
+ __pattern = r'http://(?:www\.)?solidfiles\.com\/d/\w+'
+
+ __description = """Solidfiles.com hoster plugin"""
+ __license = "GPLv3"
+ __authors = [("sraedler", "simon.raedler@yahoo.de")]
+
+
+ NAME_PATTERN = r'<h1 title="(?P<N>.+?)"'
+ SIZE_PATTERN = r'<p class="meta">(?P<S>[\d.,]+) (?P<U>[\w_^]+)'
+ OFFLINE_PATTERN = r'<h1>404'
+
+ LINK_FREE_PATTERN = r'id="ddl-text" href="(.+?)"'
+
+
+ def setup(self):
+ self.multiDL = True
+ self.chunkLimit = 1