summaryrefslogtreecommitdiffstats
path: root/module/network/Request.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/Request.py')
-rwxr-xr-xmodule/network/Request.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index 084c84f95..742111a2a 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -5,6 +5,7 @@
"""
authored by: RaNaN, Spoob
"""
+import os
import base64
import cookielib
from gzip import GzipFile
@@ -204,7 +205,7 @@ class Request:
self.opener.add_handler(handler)
self.downloader.add_handler(handler)
- def download(self, url, file_name, get={}, post={}, ref=True, cookies=False):
+ def download(self, url, file_name, folder="", get={}, post={}, ref=True, cookies=False):
if post:
post = urllib.urlencode(post)