Add members-only content error definition

This commit is contained in:
Jelle Glebbeek
2021-04-14 00:10:18 +02:00
parent c62f80b5d1
commit decd0333d6

View File

@@ -15,6 +15,11 @@ class ErrorHandler {
description: `Authenticate using&nbsp;<span onclick="$('#authModal').modal('show');" class="openAuth">cookies</span>&nbsp;and try again.`,
trigger: "ERROR: This video is only available for registered users"
},
{
code: "Members-only content",
description: `Authenticate using&nbsp;<span onclick="$('#authModal').modal('show');" class="openAuth">cookies</span>&nbsp;and try again.`,
trigger: "ERROR: Join this channel to get access to members-only content"
},
{
code: "No connection could be made",
description: "The host or your internet connection is down.",
@@ -87,7 +92,7 @@ class ErrorHandler {
},
{
code: "Unable to launch YTDL",
description: 'You might be missing <a href="https://github.com/jely2002/youtube-dl-gui#how-to-use" target="_blank"> required dependencies</a>.',
description: 'You might be missing&nbsp;<a href="https://github.com/jely2002/youtube-dl-gui#how-to-use" target="_blank"> required dependencies</a>.',
trigger: "returned an empty object"
},
{