diff --git a/pinterest-downloader.py b/pinterest-downloader.py index 9e895cc..e77a4af 100755 --- a/pinterest-downloader.py +++ b/pinterest-downloader.py @@ -265,7 +265,7 @@ def get_pin_info(pin_id, arg_timestamp_log, url_path, arg_force_update, arg_dir, #, is unwise if program make dir in parent directory. create_dir(arg_dir) write_log( arg_timestamp_log, url_path, None, arg_dir, [image], image['id'], arg_cut, False ) - print('[i] Download Pin id: ' + str(image['id']) + ' into directory: ' + arg_dir) + print('[i] Download Pin id: ' + str(image['id']) + ' into directory: ' + arg_dir.rstrip(os.sep) + os.sep) printProgressBar(0, 1, prefix='[...] Downloading:', suffix='Complete', length=50) download_img(image, arg_dir, arg_force_update, IMG_SESSION, V_SESSION, PIN_SESSION, proxies, arg_cut, arg_el, fs_f_max) printProgressBar(1, 1, prefix='[' + done_tag + '] Downloaded:', suffix='Complete ', length=50)