mirror of
				https://github.com/KevinMidboe/bulk-downloader-for-reddit.git
				synced 2025-10-29 17:40:15 +00:00 
			
		
		
		
	Bug fix at direct links
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user