summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MovReelCom.py
diff options
context:
space:
mode:
authorGravatar synweap15 <shamdog+github@gmail.com> 2014-12-30 20:21:23 +0100
committerGravatar synweap15 <shamdog+github@gmail.com> 2014-12-30 20:21:23 +0100
commitac9ba34bd5e629ddfbe67dec88ff2e0653e80356 (patch)
treef77bc281bd083145b19e82bf0e5ff34f5cd6f01a /module/plugins/hoster/MovReelCom.py
parent[Oboom] new hoster and account (diff)
parentUpdate some MultiHoster __pattern__ (diff)
downloadpyload-ac9ba34bd5e629ddfbe67dec88ff2e0653e80356.tar.xz
Merge pull request #1 from pyload/stable
Merge
Diffstat (limited to 'module/plugins/hoster/MovReelCom.py')
-rw-r--r--module/plugins/hoster/MovReelCom.py30
1 files changed, 13 insertions, 17 deletions
diff --git a/module/plugins/hoster/MovReelCom.py b/module/plugins/hoster/MovReelCom.py
index 2dedcf13d..9bb63701c 100644
--- a/module/plugins/hoster/MovReelCom.py
+++ b/module/plugins/hoster/MovReelCom.py
@@ -1,27 +1,23 @@
# -*- coding: utf-8 -*-
-#import re
-from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
-#from pycurl import FOLLOWLOCATION, LOW_SPEED_TIME
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
-class MovReelCom(XFileSharingPro):
- __name__ = "MovReelCom"
- __type__ = "hoster"
- __pattern__ = r'http://(?:www\.)?movreel.com/.*'
- __version__ = "1.20"
+class MovReelCom(XFSHoster):
+ __name__ = "MovReelCom"
+ __type__ = "hoster"
+ __version__ = "1.24"
+
+ __pattern__ = r'http://(?:www\.)?movreel\.com/\w{12}'
+
__description__ = """MovReel.com hoster plugin"""
- __author_name__ = "JorisV83"
- __author_mail__ = "jorisv83-pyload@yahoo.com"
+ __license__ = "GPLv3"
+ __authors__ = [("JorisV83", "jorisv83-pyload@yahoo.com")]
+
- HOSTER_NAME = "movreel.com"
+ HOSTER_DOMAIN = "movreel.com"
- #FILE_NAME_PATTERN = r'<b>Filename:</b>(?P<N>.*?)<br>'
- #FILE_SIZE_PATTERN = r'<b>Size:</b>(?P<S>.*?)<br>'
- FILE_INFO_PATTERN = r'<h3>(?P<N>.+?) <small><sup>(?P<S>[\d.]+) (?P<U>..)</sup> </small></h3>'
- FILE_OFFLINE_PATTERN = r'<b>File Not Found</b><br><br>'
- DIRECT_LINK_PATTERN = r'<a href="(http://[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*/.*)">Download Link</a>'
- #OVR_DOWNLOAD_LINK_PATTERN = "var file_link = '(.*)';"
+ LINK_PATTERN = r'<a href="([^"]+)">Download Link'
getInfo = create_getInfo(MovReelCom)