mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-06 05:09:25 +03:00
[update] Bump GitHub REST API version to 2026-03-10 (#16435)
Ref: https://github.blog/changelog/2026-03-12-rest-api-version-2026-03-10-is-now-available/ Authored by: bashonly
This commit is contained in:
@@ -316,7 +316,7 @@ class Updater:
|
||||
return json.loads(self.ydl.urlopen(Request(url, headers={
|
||||
'Accept': 'application/vnd.github+json',
|
||||
'User-Agent': 'yt-dlp',
|
||||
'X-GitHub-Api-Version': '2022-11-28',
|
||||
'X-GitHub-Api-Version': '2026-03-10',
|
||||
})).read().decode())
|
||||
|
||||
def _get_version_info(self, tag: str) -> tuple[str | None, str | None]:
|
||||
|
||||
Reference in New Issue
Block a user