diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-02 22:47:07 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-02 22:47:07 +0100 |
commit | 772e47ef806d18fd209e910be0535bce7c07dc7b (patch) | |
tree | dc6c2027e6e306da70817be917a7c426dc8fd044 /module/plugins/hoster/FourSharedCom.py | |
parent | [LetitbitNet][Share4webCom][UnibytesCom] https support + use urljoin + update... (diff) | |
download | pyload-772e47ef806d18fd209e910be0535bce7c07dc7b.tar.xz |
Update all other plugins
Diffstat (limited to 'module/plugins/hoster/FourSharedCom.py')
-rw-r--r-- | module/plugins/hoster/FourSharedCom.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/FourSharedCom.py b/module/plugins/hoster/FourSharedCom.py index ad2f1cb8d..fc082f66c 100644 --- a/module/plugins/hoster/FourSharedCom.py +++ b/module/plugins/hoster/FourSharedCom.py @@ -18,12 +18,12 @@ class FourSharedCom(SimpleHoster): ("zoidberg", "zoidberg@mujmail.cz")] - FILE_NAME_PATTERN = r'<meta name="title" content="(?P<N>.+?)"' - FILE_SIZE_PATTERN = r'<span title="Size: (?P<S>[\d.,]+) (?P<U>[\w^_]+)">' + NAME_PATTERN = r'<meta name="title" content="(?P<N>.+?)"' + SIZE_PATTERN = r'<span title="Size: (?P<S>[\d.,]+) (?P<U>[\w^_]+)">' OFFLINE_PATTERN = r'The file link that you requested is not valid\.|This file was deleted.' - FILE_NAME_REPLACEMENTS = [(r"&#(\d+).", lambda m: unichr(int(m.group(1))))] - FILE_SIZE_REPLACEMENTS = [(",", "")] + NAME_REPLACEMENTS = [(r"&#(\d+).", lambda m: unichr(int(m.group(1))))] + SIZE_REPLACEMENTS = [(",", "")] DOWNLOAD_URL_PATTERN = r'name="d3link" value="(.*?)"' DOWNLOAD_BUTTON_PATTERN = r'id="btnLink" href="(.*?)"' |