diff --git a/api/package.json b/api/package.json index 0660b0d8..72e573b5 100644 --- a/api/package.json +++ b/api/package.json @@ -1,7 +1,7 @@ { "name": "@imput/cobalt-api", "description": "save what you love", - "version": "10.7.3", + "version": "10.7.4", "author": "imput", "exports": "./src/cobalt.js", "type": "module", diff --git a/api/src/processing/services/youtube.js b/api/src/processing/services/youtube.js index 3240c163..a4c54a82 100644 --- a/api/src/processing/services/youtube.js +++ b/api/src/processing/services/youtube.js @@ -193,7 +193,7 @@ export default async function (o) { if (playability.reason.endsWith("bot")) { return { error: "youtube.login" } } - if (playability.reason.endsWith("age")) { + if (playability.reason.endsWith("age") || playability.reason.endsWith("inappropriate for some users.")) { return { error: "content.video.age" } } if (playability?.error_screen?.reason?.text === "Private video") { diff --git a/docs/run-an-instance.md b/docs/run-an-instance.md index 60a3c8aa..ea31cfc5 100644 --- a/docs/run-an-instance.md +++ b/docs/run-an-instance.md @@ -18,7 +18,7 @@ if you need help with installing docker, follow *only the first step* of these t ``` i'm using `nano` in this example, it may not be available in your distro. you can use any other text editor. -3. copy and paste the [sample config from here](examples/docker-compose.example.yml) for either web or api instance (or both, if you wish) and edit it to your needs. +3. copy and paste the [sample config from here](examples/docker-compose.example.yml) and edit it to your needs. make sure to replace default URLs with your own or cobalt won't work correctly. 4. finally, start the cobalt container (from cobalt directory):