You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] This issue contains only one bug. I will open one issue for every bug report I want to file.
Steps to reproduce the bug
Click on the search button and search in standard YouTube for anything, e.g.:
columnar basalt
godot
Actual behaviour
Message that no results were found.
And a flash message that something went wrong (see error log)
Expected behavior
Show search result
Screenshots/Screen recordings
Logs
Exception
User Action: searched
Request: columnar basalt
Content Country: GB
Content Language: en-GB
App Language: de_DE
Service: YouTube
Version: 0.21.0
OS: Linux Android 10 - 29
Crash log
org.schabi.newpipe.extractor.exceptions.ParsingException: Could not get ytInitialData
at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.getInitialData(YoutubeParsingHelper.java:270)
at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.extractClientVersionAndKey(YoutubeParsingHelper.java:288)
at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.getKey(YoutubeParsingHelper.java:366)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeSearchExtractor.getNewNextPageFrom(YoutubeSearchExtractor.java:233)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeSearchExtractor.getInitialPage(YoutubeSearchExtractor.java:127)
at org.schabi.newpipe.extractor.utils.ExtractorHelper.getItemsPageOrLogError(ExtractorHelper.java:19)
at org.schabi.newpipe.extractor.search.SearchInfo.getInfo(SearchInfo.java:60)
at org.schabi.newpipe.extractor.search.SearchInfo.getInfo(SearchInfo.java:30)
at org.schabi.newpipe.util.ExtractorHelper.lambda$searchFor$0(ExtractorHelper.java:80)
at org.schabi.newpipe.util.-$$Lambda$ExtractorHelper$qyxpuXgomWa-cbONQns-pd7zxm0.call(Unknown Source:8)
at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:614)
at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: org.schabi.newpipe.extractor.utils.Parser$RegexException: failed to find pattern "var\s*ytInitialData\s*=\s*(\{.*?\});"
at org.schabi.newpipe.extractor.utils.Parser.matchGroup(Parser.java:74)
at org.schabi.newpipe.extractor.utils.Parser.matchGroup(Parser.java:63)
at org.schabi.newpipe.extractor.utils.Parser.matchGroup1(Parser.java:54)
at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.getInitialData(YoutubeParsingHelper.java:266)
... 20 more
Device info
Android version/Custom ROM version: Stock-ROM Version 10 - Built 52.1.A.3.49
Device model: Sony XZ2c - H8324
The text was updated successfully, but these errors were encountered:
Checklist
Steps to reproduce the bug
Click on the search button and search in standard YouTube for anything, e.g.:
columnar basalt
godot
Actual behaviour
Message that no results were found.
And a flash message that something went wrong (see error log)
Expected behavior
Show search result
Screenshots/Screen recordings
Logs
Exception
Crash log
Device info
The text was updated successfully, but these errors were encountered: