diff --git a/download.py b/download.py index e448fa0..003e718 100644 --- a/download.py +++ b/download.py @@ -6,6 +6,8 @@ import progressbar import config savedir = config.Configuration().get_download_location() +if not os.path.exists(savedir): + os.makedirs(savedir) def get_thread_links(baseurl): myparser = htmlparser.MyParser()