fix output filename template
This commit is contained in:
		
							parent
							
								
									6c1e7aa3f6
								
							
						
					
					
						commit
						6a70cbea0b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -75,7 +75,7 @@ class DelojzaBot:
 | 
			
		|||
        ydl_opts = {
 | 
			
		||||
            'noplaylist': True,
 | 
			
		||||
            'restrictfilenames': True,
 | 
			
		||||
            'outtmpl': os.path.join(self.tmp_dir, datestr(date), '__%(title)s__%(id)s.%(ext)s')  # HOW?
 | 
			
		||||
            'outtmpl': os.path.join(self.tmp_dir, '{}__%(title)s__%(id)s.%(ext)s'.format(datestr(date)))
 | 
			
		||||
        }
 | 
			
		||||
        if extract:
 | 
			
		||||
            ydl_opts['format'] = 'bestaudio'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue