Skip to content

Commit

Permalink
vot.toil.cc -> vot-worker.toil.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyhalight committed Jun 27, 2024
1 parent 0c6d789 commit 4c590f6
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 18 deletions.
7 changes: 5 additions & 2 deletions README-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,11 @@ These domains can be set in the extension settings (only those domains that can

#### Proxy-server

- [vot.toil.cc](https://vot.toil.cc/health) (Load balancer between proxy servers)
- [vot-worker.toil.cc](https://github.com/FOSWLY/vot-worker)
> [!WARNING]
> In the next version, the domain `vot.toil.cc` will be replaced by `vot-worker.toil.cc`. If you don't plan to upgrade extension and you are using the cloudflare version, then you will need to install the domain yourself `vot-worker.toil.cc ` in the extension menu
- [vot-worker.toil.cc](https://vot-worker.toil.cc/health) (Load balancer between proxy servers)
- [vot-worker-s1.toil.cc](https://github.com/FOSWLY/vot-worker)
- [vot.deno.dev](https://github.com/FOSWLY/vot-worker)
- [vot-new.toil-dump.workers.dev](https://github.com/FOSWLY/vot-worker) (⚠️ doesn't work in Russia)

Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@

#### Proxy-сервер

- [vot.toil.cc](https://vot.toil.cc/health) (Балансировщик между прокси серверами)
- [vot-worker.toil.cc](https://github.com/FOSWLY/vot-worker)
> [!WARNING]
> В следующей версии домен `vot.toil.cc` будет заменен на `vot-worker.toil.cc`. Если вы не планируете обновляться до нее и вы пользуетесь cloudflare версией, то вам будет необходимо самостоятельно установить домен `vot-worker.toil.cc` в меню расширения
- [vot-worker.toil.cc](https://vot-worker.toil.cc/health) (Балансировщик между прокси серверами)
- [vot-worker-s1.toil.cc](https://github.com/FOSWLY/vot-worker)
- [vot.deno.dev](https://github.com/FOSWLY/vot-worker)
- [vot-new.toil-dump.workers.dev](https://github.com/FOSWLY/vot-worker) (⚠️ не работает в РФ)

Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

# 1.x

- Стандартный домен в cloudflare-версии изменен на `vot-worker.toil.cc`
- Добавлена поддержка Archive.org (#679)
- Теперь, при включенной опции "Не переводить с родного языка" проверяется соответствие только языка с которого переводится видео (ранее срабатывало только при одинаковой паре языков, например русский-русский, английкий-англиский и т.п.)
- Добавлена возможность выделения отдельных слов в субтитрах (#666)
Expand Down
2 changes: 1 addition & 1 deletion dist/vot-cloudflare-min.user.js

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions dist/vot-cloudflare.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ module.exports = function () {
/* unused harmony export workerHost */
// CONFIGURATION
const workerHost = "api.browser.yandex.ru";
const m3u8ProxyHost = "m3u8-proxy.toil.cc"; // used for striming
const proxyWorkerHost = "vot.toil.cc"; // used for cloudflare version (vot-new.toil-dump.workers.dev || vot-worker.onrender.com)
const m3u8ProxyHost = "m3u8-proxy.toil.cc"; // used for streaming
const proxyWorkerHost = "vot-worker.toil.cc"; // used for cloudflare version
const yandexHmacKey = "bt8xH3VOlb4mqf0nqAibnDOoiPlXsisf";
const yandexUserAgent =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 YaBrowser/24.4.0.0 Safari/537.36";
Expand Down Expand Up @@ -1437,9 +1437,8 @@ const getVideoId = (service, video) => {
return url.pathname.slice(1);
case "youku":
return url.pathname.match(/v_show\/id_[\w=]+/)?.[0];
case "archive": {
case "archive":
return url.pathname.match(/(details|embed)\/([^/]+)/)?.[2];
}
// case "sibnet": {
// const videoId = url.searchParams.get("videoid");
// if (videoId) {
Expand Down
2 changes: 1 addition & 1 deletion dist/vot-min.user.js

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions dist/vot.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ module.exports = function () {
/* harmony export */ });
// CONFIGURATION
const workerHost = "api.browser.yandex.ru";
const m3u8ProxyHost = "m3u8-proxy.toil.cc"; // used for striming
const proxyWorkerHost = "vot.toil.cc"; // used for cloudflare version (vot-new.toil-dump.workers.dev || vot-worker.onrender.com)
const m3u8ProxyHost = "m3u8-proxy.toil.cc"; // used for streaming
const proxyWorkerHost = "vot-worker.toil.cc"; // used for cloudflare version
const yandexHmacKey = "bt8xH3VOlb4mqf0nqAibnDOoiPlXsisf";
const yandexUserAgent =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 YaBrowser/24.4.0.0 Safari/537.36";
Expand Down Expand Up @@ -1671,9 +1671,8 @@ const getVideoId = (service, video) => {
return url.pathname.slice(1);
case "youku":
return url.pathname.match(/v_show\/id_[\w=]+/)?.[0];
case "archive": {
case "archive":
return url.pathname.match(/(details|embed)\/([^/]+)/)?.[2];
}
// case "sibnet": {
// const videoId = url.searchParams.get("videoid");
// if (videoId) {
Expand Down
4 changes: 2 additions & 2 deletions src/config/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// CONFIGURATION
const workerHost = "api.browser.yandex.ru";
const m3u8ProxyHost = "m3u8-proxy.toil.cc"; // used for striming
const proxyWorkerHost = "vot.toil.cc"; // used for cloudflare version (vot-new.toil-dump.workers.dev || vot-worker.onrender.com)
const m3u8ProxyHost = "m3u8-proxy.toil.cc"; // used for streaming
const proxyWorkerHost = "vot-worker.toil.cc"; // used for cloudflare version
const yandexHmacKey = "bt8xH3VOlb4mqf0nqAibnDOoiPlXsisf";
const yandexUserAgent =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 YaBrowser/24.4.0.0 Safari/537.36";
Expand Down
3 changes: 1 addition & 2 deletions src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,8 @@ const getVideoId = (service, video) => {
return url.pathname.slice(1);
case "youku":
return url.pathname.match(/v_show\/id_[\w=]+/)?.[0];
case "archive": {
case "archive":
return url.pathname.match(/(details|embed)\/([^/]+)/)?.[2];
}
// case "sibnet": {
// const videoId = url.searchParams.get("videoid");
// if (videoId) {
Expand Down

0 comments on commit 4c590f6

Please sign in to comment.