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

Fixes tiktokUtils.js getRoomId() #212

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

fmalk
Copy link
Contributor

@fmalk fmalk commented Jul 10, 2024

Regex wasn't able to find a proper "roomId" text since there is an empty one first and a few broken others. This loop tries to find an usable one until the end of the string.

Regex wasn't able to find a proper "roomId" text since there is an empty one first and a few broken others. This loop tries to find an usable one until the end of the string.
@fmalk
Copy link
Contributor Author

fmalk commented Jul 10, 2024

This is fix was proposed by @isaackogan so I followed his direction https://discord.com/channels/977648006063091742/1145076448084897904/1260390017671499818

It was just a matter of getting a working regex

@zerodytrash
Copy link
Owner

Works! Thanks for the adjustment.

@zerodytrash zerodytrash merged commit 1a285c3 into zerodytrash:main Jul 10, 2024
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.

2 participants