summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/QuickshareCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-05 16:54:20 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-05 16:54:20 +0200
commit93592862b520a862c01f80c019e5c4bc43746c19 (patch)
tree1cb7f4d13308fbdac0d8bb725c0383a6ef3ebe58 /module/plugins/hoster/QuickshareCz.py
parent[SimpleCrypter] Better inline docs + support for offline & temp.offline check (diff)
downloadpyload-93592862b520a862c01f80c019e5c4bc43746c19.tar.xz
[SimpleHoster] Better inline docs + changed "FILE_OFFLINE_PATTERN" to "OFFLINE_PATTERN"
Diffstat (limited to 'module/plugins/hoster/QuickshareCz.py')
-rw-r--r--module/plugins/hoster/QuickshareCz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/QuickshareCz.py b/module/plugins/hoster/QuickshareCz.py
index 46639444e..8909e94c6 100644
--- a/module/plugins/hoster/QuickshareCz.py
+++ b/module/plugins/hoster/QuickshareCz.py
@@ -34,7 +34,7 @@ class QuickshareCz(SimpleHoster):
FILE_NAME_PATTERN = r'<th width="145px">Název:</th>\s*<td style="word-wrap:break-word;">(?P<N>[^<]+)</td>'
FILE_SIZE_PATTERN = r'<th>Velikost:</th>\s*<td>(?P<S>[0-9.]+) (?P<U>[kKMG])i?B</td>'
- FILE_OFFLINE_PATTERN = r'<script type="text/javascript">location.href=\'/chyba\';</script>'
+ OFFLINE_PATTERN = r'<script type="text/javascript">location.href=\'/chyba\';</script>'
def process(self, pyfile):
self.html = self.load(pyfile.url, decode=True)