mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	Fix FakeDownloaders
This commit is contained in:
		| @@ -29,7 +29,7 @@ class FakeDownloader(FileDownloader): | ||||
|         self.params = parameters | ||||
|     def to_screen(self, s): | ||||
|         print(s) | ||||
|     def trouble(self, s): | ||||
|     def trouble(self, s, tb=None): | ||||
|         raise Exception(s) | ||||
|     def extract_info(self, url): | ||||
|         self.result.append(url) | ||||
|   | ||||
| @@ -30,7 +30,7 @@ class FakeDownloader(object): | ||||
|         self.params = parameters | ||||
|     def to_screen(self, s): | ||||
|         print(s) | ||||
|     def trouble(self, s): | ||||
|     def trouble(self, s, tb=None): | ||||
|         raise Exception(s) | ||||
|     def download(self, x): | ||||
|         self.result.append(x) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister