-
-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Here is some information documenting what currently happens when you do a video
or channel search by id for
- removed video id
- invalid made up that never existed video id
- removed channel id
- invalid made up that never existed channel id
This is not a "bug" per se. It is a behaviour that has been on pipe-viewer for a long time .
But I only now rememberd to report it. The feedback and "error message" given
to the user might be a bit misleading, and you might want to try to improve it.
Start pipe-viewer
=>> Select one or more videos to play (:h for help)
I will know enter a video id for a music video, that I know existed on youtube last
year. I still have it on my computer. The channel and all of its videos was
removed by youtube.
You can confirm that this dead channel and its videos actually existed,
example channel, UC-Bf2qmAT10wzgIM-DgqtfA
example video, OzEfB170nK4
Visiting, https://www.youtube.com/channel/UC-Bf2qmAT10wzgIM-DgqtfA, will show you
This account has been terminated because we received multiple third-party claims of copyright infringement regarding material the user posted.
visiting, https://www.youtube.com/watch?v=OzEfB170nK4, will show you
This video is no longer available because the YouTube account associated with this video has been terminated.
Enter video id,
> OzErhB1703uu
** GET https://m.youtube.com/results?hl=en&search_query=OzErhB1703uu&sp=CAASBggAEAEYAFAe ==> 200 OK
** GET https://inv.nadeko.net/api/v1/search?date=anytime&hl=en-US&q=OzErhB1703uu&sort=relevance&type=video ==> 401 Unauthorized
[401 Unauthorized] Error occurred on URL: https://inv.nadeko.net/api/v1/search?date=anytime&hl=en-US&q=OzErhB1703uu&sort=relevance&type=video
[!] No video results!
:: Probably the selected invidious instance is down. Try:
/usr/bin/pipe-viewer --api=auto
See also: https://github.com/trizen/pipe-viewer#invidious-instances
Pipe-viewer then auto closes.
Similar behaviour if you start pipe-viewer, do some browsing and valid
searches, and only after that make this "invalid" search.
You get the same error message, but pipe-viewer stays open.
Similar behaviour for "removed" channel ids. Whether you enter the 24-char video id. Or you enter "-sc 24-char-channel-id".
Similar behaviour for made up 11-char (base32) video ids that never existed.
Similar behaviour for made up 24-char (base32) channel ids that never existed.
I tested this in the last years with many scenarios.
Many reasons for a channel to disappear.
youtube removed it (copyright, many other reasons).The user himself removed it.
Many reasons for a video to dissapear.
youtube removed a single video. The user himself removed that video. I've also
seen cases of users hiding/deactivating hundreds of their music videos, and
then comming back a year later or so, and the same video ids appear again.
Probably got some copyright warning or so.
I think the same behaviour happens to with playlist ids.
So, conclusion. In these particular cases, the message,
[!] No video results!
:: Probably the selected invidious instance is down. Try:
/usr/bin/pipe-viewer --api=auto
See also: https://github.com/trizen/pipe-viewer#invidious-instances
Is a bit misleading. It is not that the "instance is down". It is simply that the "id" doesnt exist or is an invalid one.