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 reformat likes #783

Merged
merged 2 commits into from
Nov 10, 2022
Merged

Fix reformat likes #783

merged 2 commits into from
Nov 10, 2022

Conversation

hyperstown
Copy link
Contributor

@hyperstown hyperstown commented Oct 17, 2022

Fixes #772

New design now removed aria-label that contained likes number. New source of likes is now in the button element.

getLikeTextContainer() could not find like container since it was looking for ID or specific tag name.

I've added additional querySelector that checks for role attributes as well.

image

@Anarios
Copy link
Owner

Anarios commented Nov 10, 2022

Very well done, thanks

@Anarios Anarios merged commit aa10f30 into Anarios:main Nov 10, 2022
@hyperstown hyperstown deleted the re-format-numbers-fix branch November 11, 2022 15:14
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.

Re-format numbers broken with new YouTube UI
2 participants