Remove Trending endpoints from code base
This commit is contained in:
1 parent
aadbde330d
commit
1f2058abce
18 files changed
+28
-267
No files matched your search
@@ -230,10 +230,11 @@ function RemoveSingleFailedRow(error as dynamic, feedSource as object, feedSourc
|
||||
end if
|
||||
|
||||
isError = error = Invidious.ERROR_NOT_AUTHENTICATED
|
||||
' Invidious admins disable endpoints sometimes
|
||||
isError = isError or error.instr("Administrator has disabled this endpoint") <> -1
|
||||
isError = isError or error.instr("API disabled") <> -1
|
||||
isError = isError or feedSource.id.instr("inv_trending") <> -1
|
||||
isError = isError or feedSource.id.instr("inv_popular") <> -1
|
||||
' Playlet not supporting popular
|
||||
isError = isError or feedSource.id = "inv_popular"
|
||||
if not isError
|
||||
return false
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user