Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
13 user(s) are online (7 user(s) are browsing Forums)

Members: 1
Guests: 12

samo79, more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: AIOSTREAMS search no longer returns results
Site Builder
Site Builder


See User information
@Maijestro
I am working on the page, but the aiostreams scripts do not need the page. They have parameters to search for videos in the shell. If you check the included amigaguide you will find them, or if you use the -h parameter, it gives information as well, i.e.

python youtube.py -h

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: AIOSTREAMS search no longer returns results
Site Builder
Site Builder


See User information
@pjs
Today, I released a new version of aiostreams that fixes the error with the search you mentioned. The reason why this was failing is that YT decided that if you search for videos through their API, they will return channels :O

So, there was a failure on finding some necessary data for these records.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: AIOSTREAMS search no longer returns results
Just popping in
Just popping in


See User information
Hi Walkero,

I just tested Youtube.py with the Pjs arguments:

youtube.py -sv "Marcus House"

And here's what I get :

aiostreams v1.7.8 (2025-04-19) - Developed by George Sokianos

Traceback (most recent call last):
File "youtube.py", line 511, in <module>
main(sys.argv[1:])
File "youtube.py", line 359, in main
result = ytApi.searchVideo(searchQuery, None, nextPageToken)
File "youtube.py", line 150, in searchVideo
responseData = self.call(endpoint, query, True)
File "youtube.py", line 94, in call
query['key'] = self.getClientId()
File "youtube.py", line 71, in getClientId
keyData = aiostreamsapi.getKey()
File "youtube.py", line 233, in getKey
responseData = self.call(endpoint)
File "youtube.py", line 219, in call
return self.getURL(url)
File "youtube.py", line 209, in getURL
print (URLError["reason"])
TypeError: 'type' object is unsubscriptable



Am I doing something wrong or missing something?

Knowing that I reinstalled AmigaOS from scratch a few weeks ago.

Go to top
Re: AIOSTREAMS search no longer returns results
Site Builder
Site Builder


See User information
No, you don't. It seems that it hit the APi requests quota and YouTube forbids any more for today. Tomorrow it might work again at some point.

Unfortunately, the YouTube API has a really low limit, that's why I was using Invidious. But now Invidious API is down on every server they have, and this cannot be used any more.

So, the only way to find YT videos right now on AmigaOS is by using the m.youtube.com or an invidious website, and not through the aiostreams website, until I figure another way to get the needed data.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: AIOSTREAMS search no longer returns results
Not too shy to talk
Not too shy to talk


See User information
@walkero

Hi George!

I just tried the new v1.7.8 version and got the same error as
Maijestro with the same command line.

Bummer that goggles seems to be messing up Invidious. But it
seems like the Nadeko site is at least partially working.
Example:

https://inv.nadeko.net/search?q=marcus+house

I'm wondering whether that could be used in lieu of the old
Invidious route or if they're on borrowed time.

FWIW, I also tried m.youtube.com this morning, but I could
not get any search results out of that one either.

hmmm...

PJS

Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project