fix(downloads): a site the downloader no longer understands says so, and offers a retry

yt-dlp asks for a bug report on an extraction failure it did not expect: the site answered in a way its extractor does not read (measured on a TikTok link: fails on every attempt under yt-dlp 2026.07.04, downloads under 2026.08.19). That failure read as "Something went wrong" with no retry; it is now its own category, site_changed, with a Retry in the failure window. A contract test holds every failure category to its copy in both languages.
This commit is contained in:
2026-10-12 20:54:47 +02:00
parent f6bce23a94
commit 132fb56428
7 changed files with 106 additions and 5 deletions
@@ -294,6 +294,10 @@
"short": "Source unavailable",
"body": "The original download this clip is based on is no longer available."
},
"site_changed": {
"short": "The site has changed",
"body": "The site answered in a way the downloader doesn't understand yet – it has probably changed. An update of the downloader on the server usually fixes this, so try again later."
},
"network": {
"short": "Network error",
"body": "A network error interrupted the download. A retry usually fixes this."
@@ -294,6 +294,10 @@
"short": "A forrás nem elérhető",
"body": "Az eredeti letöltés, amelyből ez a vágás készült, már nem érhető el."
},
"site_changed": {
"short": "Az oldal megváltozott",
"body": "Az oldal olyan választ adott, amit a letöltő még nem ért – valószínűleg megváltozott. Ezt általában a szerveren futó letöltő frissítése javítja, ezért próbáld újra később."
},
"network": {
"short": "Hálózati hiba",
"body": "Hálózati hiba szakította meg a letöltést. Újrapróbálásra általában megjavul."