mirror of
https://github.com/KevinMidboe/bulk-downloader-for-reddit.git
synced 2025-10-29 17:40:15 +00:00
Ignore space at the end of directory
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
# Changes on *master*
|
# Changes on *master*
|
||||||
|
## [28/08/2018](https://github.com/aliparlakci/bulk-downloader-for-reddit/tree/d56efed1c6833a66322d9158523b89d0ce57f5de)
|
||||||
|
- Adjusted algorith used for extracting gfycat links because of gfycat's design change
|
||||||
|
- Ignore space at the end of the given directory
|
||||||
|
|
||||||
## [16/08/2018](https://github.com/aliparlakci/bulk-downloader-for-reddit/tree/d56efed1c6833a66322d9158523b89d0ce57f5de)
|
## [16/08/2018](https://github.com/aliparlakci/bulk-downloader-for-reddit/tree/d56efed1c6833a66322d9158523b89d0ce57f5de)
|
||||||
- Fix the bug that prevents downloading imgur videos
|
- Fix the bug that prevents downloading imgur videos
|
||||||
|
|
||||||
|
|||||||
@@ -655,9 +655,9 @@ def main():
|
|||||||
GLOBAL.arguments = parseArguments()
|
GLOBAL.arguments = parseArguments()
|
||||||
|
|
||||||
if GLOBAL.arguments.directory is not None:
|
if GLOBAL.arguments.directory is not None:
|
||||||
GLOBAL.directory = Path(GLOBAL.arguments.directory)
|
GLOBAL.directory = Path(GLOBAL.arguments.directory.strip())
|
||||||
else:
|
else:
|
||||||
GLOBAL.directory = Path(input("download directory: "))
|
GLOBAL.directory = Path(input("download directory: ").strip())
|
||||||
|
|
||||||
print("\n"," ".join(sys.argv),"\n",noPrint=True)
|
print("\n"," ".join(sys.argv),"\n",noPrint=True)
|
||||||
print(f"Bulk Downloader for Reddit v{__version__}\n",noPrint=True
|
print(f"Bulk Downloader for Reddit v{__version__}\n",noPrint=True
|
||||||
|
|||||||
Reference in New Issue
Block a user