Giter Club home page Giter Club logo

Comments (5)

michaeldsim avatar michaeldsim commented on August 14, 2024 3

for me, it was an issue with canvas because I have an ARM cpu (M1 Mac). Running this fixed it for me.
brew install pkg-config cairo pango libpng jpeg giflib librsvg

from tiktok-scraper.

s-alad avatar s-alad commented on August 14, 2024 1

Are you guys able to download videos? I get cant extract video metadata

from tiktok-scraper.

salahtader avatar salahtader commented on August 14, 2024 1

Are you guys able to download videos? I get cant extract video metadata

no
in nodejs

const tiktokScraper = require('tiktok-scraper');

(async () => {
  try {
    const user = await tiktokScraper.user('userhere');
    console.log(user);
  } catch (error) {
    console.log("error"+error);
  }
})();

result :

{
  headers: {
    'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4132.148 Safari/537.36',
    referer: 'https://www.tiktok.com/',
    cookie: 'tt_csrf_token=5OjOiYW6-NrFPN6DU; tt_chain_token=NyWSZSdRBQvsQ2faMvtgFQ=='
  },
  collector: []
}

any solution

from tiktok-scraper.

Tohka-aryani avatar Tohka-aryani commented on August 14, 2024

ngl, I just used sudo command in front of npm command.

But it came out with this warning instead

npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

from tiktok-scraper.

spainbox avatar spainbox commented on August 14, 2024

Solution is that maintainers of tiktok-scraper update their package dependencies...

from tiktok-scraper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.