mirror of
https://git.vectorsigma.ru/public/yt-dlp.git
synced 2026-08-03 16:18:04 +00:00
[ie/vimeo] Remove ios and macos clients (#17290)
Closes #17271, Closes #17286 Authored by: bashonly
This commit is contained in:
@@ -1975,7 +1975,7 @@ The following extractors use this feature:
|
|||||||
* `backend`: Backend API to use for extraction - one of `streaks` (default) or `brightcove` (deprecated)
|
* `backend`: Backend API to use for extraction - one of `streaks` (default) or `brightcove` (deprecated)
|
||||||
|
|
||||||
#### vimeo
|
#### vimeo
|
||||||
* `client`: Client to extract video data from. The currently available clients are `android`, `ios`, `macos` and `web`. Only one client can be used. The `macos` client is used by default, but the `web` client is used when logged-in. The `web` client only works with account cookies or login credentials. The `android` and `ios` clients only work with previously cached OAuth tokens
|
* `client`: Client to extract video data from. The currently available clients are `android` and `web`. Only one client can be used. The `web` client is used by default, and only works with account cookies or login credentials. The `android` client only works with previously cached OAuth tokens
|
||||||
* `original_format_policy`: Policy for when to try extracting original formats. One of `always`, `never`, or `auto`. The default `auto` policy tries to avoid exceeding the web client's API rate-limit by only making an extra request when Vimeo publicizes the video's downloadability
|
* `original_format_policy`: Policy for when to try extracting original formats. One of `always`, `never`, or `auto`. The default `auto` policy tries to avoid exceeding the web client's API rate-limit by only making an extra request when Vimeo publicizes the video's downloadability
|
||||||
|
|
||||||
#### zan
|
#### zan
|
||||||
|
|||||||
@@ -382,5 +382,9 @@
|
|||||||
"action": "add",
|
"action": "add",
|
||||||
"when": "b6590aaa1e3808155d69c9a79a797ae484163789",
|
"when": "b6590aaa1e3808155d69c9a79a797ae484163789",
|
||||||
"short": "[priority] Security: [[CVE-2026-55404](https://nvd.nist.gov/vuln/detail/CVE-2026-55404)] [Downstream command injection via improper sanitization of --write-link output](https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32)\n - Shortcut file data is now properly validated and sanitized when the `--write-link` options are used"
|
"short": "[priority] Security: [[CVE-2026-55404](https://nvd.nist.gov/vuln/detail/CVE-2026-55404)] [Downstream command injection via improper sanitization of --write-link output](https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32)\n - Shortcut file data is now properly validated and sanitized when the `--write-link` options are used"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "remove",
|
||||||
|
"when": "a8be438aac1b90c3888e974056d967b8be90fa7e"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -71,37 +71,6 @@ class VimeoBaseInfoExtractor(InfoExtractor):
|
|||||||
'resource_key', 'badge', 'upload', 'transcode', 'is_playable', 'has_audio',
|
'resource_key', 'badge', 'upload', 'transcode', 'is_playable', 'has_audio',
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
'ios': {
|
|
||||||
'CACHE_KEY': 'oauth-token-ios',
|
|
||||||
'CACHE_ONLY': True,
|
|
||||||
'VIEWER_JWT': False,
|
|
||||||
'REQUIRES_AUTH': False,
|
|
||||||
'AUTH': 'MTMxNzViY2Y0NDE0YTQ5YzhjZTc0YmU0NjVjNDQxYzNkYWVjOWRlOTpHKzRvMmgzVUh4UkxjdU5FRW80cDNDbDhDWGR5dVJLNUJZZ055dHBHTTB4V1VzaG41bEx1a2hiN0NWYWNUcldSSW53dzRUdFRYZlJEZmFoTTArOTBUZkJHS3R4V2llYU04Qnl1bERSWWxUdXRidjNqR2J4SHFpVmtFSUcyRktuQw==',
|
|
||||||
'USER_AGENT': 'Vimeo/11.10.0 (com.vimeo; build:250424.164813.0; iOS 18.4.1) Alamofire/5.9.0 VimeoNetworking/5.0.0',
|
|
||||||
'VIDEOS_FIELDS': (
|
|
||||||
'uri', 'name', 'description', 'type', 'link', 'player_embed_url', 'duration',
|
|
||||||
'width', 'language', 'height', 'embed', 'created_time', 'modified_time', 'release_time',
|
|
||||||
'content_rating', 'content_rating_class', 'rating_mod_locked', 'license', 'config_url',
|
|
||||||
'embed_player_config_url', 'privacy', 'pictures', 'tags', 'stats', 'categories', 'uploader',
|
|
||||||
'metadata', 'user', 'files', 'download', 'app', 'play', 'status', 'resource_key', 'badge',
|
|
||||||
'upload', 'transcode', 'is_playable', 'has_audio',
|
|
||||||
),
|
|
||||||
},
|
|
||||||
'macos': {
|
|
||||||
'CACHE_KEY': 'oauth-token-macos',
|
|
||||||
'CACHE_ONLY': True,
|
|
||||||
'VIEWER_JWT': False,
|
|
||||||
'REQUIRES_AUTH': False,
|
|
||||||
'AUTH': 'NDc1N2JlN2Y5ZjZmMjU3NzE3NTRkZTg1NmY2YzU2MTI0OTFlNjJiYjpwVUNDWUlBZmZqSHhQcndBYWxGMzgyYys2NkN5d1JrREJZZXdPcEdsU05tdjFlVVo2aE1lYk9GcWE3ZW9KVldlYnFlOWh5Vno5UWtpUGJ5empYZFBpYkFwV0FFTnB5VWV4ZEh3aHZnRUNEL0VySnBzTmFraDdNbS9nMXhWanhIcw==',
|
|
||||||
'USER_AGENT': 'Vimeo/1.6.3 (com.vimeo.mac; build:251121.142637.0; macOS 13.7.8) Alamofire/5.9.0 VimeoNetworking/5.0.0',
|
|
||||||
'VIDEOS_FIELDS': (
|
|
||||||
'uri', 'name', 'description', 'type', 'link', 'player_embed_url', 'duration', 'width',
|
|
||||||
'language', 'height', 'embed', 'created_time', 'modified_time', 'release_time', 'content_rating',
|
|
||||||
'content_rating_class', 'rating_mod_locked', 'license', 'privacy', 'pictures', 'tags', 'stats',
|
|
||||||
'categories', 'uploader', 'metadata', 'user', 'files', 'download', 'app', 'play', 'status',
|
|
||||||
'resource_key', 'badge', 'upload', 'transcode', 'is_playable', 'has_audio',
|
|
||||||
),
|
|
||||||
},
|
|
||||||
'web': {
|
'web': {
|
||||||
'CACHE_ONLY': False,
|
'CACHE_ONLY': False,
|
||||||
'VIEWER_JWT': True,
|
'VIEWER_JWT': True,
|
||||||
|
|||||||
Reference in New Issue
Block a user