drawrowfly / tiktok-scraper

TikTok Scraper. Download video posts, collect user/trend/hashtag/music feed metadata, sign URL and etc.
4.33k stars 795 forks source link

Cant extrack on heroku but work on local #512

Closed ahmadxgani closed 3 years ago

ahmadxgani commented 3 years ago

Describe the bug 2021-04-03T16:01:09.390719+00:00 app[web.1]: Error: Can't extract video metadata: https://www.tiktok.com/@tiktok/video/6807491984882765062 2021-04-03T16:01:09.390732+00:00 app[web.1]: at TikTokScraper.getVideoMetadata (/app/node_modules/tiktok-scraper/build/core/TikTok.js:797:15) 2021-04-03T16:01:09.390733+00:00 app[web.1]: at async TikTokScraper.getVideoMeta (/app/node_modules/tiktok-scraper/build/core/TikTok.js:808:25) 2021-04-03T16:01:09.390733+00:00 app[web.1]: at async Object.exports.getVideoMeta (/app/node_modules/tiktok-scraper/build/entry.js:169:20) 2021-04-03T16:01:09.390734+00:00 app[web.1]: at async module.exports (/app/server/fitures/tiktok_download.js:15:23) 2021-04-03T16:01:09.390735+00:00 app[web.1]: at async /app/server/routes/downloader.js:64:16

Code : tiktok_download.js downloader.js

To Reproduce Steps to reproduce the behavior:

Screenshots description : Got error when use heroku image

description : try on localhost image

drawrowfly commented 3 years ago

not scraper related problem. use proxies and always, Always(5 more times) check the latest version!