You are not logged in.

#1 2020-05-25 17:03:05

atomikegg
Member
Registered: 2019-08-14
Posts: 128

Youtube Frontends Not Returning Search Results

I just installed MiniTube. Not getting search results.

I noticed SMTube is also not returning search results, which is a new problem.

i was trying out various youtube front-ends. i preferred gtk straw viewer (straw-viewer-git). It was searching and playing videos without issue until a couple days ago.

Eventually i removed the youtube frontends i didn't like. (I didn't keep MiniTube because it requires a google developer's API key which i didn't feel like getting. Supposedly there's a key on the developer's website, but couldn't find it.)

In the process, maybe something important got removed? Now straw viewer isn't returning any search results, and can't play videos. Here's more detail about what happened with gtk straw viewer

https://aur.archlinux.org/packages/straw-viewer-git/

i suspect intermittent glitches on my internet connection, but nothing that breaks Opera.

On search, i get "Something went wrong: No results..."

If i try to play a video (terminal mode) from straw viewer's history (meaning, search results i got previously, when it was still working), i get:

[500 read timeout] Error occurred on URL: https://invidio.us/api/v1/videos/koO09c6mpgE?fields=title,videoId,description,descriptionHtml,published,publishedText,viewCount,likeCount,dislikeCount,genre,author,authorId,lengthSeconds,rating,liveNow
Use of uninitialized value $video_id in exists at /usr/bin/straw-viewer line 3393.
Use of uninitialized value $videoID in sprintf at /usr/share/perl5/vendor_perl/WWW/StrawViewer.pm line 869.
2020.05.08
Use of uninitialized value $videoID in concatenation (.) or string at /usr/share/perl5/vendor_perl/WWW/StrawViewer.pm line 588.
WARNING: Falling back on generic information extractor.
ERROR: Unsupported URL: https://www.youtube.com/
Use of uninitialized value $videoID in concatenation (.) or string at /usr/share/perl5/vendor_perl/WWW/StrawViewer.pm line 946.

=> Description
----------------------------------------------------------------------------------------------------
No description available...
----------------------------------------------------------------------------------------------------
Use of uninitialized value in sprintf at /usr/bin/straw-viewer line 3534.
Use of uninitialized value $title_length in subtraction (-) at /usr/bin/straw-viewer line 3538.
Use of uninitialized value $title in concatenation (.) or string at /usr/bin/straw-viewer line 3543.
Use of uninitialized value $sec in numeric ge (>=) at /usr/share/perl5/vendor_perl/WWW/StrawViewer/Utils.pm line 100.
Use of uninitialized value $sec in division (/) at /usr/share/perl5/vendor_perl/WWW/StrawViewer/Utils.pm line 100.
Use of uninitialized value $sec in modulus (%) at /usr/share/perl5/vendor_perl/WWW/StrawViewer/Utils.pm line 100.
Use of uninitialized value in sprintf at /usr/bin/straw-viewer line 3543.
Use of uninitialized value in sprintf at /usr/bin/straw-viewer line 3543.
Use of uninitialized value in sprintf at /usr/bin/straw-viewer line 3543.
=> URL: https://www.youtube.com/watch?v=
----------------------------------------------------------------------------------------------------
                                              =>>  <<=

-> Channel   : 
-> ChannelID : 
-> VideoID   : 
-> Category  : Unknown
-> Definition: unknown
-> Duration  : 00:00
-> Likes     : 0
-> Dislikes  : 0
-> Comments  : 1
-> Views     : 0
-> Published : 25 May 2020
----------------------------------------------------------------------------------------------------
Use of uninitialized value in quotemeta at /usr/share/perl5/vendor_perl/WWW/StrawViewer/Utils.pm line 381.

Things i tried:

i reinstalled gtk straw viewer, but still not getting any search results.

`pacman -T  straw-viewer-git`returned nothing.

then i checked dependencies with: `pacman -Qi straw-viewer-git`

i got deps:
perl perl-data-dump  perl-json  perl-lwp-protocol-https  perl-gtk3  perl-libwww  perl-file-sharedir

and optional deps
ffmpeg gnome-icon-theme perl-json-xs perl-lwp-useragent-cached perl-term-readline-gnu perl-unicode-linebreak mpv mplayer vlc wget youtube-dl

A bit confused because the app is called "GTK+ Straw Viewer", but nothing "GTK" came up.

i reinstalled the deps, got no errors.

pacman -S perl perl-data-dump  perl-json  perl-lwp-protocol-https  perl-gtk3  perl-libwww  perl-file-sharedir

restarted computer. video search still not working.

reinstalled the optional deps, that failed with:

warning: ffmpeg-1:4.2.2-8 is up to date -- reinstalling
error: target not found: perl-lwp-useragent-cached
warning: perl-term-readline-gnu-1.36-3 is up to date -- reinstalling
warning: mpv-1:0.32.0-4 is up to date -- reinstalling
warning: wget-1.20.3-3 is up to date -- reinstalling
warning: youtube-dl-2020.05.08-1 is up to date -- reinstalling

I assume due to error, no action was taken. I removed perl-lwp-useragent-cached from the list and tried again. Everything said "reinstalling".

Tried full system upgrade `pacman -Syu`, but got "nothing to do".

Suddenly: straw viewer was working.

restarted computer again.

Now NOT working again. 

any suggestions?

thx

Last edited by atomikegg (2020-05-25 17:39:16)

Offline

#2 2020-05-25 18:03:19

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 341
Website

Re: Youtube Frontends Not Returning Search Results

sorry not a soloution for straw viewer, but you may find this shell script which recently did the rounds on IRC to be of use
http://ix.io/2mbc

Last edited by cirrus (2020-05-25 18:03:55)

Offline

#3 2020-05-25 19:38:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,799

Re: Youtube Frontends Not Returning Search Results

Also see https://github.com/trizen/youtube-viewer/issues/308
Google broke youtube. Bigly.

Online

#4 2020-05-30 16:20:48

Trizen
Member
From: Romania
Registered: 2011-01-07
Posts: 14
Website

Re: Youtube Frontends Not Returning Search Results

Try to change the API host in straw-viewer. Sometimes invidio.us fails to work when it's used by too many users.

Example for using invidious.snopyta.org instead of invidio.us:

straw-viewer --api-host=invidious.snopyta.org test

See also: https://github.com/trizen/straw-viewer/ … -634615774

Last edited by Trizen (2020-05-31 09:02:37)

Offline

#5 2020-05-30 17:20:10

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Youtube Frontends Not Returning Search Results

seth wrote:

Also see https://github.com/trizen/youtube-viewer/issues/308
Google broke youtube. Bigly.

Yes, not even Jdownloader works at the moment.

Offline

#6 2020-05-31 07:21:10

glitsj16
Member
Registered: 2015-04-26
Posts: 126

Re: Youtube Frontends Not Returning Search Results

Regarding smtube there's good news, as upstream changes have been made in the SVN trunk to deal with the Youtube API key changes. The AUR smtube-svn package works (even better if you have made a personal API key).

Offline

#7 2020-05-31 09:20:59

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Youtube Frontends Not Returning Search Results

Jdownloader works now, too. This kind of thing happens with youtube semi-regulary.

Offline

Board footer

Powered by FluxBB