Tyrrrz / YoutubeExplode

Abstraction layer over YouTube's internal API
MIT License
2.95k stars 493 forks source link

GetChannelUploadsAsync Not Return Any Videos #259

Closed hung1xpro closed 5 years ago

hung1xpro commented 5 years ago

Hello bro, nice to meet you but today i got new bug, the GetChannelUploadsAsync not return any videos ...

Tyrrrz commented 5 years ago

Doesn't work on all channels?

hung1xpro commented 5 years ago

idk but i can't find channel can get video ...... all channel that i know still return 0

Tyrrrz commented 5 years ago

Do you know if it stopped working today or was it after the last update? Can you check if it works on v4.7.3 instead of v4.7.4?

hung1xpro commented 5 years ago

sorry cause i busy, i check ver 4.7.3 and still return 0 bro ... like that one: https://www.youtube.com/channel/UC0WP5P-ufpRfjbNrmOWwLBQ

Tyrrrz commented 5 years ago

I see, seems YouTube broke something :(

hung1xpro commented 5 years ago

so what now bro ... we can't get that anymore ? :'(

Tyrrrz commented 5 years ago

There might be a workaround, but I don't have time to look at it now :(

hung1xpro commented 5 years ago

There might be a workaround, but I don't have time to look at it now :(

oke bro, i can wait, just finish you work than check it late, btw thanks you for help :v

hung1xpro commented 5 years ago

the thing is playlistId still work with list_ajax?..., then i think cause you code generate playlistid have some problem, that will help you if i right

Tyrrrz commented 5 years ago

Looks like this was broken after #228 was fixed...

hung1xpro commented 5 years ago

Looks like this was broken after #228 was fixed...

Hmm now i can get all channel, but some don't like https://www.youtube.com/channel/UClyA28-01x4z60eWQ2kiNbA

I can get file json but u libary can't get, i think the code u use for get playlist have something wrong.

Tyrrrz commented 5 years ago

It returns 80 videos for me, same as https://www.youtube.com/playlist?list=UUlyA28-01x4z60eWQ2kiNbA

hung1xpro commented 5 years ago

But this querry = YoutubeClient.ParseChannelId(querry); var channel = await _youtubeClient.GetChannelAsync(querry); var videos = await _youtubeClient.GetChannelUploadsAsync(querry); IReadOnlyList<YoutubeExplode.Models.Video> videoxx = videos; Still return 0 with videoxx.Count();

Tyrrrz commented 5 years ago

Have you updated to latest version?

hung1xpro commented 5 years ago

oh i forgot to check that update, let me try then i will ask you soon bro, thanks you <3

hung1xpro commented 5 years ago

It work now, thanks you bro <3, have a good day. :v

Tyrrrz commented 5 years ago

I'm glad. You too.