Merge remote-tracking branch 'upstream/master'
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m3s

This commit is contained in:
Fijxu 2024-12-24 15:20:15 -03:00
commit 72f3df37e6
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4
4 changed files with 14 additions and 4 deletions

View file

@ -1,4 +1,4 @@
FROM i.sanxian.tech/denoland/deno:debian-2.1.3 AS builder
FROM denoland/deno:debian-2.1.4 AS builder
ARG TINI_VERSION=0.19.0

View file

@ -6,8 +6,12 @@ Companion for Invidious which handle all the video stream retrieval from YouTube
- [deno](https://docs.deno.com/runtime/)
## Run Locally
## Documentation
- Installation guide: https://docs.invidious.io/companion-installation/
- Extra documentation for Invidious companion: https://github.com/iv-org/invidious-companion/wiki
## Run Locally (development)
```
SERVER_SECRET_KEY=CHANGEME deno task dev
```
```

View file

@ -1,7 +1,8 @@
[server]
port = 8282
host = "127.0.0.1"
secret_key = "myBeautifulKey"
# secret key needs to be 16 characters long or more
secret_key = "CHANGE_ME"
base_url = "http://localhost:8282"
verify_requests = false

View file

@ -54,6 +54,11 @@ export const youtubePlayerParsing = async (
const streamingData = video.streaming_data;
// WORKAROUND the issue with TV client not returning any short description
if (!videoData.videoDetails.shortDescription) {
videoData.videoDetails.shortDescription = "";
}
// Modify the original YouTube response to include deciphered URLs
if (streamingData && videoData && videoData.streamingData) {
const ecatcherServiceTracking = videoData.responseContext