mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-20 09:44:23 +00:00
Compare commits
No commits in common. "f14d2f2d548a45fef221aa3821e5a1bf450d5c0b" and "0f45ecc920f31c3c5704c62bad8da2e2844ff9bc" have entirely different histories.
f14d2f2d54
...
0f45ecc920
@ -175,10 +175,6 @@ lint-check = "ruff check {args:.}"
|
|||||||
lint-fix = "ruff check --fix {args:.}"
|
lint-fix = "ruff check --fix {args:.}"
|
||||||
|
|
||||||
[tool.hatch.envs.hatch-test]
|
[tool.hatch.envs.hatch-test]
|
||||||
features = [
|
|
||||||
"curl-cffi",
|
|
||||||
"default",
|
|
||||||
]
|
|
||||||
dependency-groups = [
|
dependency-groups = [
|
||||||
"test",
|
"test",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -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': '2026-03-10',
|
'X-GitHub-Api-Version': '2022-11-28',
|
||||||
})).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