Compare commits

..

No commits in common. "f14d2f2d548a45fef221aa3821e5a1bf450d5c0b" and "0f45ecc920f31c3c5704c62bad8da2e2844ff9bc" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -175,10 +175,6 @@ lint-check = "ruff check {args:.}"
lint-fix = "ruff check --fix {args:.}"
[tool.hatch.envs.hatch-test]
features = [
"curl-cffi",
"default",
]
dependency-groups = [
"test",
]

View File

@ -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': '2026-03-10',
'X-GitHub-Api-Version': '2022-11-28',
})).read().decode())
def _get_version_info(self, tag: str) -> tuple[str | None, str | None]: