@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.
@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.
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.
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.
As you said, maybe the problem with AIOstreams and Invisious was one of usage caps. I just tried youtube.py just now and it returned results where it had previously caused errors.