diff --git a/api/src/processing/url.js b/api/src/processing/url.js index 9ac8a3ee..2c4be1e3 100644 --- a/api/src/processing/url.js +++ b/api/src/processing/url.js @@ -215,7 +215,7 @@ export function extract(url, enabledServices = env.enabledServices) { // show a different message when youtube is disabled on official instances // as it only happens when shit hits the fan if (new URL(env.apiURL).hostname.endsWith(".imput.net") && host === "youtube") { - return { error: "youtube.temporary_disabled" }; + return { error: "youtube.disabled_main_instance" }; } return { error: "service.disabled" }; } diff --git a/web/i18n/en/error/api.json b/web/i18n/en/error/api.json index 9e922745..186b45a4 100644 --- a/web/i18n/en/error/api.json +++ b/web/i18n/en/error/api.json @@ -57,7 +57,7 @@ "youtube.token_expired": "couldn't get this video because the youtube token expired and wasn't refreshed. try again in a few seconds, but if it still doesn't work, please report this issue!", "youtube.no_hls_streams": "couldn't find any matching HLS streams for this video. try downloading it without HLS!", "youtube.api_error": "youtube updated something about its api and i couldn't get any info about this video. try again in a few seconds, but if this issue sticks, please report it!", - "youtube.temporary_disabled": "youtube downloading is temporarily disabled due to restrictions from youtube's side. we're already looking for ways to go around them.\n\nwe apologize for the inconvenience and are doing our best to restore this functionality. check cobalt's socials or github for timely updates!", + "youtube.disabled_main_instance": "youtube downloading is disabled on the main instance due to restrictions from youtube's side and infinite maintenance cost at scale.\n\nwe apologize for the inconvenience and encourage you to host your own API instance for this.", "youtube.drm": "this youtube video is protected by widevine DRM, so i can't download it. try a different link!", "youtube.no_session_tokens": "couldn't get required session tokens for youtube. this may be caused by a restriction on youtube's side. try again in a few seconds, but if this issue sticks, please report it!" } diff --git a/web/i18n/ru/error/api.json b/web/i18n/ru/error/api.json index 535a100a..2dadb99c 100644 --- a/web/i18n/ru/error/api.json +++ b/web/i18n/ru/error/api.json @@ -35,7 +35,7 @@ "youtube.api_error": "youtube что-то обновил в своём api, и я не смог получить инфу об этом видео. попробуй ещё раз через пару секунд, но если проблема останется, пожалуйста, сообщи о ней!", "youtube.drm": "это youtube-видео защищено widevine DRM, так что я не могу его скачать. попробуй другую ссылку!", "fetch.rate": "{{ service }} ограничил частоту запросов от инстанса обработки. попробуй ещё раз через пару секунд!", - "youtube.temporary_disabled": "скачивание с youtube временно отключено из-за ограничений со стороны youtube. мы уже ищем способы их обойти.\n\nприносим извинения за неудобства и делаем всё возможное, чтобы восстановить эту функциональность. следи за обновлениями в соцсетях или на github!", + "youtube.disabled_main_instance": "скачивание с youtube отключено на главном инстансе из-за ограничений со стороны youtube и бесконечных затрат на содержание его поддержки.\n\nприносим извинения за неудобства и советуем хостить свой инстанс для этой цели.", "content.video.age": "это видео ограничено по возрасту, поэтому я не могу получить его анонимно. попробуй ещё раз или попробуй другую ссылку!", "content.region": "этот контент ограничен по региону, а инстанс обработки находится в другом месте. попробуй другую ссылку!", "youtube.no_matching_format": "youtube не вернул ни одного подходящего формата. возможно, кобальт их не поддерживает или же они перекодируются на стороне youtube. попробуй ещё раз чуть позже, а если проблема останется, сообщи о ней!",