Options
All
  • Public
  • Public/Protected
  • All
Menu

tiktok-scraper-ts

Index

Functions

  • fetchAllVideosFromUser(username: string, noWaterMark?: boolean): Promise<IVideo[]>
  • Scrapes a user page and returns a list of all videos for this user

    Parameters

    • username: string

      tiktok username of a user

    • Optional noWaterMark: boolean

      if true, noWaterMark

    Returns Promise<IVideo[]>

    IVideo[]

  • fetchMusic(url: string): Promise<Music>
  • Scrapes the given Link and returns information about the Music of the Video

    Parameters

    • url: string

      tiktok video url

    Returns Promise<Music>

    Music

  • fetchUser(username: string): Promise<User>
  • Scrapes the given user page and returns all available info

    Parameters

    • username: string

      tiktok username of a user

    Returns Promise<User>

    User

  • fetchVideo(url: string, noWaterMark?: boolean): Promise<Video>
  • Scrapes the tiktok video info from the given url

    Parameters

    • url: string

      tiktok video url

    • Optional noWaterMark: boolean

      if video should be without watermark

    Returns Promise<Video>

    Video

  • fetchVideoNoWaterMark(url: string): Promise<undefined | string | void>
  • Returns direct download link for the tiktok video with no watermark!

    Parameters

    • url: string

      tiktok video url

    Returns Promise<undefined | string | void>

  • hashtag(tag: string): Promise<IVideo[]>
  • Scrapes a hashtag posts

    Parameters

    • tag: string

      tiktok hashtag

    Returns Promise<IVideo[]>

    Promise<IVideo[]>

Generated using TypeDoc