Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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})
|