Trys to parse the JSON Object extracted from the Page HTML
HTML DOM Content
Downloads all videos from a user page!
tiktok username of the user
download options
Extract the JSON Object from the DOM with JavaScript instead of cheerio
string
Scrapes a user page and returns a list of all videos for this user
tiktok username
whether the returned videos should be without watermark
IVideo[]
Scrapes the given Link and returns information about the Music of the Video
tiktok video url
Music
Replaces the window Object with a export string and writes the new JS file to work with the result as a JS Object
the HTML content of the Page
Scrapes hashtag posts
tiktok hashtag
Promise<IVideo[]>
Returns direct download link for the video with no watermark!
tiktok video url
string
Fetches the website content and convert its content into text.
baseUrl of the site to fetch
node-fetch fetch options. Optional
Promise<cheerio.CheerioAPI>
Example:
const $ = await requestWebsite("https://www.amazon.de/s?k=" + "airpods")
// => will return cheerio API Object to work with.
$(".prices").each((_, value) => {
console.log($(value).text().trim());
});
Does Tiktok Requests with headless chrome
Scrapes the given user page and returns all available info
tiktok username of a user
User
Scrapes the tiktok video info from the given Link
tiktok video url
Video
Generated using TypeDoc
Checker to use Node-fetch over puppteer in case cookies were not required since it happens randomly