Always return whatever YouTube provides when filtering search #1146
Labels
discussion
This needs to be discussed before anything is done
youtube
service, https://www.youtube.com/
NewPipeExtractor/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeSearchExtractor.java
Lines 236 to 245 in 9ab932e
This snippet comes from YouTube search extractor's
collectStreamsFrom
. At the moment we are using these boolean values to only return the requested type of items (e.g. channels) even if YouTube provides some other unrequested item types (e.g. the channel's videos).In my opinion the extractor should be transparent to such inconsistencies, and just return whatever YouTube provides. Basically, in my opinion b71ce11 should be reverted. What do you think @FireMasterK @AudricV?
The text was updated successfully, but these errors were encountered: