Skip to content

Conversation

@MuhammadGagah
Copy link
Contributor

This PR updates the application to correctly handle the new TikTok short link format (vt.tiktok.com). Previously, submitting these links caused an error because the application did not attempt to resolve them to the full profile URL required by the TikTokLive client.

Changes:

  • Updated controller/main_controller.py to route vt.tiktok URLs through the canonical_scraper to extract the full tiktok.com/@user/live URL.
  • Commented out a misleading "Request failed" debug print in utils/canonical_scraper.py that appeared even when the recovery mechanism successfully extracted the username.

Testing:

  • Verified that https://vt.tiktok.com/... links now successfully connect to the live chat without crashing.
  • Confirmed that standard vm.tiktok.com and full URLs still work as expected.

- Update main_controller to detect and resolve vt.tiktok links
- Remove confusing "Request failed" log when username is successfully extracted
@metalalchemist metalalchemist merged commit 224a010 into metalalchemist:master Jan 7, 2026
2 checks passed
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