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

Fix YouTube subscriber count #196

Merged
merged 2 commits into from
Sep 18, 2019
Merged

Fix YouTube subscriber count #196

merged 2 commits into from
Sep 18, 2019

Conversation

TobiGr
Copy link
Contributor

@TobiGr TobiGr commented Sep 16, 2019

Modify test to fail on too small subscriber count

Fixes TeamNewPipe/NewPipe#2632

CC @theScrabi @Stypox

Modify test to fail on too small subscriber count
Add Billion to mixedNumberWordToLong
@theScrabi theScrabi merged commit 6d504e0 into dev Sep 18, 2019
@TobiGr TobiGr deleted the subscriber-count branch September 18, 2019 15:12
mauriciocolli added a commit to mauriciocolli/NewPipeExtractor that referenced this pull request Oct 2, 2019
@mauriciocolli
Copy link
Contributor

Just a question: Shouldn't we have a way to indicate when we don't have a precise number available? It's a shame if someone is using this library as their source of information for some project that depends on it (e.g. track subscribers over time).

Keep in mind that this change would just make the wording/results more accurate, the user would still have to live with that.

Maybe including a warning in the documentation is enough?

@TobiGr
Copy link
Contributor Author

TobiGr commented Oct 3, 2019

Shouldn't we have a way to indicate when we don't have a precise number available?

Yes, you are right. A warning in the docs is the minimum, maybe printing a warning to the console would be a good compromise, but even a new method (something like isSubscriberCountAccurate()) is possible.
CC @Stypox @theScrabi

@omarroth omarroth mentioned this pull request Oct 4, 2019
3 tasks
mauriciocolli added a commit to mauriciocolli/NewPipeExtractor that referenced this pull request Oct 6, 2019
mauriciocolli added a commit to mauriciocolli/NewPipeExtractor that referenced this pull request Oct 11, 2019
mauriciocolli added a commit to mauriciocolli/NewPipeExtractor that referenced this pull request Oct 28, 2019
mauriciocolli added a commit to mauriciocolli/NewPipeExtractor that referenced this pull request Oct 28, 2019
mauriciocolli added a commit to mauriciocolli/NewPipeExtractor that referenced this pull request Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subscription count shows to small values
4 participants