mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 06:45:00 +01:00
[cleanup] Deprecate various options (#13821)
Closes #14198, Closes #12909 Authored by: seproDev
This commit is contained in:
parent
98b6b0d339
commit
08d7899683
14 changed files with 83 additions and 487 deletions
|
|
@ -563,7 +563,7 @@ class FFmpegFD(ExternalFD):
|
|||
f'{cookie.name}={cookie.value}; path={cookie.path}; domain={cookie.domain};\r\n'
|
||||
for cookie in cookies)])
|
||||
if fmt.get('http_headers') and is_http:
|
||||
# Trailing \r\n after each HTTP header is important to prevent warning from ffmpeg/avconv:
|
||||
# Trailing \r\n after each HTTP header is important to prevent warning from ffmpeg:
|
||||
# [http @ 00000000003d2fa0] No trailing CRLF found in HTTP header.
|
||||
args.extend(['-headers', ''.join(f'{key}: {val}\r\n' for key, val in fmt['http_headers'].items())])
|
||||
|
||||
|
|
@ -654,10 +654,6 @@ class FFmpegFD(ExternalFD):
|
|||
return retval
|
||||
|
||||
|
||||
class AVconvFD(FFmpegFD):
|
||||
pass
|
||||
|
||||
|
||||
_BY_NAME = {
|
||||
klass.get_basename(): klass
|
||||
for name, klass in globals().items()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue