mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-13 22:35:02 +00:00
Compare commits
2 Commits
0f45ecc920
...
f14d2f2d54
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f14d2f2d54 | ||
|
|
fe5e67c054 |
@ -175,6 +175,10 @@ lint-check = "ruff check {args:.}"
|
||||
lint-fix = "ruff check --fix {args:.}"
|
||||
|
||||
[tool.hatch.envs.hatch-test]
|
||||
features = [
|
||||
"curl-cffi",
|
||||
"default",
|
||||
]
|
||||
dependency-groups = [
|
||||
"test",
|
||||
]
|
||||
|
||||
@ -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]:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user