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
from f2.apps.tiktok.handler import TiktokHandler
from f2.apps.tiktok.utils import SecUserIdFetcher, AwemeIdFetcher
from f2.utils.utils import extract_valid_urls
import asyncio
from f2.apps.tiktok.handler import TiktokHandler
from f2.apps.tiktok.utils import SecUserIdFetcher, AwemeIdFetcher
from f2.utils.utils import extract_valid_urls
async def main():
raw_url = (
"https://www.tiktok.com/@niiyamanaoto/video/7374702099826855175?is_from_webapp=1&sender_device=pc"
)
aweme_id= await AwemeIdFetcher.get_aweme_id(raw_url)
if name == "main":
print(asyncio.run(main()))
aweme_id能拿到
ERROR 连接超时错误:
https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-0037
/oIbgGIcVweMAmehb2rIQCLsErDvG0A7goQeqyC/?a=1988&bti=ODszNWYuMDE6&ch=0&
cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2792&bt=1396&cs=0&d
s=6&ft=I~da4os3D12NvF0hfhIxRG2NglBF-UjNSkopiX&mime_type=video_mp4&qs=0
&rc=MzdnNzc5NjlpNDRpODZkO0BpajRrOXk5cnQ2czMzODgzNEAwYF81MGAxNi4xNWMwLW
I2YSM2Zm5hMmRrYmBgLS1kLy1zcw%3D%3D&btag=e00090000&expire=1721213193&l=
20240717044509437D1B86BF3A11072591&ply_type=2&policy=2&signature=d6c0b
7d347b0e573aef2e8994762d762&tk=tt_chain_token
The text was updated successfully, but these errors were encountered: