mirror of
				https://github.com/KevinMidboe/bulk-downloader-for-reddit.git
				synced 2025-10-29 17:40:15 +00:00 
			
		
		
		
	Print credits in the same line
This commit is contained in:
		@@ -467,7 +467,7 @@ def downloadPost(SUBMISSION):
 | 
			
		||||
 | 
			
		||||
    if SUBMISSION['postType'] in downloaders:
 | 
			
		||||
 | 
			
		||||
        print(SUBMISSION['postType'].upper())
 | 
			
		||||
        print(SUBMISSION['postType'].upper(),end=" ")
 | 
			
		||||
 | 
			
		||||
        if SUBMISSION['postType'] == "imgur":
 | 
			
		||||
            
 | 
			
		||||
@@ -484,11 +484,11 @@ def downloadPost(SUBMISSION):
 | 
			
		||||
                            + " Seconds") 
 | 
			
		||||
 | 
			
		||||
            print(
 | 
			
		||||
                "Client: {} - User: {} - Reset {}".format(
 | 
			
		||||
                "==> Client: {} - User: {} - Reset {}".format(
 | 
			
		||||
                    credit['ClientRemaining'],
 | 
			
		||||
                    credit['UserRemaining'],
 | 
			
		||||
                    USER_RESET
 | 
			
		||||
                )
 | 
			
		||||
                ),end=""
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
            if not (credit['UserRemaining'] == 0 or \
 | 
			
		||||
@@ -509,6 +509,7 @@ def downloadPost(SUBMISSION):
 | 
			
		||||
 | 
			
		||||
                raise ImgurLimitError('{} LIMIT EXCEEDED\n'.format(KEYWORD.upper()))
 | 
			
		||||
 | 
			
		||||
        print()
 | 
			
		||||
        downloaders[SUBMISSION['postType']] (directory,SUBMISSION)
 | 
			
		||||
 | 
			
		||||
    else:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user