mirror of
https://github.com/imputnet/cobalt.git
synced 2026-11-01 07:14:36 +00:00
merge: 10.7.4 from main branch
This commit is contained in:
commit
dcc99f0e62
3 changed files with 3 additions and 3 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue