Compare commits
5 commits
fa9a3ffb3e
...
72f3df37e6
Author | SHA1 | Date | |
---|---|---|---|
72f3df37e6 | |||
|
6ca59654ba | ||
|
7c0e26f7f8 | ||
|
8084936d5a | ||
|
70cf366639 |
4 changed files with 14 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -6,7 +6,11 @@ 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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue