tiktok-scraper
tiktok-scraper copied to clipboard
Tiktok has changed response for username scraping.
In the function public async getUserProfileInfo(): Promise<UserMetadata> Where there comes to splitting by
is not working for me
Error: Can't extract user metadata from the html page. Make sure that user does exist and try to use proxy at TikTokScraper.getUserProfileInfo (node_modules\tiktok-scraper\build\core\TikTok.js:713:15) at async Object.exports.getUserProfileInfo (node_modules\tiktok-scraper\build\entry.js:138:20)
Same probem here using user function. Scraper seems to start but then there is no output
Same probem here using user function. Scraper seems to start but then there is no output
same
same.. starts but nothing downloads.. any alternatives anyone found ? cant seem to find anything
I've been using this https://www.npmjs.com/package/got-scraping
with this little function
I'm only using it for the same tiktok account everytime though and only to check the follower count 🤷
async function TikTokUpdate() {
console.log('Tiktok update started')
const Tok = await gotScraping({ url: 'TIKTOK USER URL' });
const start = Tok.body.indexOf('followers-count');
const end = Tok.body.indexOf('<', start);
const tikTokF = Tok.body.slice(start + 17, end);
console.log('Tiktok followers = ' + tikTokF);
return parseInt(tikTokF);
}
I've been using this https://www.npmjs.com/package/got-scraping
with this little function
I'm only using it for the same tiktok account everytime though and only to check the follower count 🤷
async function TikTokUpdate() { console.log('Tiktok update started') const Tok = await gotScraping({ url: 'TIKTOK USER URL' }); const start = Tok.body.indexOf('followers-count'); const end = Tok.body.indexOf('<', start); const tikTokF = Tok.body.slice(start + 17, end); console.log('Tiktok followers = ' + tikTokF); return parseInt(tikTokF); }
I see.. I don't think you can download videos using this though. :(
https://rapidapi.com/neotank/api/tiktok-bulletproof take a look at this scraping solution, it offers limited set of endpoints but is pretty stable.
same.. starts but nothing downloads.. any alternatives anyone found ? cant seem to find anything
same problem. Any solution?
I've been using this https://www.npmjs.com/package/got-scraping
with this little function
I'm only using it for the same tiktok account everytime though and only to check the follower count 🤷
async function TikTokUpdate() { console.log('Tiktok update started') const Tok = await gotScraping({ url: 'TIKTOK USER URL' }); const start = Tok.body.indexOf('followers-count'); const end = Tok.body.indexOf('<', start); const tikTokF = Tok.body.slice(start + 17, end); console.log('Tiktok followers = ' + tikTokF); return parseInt(tikTokF); }
thank you very much
same.. starts but nothing downloads.. any alternatives anyone found ? cant seem to find anything
same problem. Any solution?
+1