summaryrefslogtreecommitdiffstats
path: root/pyload/api/DownloadPreparingApi.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-18 20:47:50 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-18 20:47:50 +0200
commit876e2de602f22ace3a2fa9a2d56f48e3e807cd6a (patch)
tree1593de5edfdce1ef5e1c8a9162efcc89b3c48cbe /pyload/api/DownloadPreparingApi.py
parentfixed online status fetching (diff)
downloadpyload-876e2de602f22ace3a2fa9a2d56f48e3e807cd6a.tar.xz
small fixes for crypter
Diffstat (limited to 'pyload/api/DownloadPreparingApi.py')
-rw-r--r--pyload/api/DownloadPreparingApi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/api/DownloadPreparingApi.py b/pyload/api/DownloadPreparingApi.py
index d74f0aee2..68c83e97d 100644
--- a/pyload/api/DownloadPreparingApi.py
+++ b/pyload/api/DownloadPreparingApi.py
@@ -42,6 +42,7 @@ class DownloadPreparingApi(ApiComponent):
"""
hoster, crypter = self.core.pluginManager.parseUrls(links)
+ #: TODO: withhold crypter, derypt or add later
# initial result does not contain the crypter links
tmp = [(url, LinkStatus(url, url, pluginname, -1, DS.Queued)) for url, pluginname in hoster + crypter]
data = parseNames(tmp)
@@ -77,7 +78,6 @@ class DownloadPreparingApi(ApiComponent):
page = getURL(url)
urls += [x[0] for x in urlmatcher.findall(page)]
- # remove duplicates
return self.checkLinks(uniqify(urls))
@RequirePerm(Permission.Add)