Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YouTube] Cannot get contents of some auto-generated channels #611

Open
westlinkin opened this issue Apr 13, 2021 · 3 comments
Open

[YouTube] Cannot get contents of some auto-generated channels #611

westlinkin opened this issue Apr 13, 2021 · 3 comments
Labels
bug Issue is related to a bug youtube service, https://www.youtube.com/

Comments

@westlinkin
Copy link

westlinkin commented Apr 13, 2021

Like:

Music: https://www.youtube.com/channel/UC-9-kyTW8ZkZNDHQJ6FgpwQ

Gaming: https://www.youtube.com/gaming

for Music channel: there are just empty relatedItems

for Gaming channel, here is the log:

2021-04-14 00:21:05.691 24560-24694/com.example.app W/System.err: org.schabi.newpipe.extractor.exceptions.ContentNotAvailableException: Not found ("404 ")
2021-04-14 00:21:05.692 24560-24694/com.example.app W/System.err:     at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.getValidJsonResponseBody(YoutubeParsingHelper.java:602)
2021-04-14 00:21:05.692 24560-24694/com.example.app W/System.err:     at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.getJsonResponse(YoutubeParsingHelper.java:662)
2021-04-14 00:21:05.692 24560-24694/com.example.app W/System.err:     at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeChannelExtractor.onFetchPage(YoutubeChannelExtractor.java:85)
2021-04-14 00:21:05.692 24560-24694/com.example.app W/System.err:     at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:54)
2021-04-14 00:21:05.692 24560-24694/com.example.app W/System.err:     at org.schabi.newpipe.extractor.channel.ChannelInfo.getInfo(ChannelInfo.java:47)
2021-04-14 00:21:05.692 24560-24694/com.example.app W/System.err:     at com.example.app.v2.MainV2Act$onCreate$7.invoke(MainV2Act.kt:203)
2021-04-14 00:21:05.692 24560-24694/com.example.app W/System.err:     at com.example.app.v2.MainV2Act$onCreate$7.invoke(MainV2Act.kt:37)
2021-04-14 00:21:05.692 24560-24694/com.example.app W/System.err:     at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Async.kt:143)
2021-04-14 00:21:05.692 24560-24694/com.example.app W/System.err:     at org.jetbrains.anko.AsyncKt$doAsync$1.invoke(Unknown Source:0)
2021-04-14 00:21:05.693 24560-24694/com.example.app W/System.err:     at org.jetbrains.anko.AsyncKt$sam$java_util_concurrent_Callable$0.call(Unknown Source:2)
2021-04-14 00:21:05.693 24560-24694/com.example.app W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2021-04-14 00:21:05.693 24560-24694/com.example.app W/System.err:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
2021-04-14 00:21:05.693 24560-24694/com.example.app W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
2021-04-14 00:21:05.693 24560-24694/com.example.app W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
2021-04-14 00:21:05.693 24560-24694/com.example.app W/System.err:     at java.lang.Thread.run(Thread.java:923)

@AudricV
Copy link
Member

AudricV commented Apr 16, 2021

We need to change something when extracting these channels. It returns 404 because NewPipe adds a /c/ before gaming, which isn't recognized by YouTube.

@AudricV AudricV added bug Issue is related to a bug youtube service, https://www.youtube.com/ labels Apr 16, 2021
@westlinkin
Copy link
Author

We need to change something when extracting these channels. It returns 404 because NewPipe adds a /c/ before gaming, which isn't recognized by YouTube.

what about the music channel?

@AudricV
Copy link
Member

AudricV commented Apr 27, 2021

For the music channel, this channel has no Videos tab. Channel extraction on NewPipe Extractor relies currently on the Videos tab for now. Some work for the channel tabs extraction has been already made in #279. However, someone needs to reuse the work already made to create a new PR rebased on the dev branch.

@AudricV AudricV changed the title Cannot get video in some Auto-generated channels [YouTube] Cannot get contents of some auto-generated channels Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug youtube service, https://www.youtube.com/
Projects
None yet
Development

No branches or pull requests

2 participants