3 Commits

Author SHA1 Message Date
Ali Parlakci
3a6954c7d3 Update version 2018-08-16 19:55:45 +03:00
Ali Parlakci
9a59da0c5f Update changelog 2018-08-16 19:53:33 +03:00
Ali Parlakci
d56efed1c6 Fix imgur download malfunction caused by headers 2018-08-16 19:51:56 +03:00
3 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,7 @@
# Changes on *master*
## [16/08/2018](https://github.com/aliparlakci/bulk-downloader-for-reddit/tree/d56efed1c6833a66322d9158523b89d0ce57f5de)
- Fix the bug that prevents downloading imgur videos
## [15/08/2018](https://github.com/aliparlakci/bulk-downloader-for-reddit/tree/adccd8f3ba03ad124d58643d78dab287a4123a6f)
- Prints out the title of posts' that are already downloaded

View File

@@ -23,7 +23,7 @@ from src.tools import (GLOBAL, createLogFile, jsonFile, nameCorrector,
__author__ = "Ali Parlakci"
__license__ = "GPL"
__version__ = "1.6.2"
__version__ = "1.6.2.1"
__maintainer__ = "Ali Parlakci"
__email__ = "parlakciali@gmail.com"

View File

@@ -67,7 +67,7 @@ def getFile(fileDir,tempDir,imageURL,indent=0):
opener = urllib.request.build_opener()
opener.addheaders = headers
urllib.request.install_opener(opener)
if not "imgur" in imageURL: urllib.request.install_opener(opener)
if not (os.path.isfile(fileDir)):
for i in range(3):