You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
TikTok got rid of #SIGI_STATE and replaced it with #__UNIVERSAL_DATA_FOR_REHYDRATION__, now the data exists in ex /__DEFAULT_SCOPE__/webapp.video-detail/itemInfo and has different keys so the mapper doesn't work anymore.
To Reproduce
Steps to reproduce the behavior:
Scrape any page. Timeout occurs because SIGI_STATE isn't attached.
Expected behavior
Well, you know...
Version Information
Please include what versions of pydantic, playwright, and tiktokapipy you have installed (can be found with pip freeze).
System Information
Please provide information about the system you're running the library on. What's the OS? Is it a desktop, server, VM, or container?
Various linux (ubuntu/debian) machines Region Information
Where in the world are you located? If you're not in the US, it's likely that TikTok treats your region differently, which may present some challenges.
US Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
As of today, i only see static and user data in the new state object, eg __$UNIVERSAL_DATA$__.__DEFAULT_SCOPE__["webapp.user-detail"] but no webapp.video-detail. Video data should be gathered through the DeferredItemListIterator(self._api, "post", self.sec_uid) magic anyways, so shmaybe not a big change needed?
Describe the bug
TikTok got rid of
#SIGI_STATE
and replaced it with#__UNIVERSAL_DATA_FOR_REHYDRATION__
, now the data exists in ex/__DEFAULT_SCOPE__/webapp.video-detail/itemInfo
and has different keys so the mapper doesn't work anymore.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Well, you know...
Version Information
Please include what versions of pydantic, playwright, and tiktokapipy you have installed (can be found with
pip freeze
).System Information
Please provide information about the system you're running the library on. What's the OS? Is it a desktop, server, VM, or container?
Various linux (ubuntu/debian) machines
Region Information
Where in the world are you located? If you're not in the US, it's likely that TikTok treats your region differently, which may present some challenges.
US
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: