summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UploadStationCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/UploadStationCom.py')
-rw-r--r--module/plugins/hoster/UploadStationCom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/UploadStationCom.py b/module/plugins/hoster/UploadStationCom.py
index ede176e1f..d24682e4d 100644
--- a/module/plugins/hoster/UploadStationCom.py
+++ b/module/plugins/hoster/UploadStationCom.py
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
-import re
from module.plugins.hoster.FileserveCom import FileserveCom, checkFile
+from module.plugins.Plugin import chunks
class UploadStationCom(FileserveCom):
__name__ = "UploadStationCom"
__type__ = "hoster"
__pattern__ = r"http://(?:www\.)?uploadstation\.com/file/(?P<id>[A-Za-z0-9]+)"
- __version__ = "0.5"
+ __version__ = "0.51"
__description__ = """UploadStation.Com File Download Hoster"""
__author_name__ = ("fragonib", "zoidberg")
__author_mail__ = ("fragonib[AT]yahoo[DOT]es", "zoidberg@mujmail.cz")
@@ -16,6 +16,6 @@ class UploadStationCom(FileserveCom):
LINKCHECK_TD = r'<div class="(?:col )?col\d">(?:<[^>]*>|&nbsp;)*([^<]*)'
LONG_WAIT_PATTERN = r'<h1>You have to wait (\d+) (\w+) to download the next file\.</h1>'
-
-def getInfo(urls):
- yield checkFile(UploadStationCom, urls) \ No newline at end of file
+
+def getInfo(urls):
+ for chunk in chunks(urls, 100): yield checkFile(UploadStationCom, chunk) \ No newline at end of file