N00b's Programming Machine

    easy-tiktok-scraper

    1.0.0 • Public • Published

    Project Title

    Easy Tiktok scraper

    Installation

    Install easy-tiktok-scraper with npm

      npm install easy-tiktok-scraper

    Example

    const { Scraper } = require("easy-tiktok-scraper")
    
    const scraper1 = new Scraper()
    
    const tiktokData = [];
    
    scraper1.tiktokScraper({
        username: "tiktok",
      })
      .then(async (data) => {
        console.log(data);
        tiktokData.push(data);
      });

    Console output

    {
      username: 'tiktok',
      followings: '543',
      followers: '61.1M',
      likes: '265M',
      dsc: 'You Have To See It 👀',
      url: 'https://www.tiktok.com/@tiktok',
      pfp: 'https://p16-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1971e99be0d67160f34f39fb1d66a0e5~c5_100x100.jpeg?x-expires=1647277200&x-signature=nW%2F5bqAsSmzmaA%2FfsZB2qRUzIFg%3D'
    }

    Developers

    Install

    npm i easy-tiktok-scraper

    DownloadsWeekly Downloads

    7

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.27 kB

    Total Files

    7

    Last publish

    Collaborators

    • dominikk