TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.19k stars 3.03k forks source link

[Question] Why does Newpipe get buggy even before an update is released #5752

Closed SameenAhnaf closed 3 years ago

SameenAhnaf commented 3 years ago

Checklist

Steps to reproduce the bug

Newpipe is an amazing app in a word. Unfortunately, it is not free from bugs. Especially, not updating the app turns everything into a mess. Such problems are actually rare in most other YouTube downloader apps. Although, it's not a major problem. But it should be fixed to make users' update schedule at least a little flexible.

But the key problem is that app often starts to get buggy much before an update is released. For example, #5739. The channel feed shows "Content Unavailable" just after scrolling a little down.

Actual behaviour

Users most often face bugs even though no update is released.

Expected behavior

Users should not encounter any kind of bug until an update is released.

Screenshots/Screen recordings

Logs

Device info

triallax commented 3 years ago

Unfortunately, this is not something in our control. Whenever YouTube changes anything, there is a possibility that it will break NewPipe. That's just an inherent limitation of scraping data from web pages like NewPipe does.

davidasunmo commented 3 years ago

Well would you rather the bugs happen after the update, requiring another update?

SameenAhnaf commented 3 years ago

@davidasunmo That's not how it works. @mhmdanas has already mentioned an answer.

Unfortunately, this is not something in our control. Whenever YouTube changes anything, there is a possibility that it will break NewPipe. That's just an inherent limitation of scraping data from web pages like NewPipe does.

SameenAhnaf commented 3 years ago

@mhmdanas I don't know how web scraping works. But will most of the bugs get solved if the "Scrap after loading full web page" is added? I know some features like "Unload thumbnails" will be missing. But regular users like us find it frustrating to encounter bugs for 3 to 4 days every month. Should I open a new issue regarding this and where? Here or in extractor forum?

triallax commented 3 years ago

@SameenAhnaf I'll try to explain. Imagine that NewPipe used some kind of API from YouTube. YouTube would have an obligation to not break the API, at least between versions. However, NewPipe loads YouTube's web page and extracts data from it (which is what web scraping is), but YouTube has no obligation to keep the page constant. Thus, even small changes in e.g. internal names that users of the YouTube web page won't notice might break NewPipe.

But will most of the bugs get solved if the "Scrap after loading full web page" is added?

No, since that is not the cause of the bugs.

triallax commented 3 years ago

I assume that by "loading full web page" you mean loading every single image and resource before scraping. If that's correct, then again, it won't help reduce the bugs and will only waste data usage.

SameenAhnaf commented 3 years ago

@mhmdanas Thank you so much for the explanation.

davidasunmo commented 3 years ago

@davidasunmo That's not how it works. @mhmdanas has already mentioned an answer.

Unfortunately, this is not something in our control. Whenever YouTube changes anything, there is a possibility that it will break NewPipe. That's just an inherent limitation of scraping data from web pages like NewPipe does.

@SameenAhnaf I was being sarcastic x)