btrunghieu
commited on
Commit
•
a6cb698
1
Parent(s):
b2759ca
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def parse_comments(response: Response) -> Dict:
|
|
52 |
async def scrape_comments(post_id: int, comments_count: int = 20, max_comments: int = None) -> List[Dict]:
|
53 |
|
54 |
def form_api_url(cursor: int):
|
55 |
-
base_url = "https://www.tiktok.com:
|
56 |
params = {
|
57 |
"aweme_id": post_id,
|
58 |
'count': comments_count,
|
|
|
52 |
async def scrape_comments(post_id: int, comments_count: int = 20, max_comments: int = None) -> List[Dict]:
|
53 |
|
54 |
def form_api_url(cursor: int):
|
55 |
+
base_url = "https://www.tiktok.com:443/api/comment/list/?"
|
56 |
params = {
|
57 |
"aweme_id": post_id,
|
58 |
'count': comments_count,
|