Browse Source

Update

master
Jan-Lukas Else 7 months ago
parent
commit
6fc2b0726d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      index.js
  2. +1
    -1
      package.json

+ 1
- 1
index.js View File

@ -17,7 +17,7 @@ app.get('/user/:user', async (req, res) => {
"home_page_url": `https://tiktok.com/@${user}`,
"items": []
}
let posts = await scraper.user(user, { number: 5, randomUa: true, noWaterMark: false })
let posts = await scraper.user(user, { number: 5, noWaterMark: false })
for (const post of posts.collector) {
feed.items.push({
"id": post.id,


+ 1
- 1
package.json View File

@ -15,6 +15,6 @@
"dependencies": {
"express": "^4.17.1",
"he": "^1.2.0",
"tiktok-scraper": "^1.2.4"
"tiktok-scraper": "^1.3.3"
}
}

Loading…
Cancel
Save