mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 00:57:07 -05:00 
			
		
		
		
	Make exception handling 2.5-compatible (Closes #223)
This commit is contained in:
		@@ -3507,7 +3507,7 @@ class SoundcloudIE(InfoExtractor):
 | 
			
		||||
		if mobj:
 | 
			
		||||
			try:
 | 
			
		||||
				upload_date = datetime.datetime.strptime(mobj.group(1), '%B %d, %Y %H:%M').strftime('%Y%m%d')
 | 
			
		||||
			except Exception as e:
 | 
			
		||||
			except Exception, e:
 | 
			
		||||
				print str(e)
 | 
			
		||||
 | 
			
		||||
		# for soundcloud, a request to a cross domain is required for cookies
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user