1
0
Fork 0
mirror of synced 2024-06-26 10:00:20 +12:00

Bug fix at direct links

This commit is contained in:
Ali Parlakci 2018-07-20 13:33:50 +03:00
parent 2ab16608d5
commit 3e3a2df4d1
3 changed files with 4 additions and 3 deletions

View file

@ -53,8 +53,9 @@ It should redirect to a page which shows your **imgur_client_id** and **imgur_cl
them, there.
## Changelog
### [20/07/2018](https://github.com/aliparlakci/bulk-downloader-for-reddit/tree/e15f33b97ae24167243db64b41d52757dea3caad)
### [20/07/2018](https://github.com/aliparlakci/bulk-downloader-for-reddit/commit/7548a010198fb693841ca03654d2c9bdf5742139)
- "0" input for no limit
- Fixed the bug that recognizes none image direct links as image links
### [19/07/2018](https://github.com/aliparlakci/bulk-downloader-for-reddit/tree/41cbb58db34f500a8a5ecc3ac4375bf6c3b275bb)
- Added v.redd.it support

View file

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

View file

@ -397,7 +397,7 @@ def checkIfMatching(submission):
imgurCount += 1
return details
elif isDirectLink(submission.url) is not None:
elif isDirectLink(submission.url) is not False:
details['postType'] = 'direct'
details['postURL'] = isDirectLink(submission.url)
directCount += 1