Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Invidio.us shuts down on October 1st #23

Closed
pitsi opened this issue Aug 2, 2020 · 36 comments
Closed

Invidio.us shuts down on October 1st #23

pitsi opened this issue Aug 2, 2020 · 36 comments

Comments

@pitsi
Copy link

pitsi commented Aug 2, 2020

I was reading reddit earlier and I came accross this, so I thought I should mention it here since straw-viewer will probably stop working after that date

https://omar.yt/posts/stepping-away-from-open-source

---edit
It seems that the site will be shut down on September 1st. The api will be shut down on October 1st, so I changed the title.

@pitsi pitsi changed the title Invidio.us shuts down on September 1st Invidio.us shuts down on October 1st Aug 2, 2020
trizen added a commit that referenced this issue Aug 8, 2020
The instance `invidio.us` seems to be down at the moment.

Also of interest: #23
@Bumbadawg
Copy link

Bumbadawg commented Aug 21, 2020

Why not pick from the top used instances https://instances.invidio.us/ instead of statically specifying it ?
aria2c https://instances.invidio.us/instances.json?pretty=1&sort_by=type,users | jq somethingsomething

@OrionRandD
Copy link

From my experience here, I have found that
https://instances.invidio.us/ -> yewtu.be
Is much more responsive than invidious.snopyta.org

Using invidious.snopyta.org has given me lots of
"! no stream URL has been found error..."
How do I set yewtu.be to be the default here?
Thx a lot

@trizen
Copy link
Owner

trizen commented Sep 5, 2020

See: https://github.com/trizen/straw-viewer#invidious-instances

For me, invidious.fdn.fr and invidious.13ad.de seem to work the best.

I'm considering adding support for --instance=auto, which would automatically pick an instance from the top ones.

@OrionRandD
Copy link

OrionRandD commented Sep 5, 2020 via email

@trizen
Copy link
Owner

trizen commented Sep 5, 2020

For using the development version, see: https://github.com/trizen/straw-viewer#try

If you're using Arch Linux, then you can simply reinstall "straw-viewer-git" from the AUR.

@OrionRandD
Copy link

OrionRandD commented Sep 6, 2020 via email

@pitsi
Copy link
Author

pitsi commented Sep 6, 2020

See: https://github.com/trizen/straw-viewer#invidious-instances

For me, invidious.fdn.fr and invidious.13ad.de seem to work the best.

I'm considering adding support for --instance=auto, which would automatically pick an instance from the top ones.

Is this the same as the --api-host parameter in ~/.config/straw-viewer/straw-viewer.conf?

Mine seems to mention invidio.us in there, but straw-viewer has been really slow in getting results and starting playback. Launching it with the --debug option says that it is using invidious.snopyta.org.

@trizen
Copy link
Owner

trizen commented Sep 6, 2020

Yes, --api, --api-host and --instance are all the same.

Since invidio.us is getting shut down, straw-viewer is now replacing invidio.us with invidious.snopyta.org. (4807a31)

Maybe picking a random instance would be a clever thing to do?

Edit:

  • Support for --api=auto has been added in 0038ba8.

  • Additionally, when "invidio.us" is specified for api_host, a random instance is now selected.

trizen added a commit that referenced this issue Sep 6, 2020
Provided via:

	straw-viewer --api=auto

or by setting in the configuration file:

	api_host => "auto",

The list of instances ("instances.json") is cached locally and updated automatically every hour.

In order to distribute the load evenly across the invidious instances, when "api_host" is set to "auto", straw-viewer will pick a random instance every time the program is started.
@pitsi
Copy link
Author

pitsi commented Sep 12, 2020

Does anyone else get this or is it just me?
429 error on yewtu.be

$ straw-viewer 

=>> Search for YouTube videos (:h for help)
> idies proseuxes
[429 Too Many Requests] Error occurred on URL: https://yewtu.be/api/v1/search?maxResults=20&part=snippet&q=idies%20proseuxes&type=video

[!] No video results!

:: Probably yewtu.be is down. Try:

	/home/user/bin/straw-viewer --api=invidious.13ad.de

See also: https://github.com/trizen/straw-viewer#invidious-instances

and a 500 error on invidious.13ad.de, which looks similar to the above.

$ straw-viewer --api=invidious.13ad.de

=>> Search for YouTube videos (:h for help)
> idies proseuxes
[500 Server closed connection without sending any data back] Error occurred on URL: https://invidious.13ad.de/api/v1/search?maxResults=20&part=snippet&q=idies%20proseuxes&type=video

[!] No video results!

:: Probably invidious.13ad.de is down. Try:

	/home/user/bin/straw-viewer --api=invidious.13ad.de

See also: https://github.com/trizen/straw-viewer#invidious-instances

Last time I posted here 6 days ago, I changed the api line inside strawviewer.conf to invidious.13ad.de, but once I got the second error last night I changed it to yewtu.be, but no luck with both. In fact, invidious.13ad.de is not even listed in the instances page now!
The 'invidious.snopyta.org', 'invidious.tube' and 'invidious.xyz' instances seem to work for now. I did not test the rest.

@trizen
Copy link
Owner

trizen commented Sep 12, 2020

Same errors here.

It looks like yewtu.be disabled the access to the API on purpose, while invidious.13ad.de moved to another server (see: https://magnum.hallertau.social/channel/badde/)

invidious.13ad.de got unlisted 11 days ago at the request of the maintainer, because of a "significant rise on bandwidth" (see: https://github.com/iv-org/invidious/wiki/Invidious-Instances/_history).

@OrionRandD
Copy link

OrionRandD commented Sep 12, 2020 via email

@OrionRandD
Copy link

OrionRandD commented Sep 12, 2020 via email

@trizen
Copy link
Owner

trizen commented Sep 12, 2020

There is --api=auto in version 0.0.9 (soon to be released), which automatically picks a random working instance.

See: https://github.com/trizen/straw-viewer#invidious-instances

@OrionRandD
Copy link

@trizen great! Thx

@OrionRandD
Copy link

OrionRandD commented Sep 13, 2020 via email

@OrionRandD
Copy link

OrionRandD commented Sep 13, 2020 via email

@pitsi
Copy link
Author

pitsi commented Sep 13, 2020

No issues here with invidious.tube, both inside the browser and in straw-viewer. On the other hand, I use ublock and I have set my browser (brave) to the strict level of content blocking.

The only flaw I saw was that clicking on
https://invidious.tube
redirected me to this
https://invidious.tube/?ckattempt=1

@OrionRandD
Copy link

OrionRandD commented Sep 13, 2020 via email

@OrionRandD
Copy link

OrionRandD commented Sep 14, 2020 via email

@pitsi
Copy link
Author

pitsi commented Sep 15, 2020

Yewtu.be does not work for me as seen on the error above. It may be geo-restricted.
I updated straw-viewer to 0.0.9 last night, I set api_host to "auto" and I am happy so far. Stream load a lot faster than before.
Using the --debug parameter shows me the instance it currently uses, e.g. now it decided to use invidious.site

** GET https://instances.invidio.us/instances.json ==> 200 OK (2s)
:: Found 3 invidious instances.
:: Changed the instance to: https://invidious.site

while yesterday it used one located in France (invidious.fdn.fr).

@OrionRandD
Copy link

OrionRandD commented Sep 16, 2020 via email

@pitsi
Copy link
Author

pitsi commented Sep 17, 2020

Since you are on debian (like me) that does not package straw-viewer, these are the steps I do to "install/update" straw-viewer (and youtube-viewer in the past).

a) I have created 2 folders in my home dir, ~/bin and ~/lib. The first is used for the executable and the second one is for the libs it needs (the libs folder here on github). Also, this bit is needed in my ~/.bashrc to make everything work

PATH=$PATH:$HOME/bin/
PERL5LIB=$HOME/lib;export PERL5LIB

b) Every time a new version comes out, I download the zip file from the releases page and I extract straw-viewer inside ~/bin and the WWW folder inside ~/lib, so it looks like this

├── bin
│   ├── straw-viewer
...
├── lib
│   └── WWW
│       ├── StrawViewer
│       │   ├── Activities.pm
│       │   ├── Authentication.pm
│       │   ├── Channels.pm
│       │   ├── CommentThreads.pm
│       │   ├── GetCaption.pm
│       │   ├── GuideCategories.pm
│       │   ├── Itags.pm
│       │   ├── ParseJSON.pm
│       │   ├── ParseXML.pm
│       │   ├── PlaylistItems.pm
│       │   ├── Playlists.pm
│       │   ├── RegularExpressions.pm
│       │   ├── Search.pm
│       │   ├── Subscriptions.pm
│       │   ├── Utils.pm
│       │   ├── VideoCategories.pm
│       │   └── Videos.pm
│       ├── StrawViewer.pm

p.s. It obviously needs some perl dependencies, which I installed via apt.

@OrionRandD
Copy link

OrionRandD commented Sep 18, 2020 via email

@trizen trizen closed this as completed Oct 6, 2020
@pitsi
Copy link
Author

pitsi commented Oct 24, 2020

May I ask what you guys consider a very reliable instance of invidious? I have set "api_host" to "auto" and it used to work nicely, no matter the host it selected.
But, in the last couple of days, it selected some weird ones, with "rock" or "cafe" in their names if I recall correctly, adn they returned no results.

@trizen
Copy link
Owner

trizen commented Oct 24, 2020

There was an YouTube change recently that affected the search results of all instances.

See: iv-org/invidious#1422

A reliable instance seems to be invidious.snopyta.org, even if it is a bit slow sometimes.

@pitsi
Copy link
Author

pitsi commented Oct 24, 2020

I am switching to that instance then. Thank you.
For me, every instance is slow compared to youtube (and youtube-viewer).

@OrionRandD
Copy link

@pitsi "I am switching to that instance then."
which instance? Could you be more specific? Thx

@pitsi
Copy link
Author

pitsi commented Oct 27, 2020

The one suggested above by trizen to be a reliable one, invidious.snopyta.org.

@OrionRandD
Copy link

OrionRandD commented Oct 27, 2020 via email

@pitsi
Copy link
Author

pitsi commented Oct 28, 2020

To be honest with you, I am really fed up with all those changes in invidious and/or youtube lately because I can not find an instance that works 100%.
One does not return any results, one does return results for videos but not for channels, the next one is slow af and so on. I think that the numbers in instances.invidio.us simply do not reflect their true status.

And I am facing all these in kodi's addon for invidious, so I have "double checked" what say above. I respect both devs for their work, and I know it is not their fault, but some things need to be said. If the api has issues, the "best" instance is the one with the fewer problems... and I am still searching for it.

@OrionRandD
Copy link

OrionRandD commented Oct 29, 2020 via email

@pitsi
Copy link
Author

pitsi commented Oct 30, 2020

Hmmm... I know straw-viewer. In fact, this entire discussion is done in straw-viewer's github page :P

@trizen
Copy link
Owner

trizen commented Oct 30, 2020

@pitsi I'm currently experimenting with pipe-viewer, which is a fork of straw-viewer. The main goal of this fork is to remove the dependency on invidious instances, by parsing the YouTube website directly in a similar way like NewPipe does.

If everything goes according to plan, then pipe-viewer will be a much faster and reliable alternative to straw-viewer.

@pitsi
Copy link
Author

pitsi commented Nov 26, 2020

Sorry for bringing this back up, but do you guys get... results from your searches? I get nothing for the last 3+ days and I think it is an api issue because I face the same thing on kodi's addon for invidious.

$ straw-viewer 

=>> Search for YouTube videos (:h for help)
> vevilos
:: Found 0 invidious instances: 
:: Found 9 invidious instances: invidious.snopyta.org invidious.tube invidious.kavin.rocks invidious.mservice.ru.com vid.encryptionin.space invidious.site invidious.fdn.fr invidious.zapashcanon.fr tube.connect.cafe
:: Changed the instance to: https://vid.encryptionin.space
** GET https://vid.encryptionin.space/api/v1/search?q=vevilos&type=video ==> 200 OK (1s)

[!] No video results!

=>> Select one or more videos to play (:h for help)
> 

@trizen
Copy link
Owner

trizen commented Nov 26, 2020

@pitsi Yes, but most instances do not work. Workaround in 09ce8a8. (I will tag a new version soon)

Two instances that work for me, are:

  • invidious.kavin.rocks
  • invidious.snopyta.org

@pitsi
Copy link
Author

pitsi commented Nov 27, 2020

I had the snopyta one on both until Monday...
Thank you for your suggestion. They both work on straw viewer and return results... for now.

In the kodi addon though the story is a bit different. The snopyta one returns results for videos but not for channels, while the kavin one returns no results anywhere.

I am off to upgrade to v0.1.2 (and pipe-viewer to v0.0.4).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants