mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[cleanup] Misc fixes (see desc)
* [tvver] Fix bug in 6837633a4a - Closes #4054
* [rumble] Fix tests - Closes #3976
* [make] Remove `cat` abuse - Closes #3989
* [make] Revert #3684 - Closes #3814
* [utils] Improve `get_elements_by_class` - Closes #3993
* [utils] Inherit `Namespace` from `types.SimpleNamespace`
* [utils] Use `re.fullmatch` for matching filters
* [jsinterp] Handle quotes in `_separate`
* [make_readme] Allow overshooting last line
Authored by: pukkandan, kwconder, MrRawes, Lesmiscore
			
			
This commit is contained in:
		| @@ -576,7 +576,7 @@ class YoutubeDL: | ||||
|         ) | ||||
|         self._allow_colors = Namespace(**{ | ||||
|             type_: not self.params.get('no_color') and supports_terminal_sequences(stream) | ||||
|             for type_, stream in self._out_files if type_ != 'console' | ||||
|             for type_, stream in self._out_files.items_ if type_ != 'console' | ||||
|         }) | ||||
| 
 | ||||
|         if sys.version_info < (3, 6): | ||||
| @@ -3671,7 +3671,7 @@ class YoutubeDL: | ||||
|             sys.getfilesystemencoding(), | ||||
|             self.get_encoding(), | ||||
|             ', '.join( | ||||
|                 f'{key} {get_encoding(stream)}' for key, stream in self._out_files | ||||
|                 f'{key} {get_encoding(stream)}' for key, stream in self._out_files.items_ | ||||
|                 if stream is not None and key != 'console') | ||||
|         ) | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan