drawrowfly / tiktok-scraper

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

V2.9 #776

Open fadytaher opened 2 years ago

fadytaher commented 2 years ago

fix post nickname

Nagapetyan commented 1 year ago

doesn't work for me. Build from your repo library local env and docker

Problem 1 tiktok-scraper trend -d -n 100 --session sid_tt xxx

returns nothing.


Problem 2 docker run -v $(pwd):/usr/app/files tiktok-scraper user justinbieber -d -n 5 -s

  • TikTok Scraper Started running version is 3.7 Unexpected token < in JSON at position 0

Problem 3 docker run -v $(pwd):/usr/app/files tiktok-scraper hashtag justinbieber -d -n 5 -s

  • TikTok Scraper Started running version is 3.7 no proxy options are :{"jar":{"_jar":{"version":"tough-cookie@2.5.0","storeType":"MemoryCookieStore","rejectPublicSuffixes":true,"cookies":[{"key":"tt_webid_v2","value":"6958744924747484322","domain":"tiktok.com","path":"/","secure":true,"extensions":["hostOnly=false"],"hostOnly":false,"creation":"2023-01-10T18:33:43.062Z","lastAccessed":"2023-01-10T18:33:43.062Z"}]}},"uri":"https://m.tiktok.com/node/share/tag/justinbieber?uniqueId=justinbieber","method":"GET","qs":{"user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4270.182 Safari/537.36"},"headers":{"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4270.182 Safari/537.36","referer":"https://www.tiktok.com/"},"json":true,"resolveWithFullResponse":true,"followAllRedirects":false,"simple":true,"timeout":10000} 403 - "<html>\r\n<head><title>403 Forbidden</title></head>\r\n<body>\r\n<center><h1>403 Forbidden</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n"