Skip to content

Commit

Permalink
changed default proxy worker
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyhalight committed Dec 29, 2023
1 parent 63ab50e commit 4b5c5bb
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 10 deletions.
1 change: 1 addition & 0 deletions README-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ These domains can be set in the extension settings (only those domains that can

#### Proxy-server
- [vot.deno.dev](https://github.com/FOSWLY/vot-worker)
- [vot-worker.onrender.com](https://github.com/FOSWLY/vot-worker)
- [vot-new.toil-dump.workers.dev](https://github.com/FOSWLY/vot-worker) (⚠️ doesn't work in Russia)

#### M3U8 Proxy-server
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#### Proxy-сервер
- [vot.deno.dev](https://github.com/FOSWLY/vot-worker)
- [vot-worker.onrender.com](https://github.com/FOSWLY/vot-worker)
- [vot-new.toil-dump.workers.dev](https://github.com/FOSWLY/vot-worker) (⚠️ не работает в РФ)

#### M3U8 Proxy-сервер
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.5.0.3
- Стандартный прокси-воркер изменен на `https://vot-worker.onrender.com`

# 1.5.0.2
- Улучшена очистка описания на Youtube от @SashaXser в #46

Expand Down
4 changes: 2 additions & 2 deletions dist/vot-cloudflare-min.user.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vot-cloudflare.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// @description:it Una piccola estensione che aggiunge la traduzione vocale del video dal browser Yandex ad altri browser
// @description:ru Небольшое расширение, которое добавляет закадровый перевод видео из Яндекс Браузера в другие браузеры
// @description:zh 一个小扩展,它增加了视频从Yandex浏览器到其他浏览器的画外音翻译
// @version 1.5.0.2
// @version 1.5.0.3
// @author sodapng, mynovelhost, Toil, SashaXser, MrSoczekXD
// @supportURL https://github.com/ilyhalight/voice-over-translation/issues
// @match *://*.youtube.com/*
Expand Down Expand Up @@ -561,7 +561,7 @@ module.exports = styleTagTransform;
const workerHost = "api.browser.yandex.ru";
const m3u8ProxyHost = "m3u8proxy.toil-dump.workers.dev";
const proxyWorkerHost =
_utils_utils_js__WEBPACK_IMPORTED_MODULE_0__/* .lang */ .KQ === "uk" ? "vot-new.toil-dump.workers.dev" : "vot.deno.dev"; // used for cloudflare version (vot-new.toil-dump.workers.dev || vot.deno.dev)
_utils_utils_js__WEBPACK_IMPORTED_MODULE_0__/* .lang */ .KQ === "uk" ? "vot-new.toil-dump.workers.dev" : "vot-worker.onrender.com"; // used for cloudflare version (vot-new.toil-dump.workers.dev || vot-worker.onrender.com)
const yandexHmacKey = "xtGCyGdTY2Jy6OMEKdTuXev3Twhkamgm";
const yandexUserAgent =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaBrowser/23.7.1.1140 Yowser/2.5 Safari/537.36";
Expand Down
4 changes: 2 additions & 2 deletions dist/vot-min.user.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vot.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// @description:it Una piccola estensione che aggiunge la traduzione vocale del video dal browser Yandex ad altri browser
// @description:ru Небольшое расширение, которое добавляет закадровый перевод видео из Яндекс Браузера в другие браузеры
// @description:zh 一个小扩展,它增加了视频从Yandex浏览器到其他浏览器的画外音翻译
// @version 1.5.0.2
// @version 1.5.0.3
// @author sodapng, mynovelhost, Toil, SashaXser, MrSoczekXD
// @supportURL https://github.com/ilyhalight/voice-over-translation/issues
// @match *://*.youtube.com/*
Expand Down Expand Up @@ -560,7 +560,7 @@ module.exports = styleTagTransform;
const workerHost = "api.browser.yandex.ru";
const m3u8ProxyHost = "m3u8proxy.toil-dump.workers.dev";
const proxyWorkerHost =
_utils_utils_js__WEBPACK_IMPORTED_MODULE_0__/* .lang */ .KQ === "uk" ? "vot-new.toil-dump.workers.dev" : "vot.deno.dev"; // used for cloudflare version (vot-new.toil-dump.workers.dev || vot.deno.dev)
_utils_utils_js__WEBPACK_IMPORTED_MODULE_0__/* .lang */ .KQ === "uk" ? "vot-new.toil-dump.workers.dev" : "vot-worker.onrender.com"; // used for cloudflare version (vot-new.toil-dump.workers.dev || vot-worker.onrender.com)
const yandexHmacKey = "xtGCyGdTY2Jy6OMEKdTuXev3Twhkamgm";
const yandexUserAgent =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaBrowser/23.7.1.1140 Yowser/2.5 Safari/537.36";
Expand Down
2 changes: 1 addition & 1 deletion src/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { lang } from "../utils/utils.js";
const workerHost = "api.browser.yandex.ru";
const m3u8ProxyHost = "m3u8proxy.toil-dump.workers.dev";
const proxyWorkerHost =
lang === "uk" ? "vot-new.toil-dump.workers.dev" : "vot.deno.dev"; // used for cloudflare version (vot-new.toil-dump.workers.dev || vot.deno.dev)
lang === "uk" ? "vot-new.toil-dump.workers.dev" : "vot-worker.onrender.com"; // used for cloudflare version (vot-new.toil-dump.workers.dev || vot-worker.onrender.com)
const yandexHmacKey = "xtGCyGdTY2Jy6OMEKdTuXev3Twhkamgm";
const yandexUserAgent =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaBrowser/23.7.1.1140 Yowser/2.5 Safari/537.36";
Expand Down
2 changes: 1 addition & 1 deletion src/headers.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "[VOT] - Voice Over Translation",
"description": "A small extension that adds a Yandex Browser video translation to other browsers",
"version": "1.5.0.2",
"version": "1.5.0.3",
"author": "sodapng, mynovelhost, Toil, SashaXser, MrSoczekXD",
"namespace": "vot",
"icon": "https://translate.yandex.ru/icons/favicon.ico",
Expand Down

0 comments on commit 4b5c5bb

Please sign in to comment.