summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/RarefileNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/RarefileNet.py')
-rw-r--r--pyload/plugins/hoster/RarefileNet.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/pyload/plugins/hoster/RarefileNet.py b/pyload/plugins/hoster/RarefileNet.py
index c59f27d07..cd60ec65e 100644
--- a/pyload/plugins/hoster/RarefileNet.py
+++ b/pyload/plugins/hoster/RarefileNet.py
@@ -2,25 +2,26 @@
import re
-from pyload.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
from pyload.utils import html_unescape
-class RarefileNet(XFSPHoster):
- __name__ = "RarefileNet"
- __type__ = "hoster"
- __version__ = "0.03"
+class RarefileNet(XFSHoster):
+ __name__ = "RarefileNet"
+ __type__ = "hoster"
+ __version__ = "0.06"
__pattern__ = r'http://(?:www\.)?rarefile\.net/\w{12}'
__description__ = """Rarefile.net hoster plugin"""
- __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
- HOSTER_NAME = "rarefile.net"
+ HOSTER_DOMAIN = "rarefile.net"
- FILE_NAME_PATTERN = r'<td><font color="red">(?P<N>.*?)</font></td>'
- FILE_SIZE_PATTERN = r'<td>Size : (?P<S>.+?)&nbsp;'
+ NAME_PATTERN = r'<td><font color="red">(?P<N>.*?)</font></td>'
+ SIZE_PATTERN = r'<td>Size : (?P<S>.+?)&nbsp;'
LINK_PATTERN = r'<a href="(?P<link>[^"]+)">(?P=link)</a>'