mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-05-19 05:42:34 +00: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:
parent
0f45ecc920
commit
fe5e67c054
@ -316,7 +316,7 @@ class Updater:
|
|||||||
return json.loads(self.ydl.urlopen(Request(url, headers={
|
return json.loads(self.ydl.urlopen(Request(url, headers={
|
||||||
'Accept': 'application/vnd.github+json',
|
'Accept': 'application/vnd.github+json',
|
||||||
'User-Agent': 'yt-dlp',
|
'User-Agent': 'yt-dlp',
|
||||||
'X-GitHub-Api-Version': '2022-11-28',
|
'X-GitHub-Api-Version': '2026-03-10',
|
||||||
})).read().decode())
|
})).read().decode())
|
||||||
|
|
||||||
def _get_version_info(self, tag: str) -> tuple[str | None, str | None]:
|
def _get_version_info(self, tag: str) -> tuple[str | None, str | None]:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user