NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

Subscriber count bug

Open sefadolunay opened this issue 3 years ago • 1 comments

Checklist

  • [X] I am able to reproduce the bug with the latest version.
  • [X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • [X] I have read the FAQ and my problem isn't listed.
  • [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [X] This issue contains only one bug.
  • [X] I have read and understood the contribution guidelines.

Affected version

0.24.1

Steps to reproduce the bug

  1. Go to Search Bar
  2. Write lady gaga and press enter
  3. See the error notification at the bottom of search page which says "Sorry, something went wrong"

Expected behavior

No response

Actual behavior

No response

Screenshots/Screen recordings

sub_count_error

Logs

Exception

  • User Action: searched
  • Request: lady gaga
  • Content Country: TR
  • Content Language: tr
  • App Language: en_US
  • Service: YouTube
  • Version: 0.24.1
  • OS: Linux Android 12 - 31
Crash log

org.schabi.newpipe.extractor.exceptions.ParsingException: Could not get subscriber count at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeChannelInfoItemExtractor.getSubscriberCount(YoutubeChannelInfoItemExtractor.java:84) at org.schabi.newpipe.extractor.channel.ChannelInfoItemsCollector.extract(ChannelInfoItemsCollector.java:40) at org.schabi.newpipe.extractor.MultiInfoItemsCollector.extract(MultiInfoItemsCollector.java:84) at org.schabi.newpipe.extractor.MultiInfoItemsCollector.extract(MultiInfoItemsCollector.java:48) at org.schabi.newpipe.extractor.InfoItemsCollector.commit(InfoItemsCollector.java:104) at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeSearchExtractor.collectStreamsFrom(YoutubeSearchExtractor.java:226) at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeSearchExtractor.getInitialPage(YoutubeSearchExtractor.java:162) at org.schabi.newpipe.extractor.utils.ExtractorHelper.getItemsPageOrLogError(ExtractorHelper.java:21) at org.schabi.newpipe.extractor.search.SearchInfo.getInfo(SearchInfo.java:69) at org.schabi.newpipe.extractor.search.SearchInfo.getInfo(SearchInfo.java:37) at org.schabi.newpipe.util.ExtractorHelper.lambda$searchFor$0(ExtractorHelper.java:82) at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$qyxpuXgomWa-cbONQns-pd7zxm0(Unknown Source:0) at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda6.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:644) 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:920) Caused by: org.schabi.newpipe.extractor.utils.Parser$RegexException: Failed to find pattern "([\d]+([.,][\d]+)?)" inside of "@LadyGaga" at org.schabi.newpipe.extractor.utils.Parser.matchGroup(Parser.java:78) at org.schabi.newpipe.extractor.utils.Parser.matchGroup(Parser.java:63) at org.schabi.newpipe.extractor.utils.Parser.matchGroup1(Parser.java:52) at org.schabi.newpipe.extractor.utils.Utils.mixedNumberWordToLong(Utils.java:79) at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeChannelInfoItemExtractor.getSubscriberCount(YoutubeChannelInfoItemExtractor.java:81) ... 23 more


Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

sefadolunay avatar Jan 14 '23 10:01 sefadolunay

Fixed by #9173 and expected to be added in next release.

SameenAhnaf avatar Jan 14 '23 11:01 SameenAhnaf