TikTokPy
TikTokPy copied to clipboard
Extract data from TikTok without needing any login information or API keys.
TikTok Creative Center has four tabs: trending hashtags, trending songs, trending creators, and trending videos for a list of 15 or so countries: https://ads.tiktok.com/business/creativecenter/inspiration/popular/pc/en It would be so valuable if...
By inputting the Tiktok Video URL into the code, some of them returned. Not every URLs that I put will return this, some will work fine. "1 validation error for...
**Describe the bug** If I search for videos by hashtag, I am able to get a number of videos, and get metadata on them, but not download them. There is...
My code: ```python import asyncio from tiktokapipy.async_api import AsyncTikTokAPI async def do_something(): async with AsyncTikTokAPI() as api: video = await api.user("huydao") print(video) asyncio.run(do_something()) ``` but I have error:  Anyone...
can no longer iterate over users videos, doing `user = await api.user(user_tag)` `print(user)` returns `unique_id='user_tag' id=00000000000 nickname='user_tag' sec_uid='MS4wLjABAAAAfLpKG68lfXPA_bObhf2vKGJcFgdjffU5K7ObS7xz_Wg6oZZIZkP0lbnq-nWGtnZv' private_account=False verified=False stats=UserStats(follower_count=1056, following_count=1352, heart_count=4932, video_count=78, digg_count=0)` "id and names removed" doing...
**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....
while scraping i am having thi is issue: TikTokAPIWarning: Unable to grab videos beyond Tue Aug 29 10:43:59 2023 (JSONDecodeError), stopping iteration early.Try again if you think this is a...
Suddenly the user function doesn't work. I tried a fresh install on another machine and it always times out. This has something to do with navigation, when I run it...
Hello. I'm certain this is a simple issue of just passing through my s_v_web_id and tt_chain_token, but I'm having trouble doing so. Basically the code runs without error, but I...
Cannot download any video by down_addr from challenge collection. It returns 403 Forbidden error for video in challenge.videos requests.get(video.video.download_addr) How to fix that?