jonathanjordan21 commited on
Commit
4d674ce
·
verified ·
1 Parent(s): 3c795b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ async def read_item(username: str, video_id:str):
57
  # else:
58
  # url = "https://tiktok.com/"+link_detail
59
 
60
- url = f"https://tiktok.com/@{username}/video/{video_id}"
61
 
62
  with httpx.Client() as client:
63
  res = client.get(url, headers={"User-Agent":user_agent})
 
57
  # else:
58
  # url = "https://tiktok.com/"+link_detail
59
 
60
+ url = f"https://www.tiktok.com/@{username}/video/{video_id}"
61
 
62
  with httpx.Client() as client:
63
  res = client.get(url, headers={"User-Agent":user_agent})