summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PromptfileCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-14 13:38:49 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-14 13:38:49 +0200
commit388a2f6478d42e423f1f8442d8539983f3762f22 (patch)
tree2ab7720d32a37b7f9b467865565dbb8ddc7b71b1 /module/plugins/hoster/PromptfileCom.py
parent[ClickAndLoad] Code cosmetics (diff)
downloadpyload-388a2f6478d42e423f1f8442d8539983f3762f22.tar.xz
Improve unit detection in size pattern
Diffstat (limited to 'module/plugins/hoster/PromptfileCom.py')
-rw-r--r--module/plugins/hoster/PromptfileCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/PromptfileCom.py b/module/plugins/hoster/PromptfileCom.py
index 548f510fe..11b7d5857 100644
--- a/module/plugins/hoster/PromptfileCom.py
+++ b/module/plugins/hoster/PromptfileCom.py
@@ -17,7 +17,7 @@ class PromptfileCom(SimpleHoster):
__authors__ = [("igel", "igelkun@myopera.com")]
- FILE_INFO_PATTERN = r'<span style="[^"]*" title="[^"]*">(?P<N>.*?) \((?P<S>[\d.,]+) (?P<U>\w+)\)</span>'
+ FILE_INFO_PATTERN = r'<span style="[^"]*" title="[^"]*">(?P<N>.*?) \((?P<S>[\d.,]+) (?P<U>[\w^_]+)\)</span>'
OFFLINE_PATTERN = r'<span style="[^"]*" title="File Not Found">File Not Found</span>'
CHASH_PATTERN = r'<input type="hidden" name="chash" value="([^"]*)" />'