agentcooper / Telik

macOS app to track YouTube channels and playlists

Home Page:https://apps.apple.com/en/app/telik/id6453161265

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a reason not all channels show in sidebar?

nikitavoloboev opened this issue · comments

image

My list stops here. So over 1,000 channels get left out for me. :(

Perhaps when I went to https://www.youtube.com/feed/channels it didn't get all channels.

@nikitavoloboev Yeah, I wonder if the JS script for extracting the channels from the website accounts for the lazy loading. It would be great if you can check that.

It's strange. The line you see after Ali Spittel channel is the cutting point for lazy loading the next page.

image

But this is my sidebar now:

image

But yes there is lazy loading on the page and it doesn't account for it.

I guess solution is to lazy load the entire page and then run the script?

Yes, please try to load the whole page and then run the script. If you can come up with the script that does it automatically, I would gladly accept the PR :-)

Also I'll update the channel title sorting to be case independent as it is on youtube.com.

image

Been like this for 20+ min now. Not sure if stuck or I should wait more.

Okay stopping it now as I need to use the mac. But 20+ min it was stuck on the beach ball and the app is not responsive now so will close it from activity monitor.

image

Here is a gist of all my YouTube follows if you want to replicate it. ♥️

https://gist.github.com/nikitavoloboev/d7d179271bc2f63f02f6b24b29c307bb

Oh interesting thing after quitting the app during it trying to add channels. If I open the app again, after like a second it starts not responding again and beach balls.

image

Thanks, I'll take a look! When adding channels, there are few URL formats, some contain channel ID and others don't. In the latter case I need to do an additional request. The problem right now that those are sequential and probably error handling is not very good.

For the case when the channels are already added, I think the problem is unbounded concurrency for network calls. I'll try to limit it.

Feel free to drop more feedback on https://t.me/random_internet_username.

I've released https://github.com/agentcooper/Telik/releases/tag/1.4 and it should perform much better on large lists, please try it out.