diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-03 15:47:30 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-03 15:47:30 +0200 |
commit | e86be5d91ddc9836a9e641ff07a439bb33bbc801 (patch) | |
tree | 1ae3c56c526cc0e0779fdd9a14d0c2b916ca39f9 /module/plugins/hoster | |
parent | little fixes (diff) | |
download | pyload-e86be5d91ddc9836a9e641ff07a439bb33bbc801.tar.xz |
netload prefetching fix
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/NetloadIn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py index 9735a430d..07b072a4d 100644 --- a/module/plugins/hoster/NetloadIn.py +++ b/module/plugins/hoster/NetloadIn.py @@ -18,7 +18,7 @@ def getInfo(urls): apiurl = "http://api.netload.in/info.php?auth=Zf9SnQh9WiReEsb18akjvQGqT0I830e8&bz=1&md5=1&file_id=" id_regex = re.compile("http://.*netload\.in/(?:datei(.*?)(?:\.htm|/)|index.php?id=10&file_id=)") urls_per_query = 80 - + for chunk in chunks(urls, urls_per_query): ids = "" for url in chunk: @@ -37,7 +37,7 @@ def getInfo(urls): result = [] - for i, r in enumerate(api.split()): + for i, r in enumerate(api.splitlines()): try: tmp = r.split(";") try: |