@riqtu/tiktok-scraper
Version:
Modified TikTok Scraper with proxy support
10 lines (9 loc) • 460 B
TypeScript
import { Aweme } from "../types";
/**
* Fetches the list of Aweme objects from the specified URL.
*
* @param url - The URL to fetch the Aweme list from.
* @returns A promise that resolves to a tuple containing the Aweme ID and the list of Aweme objects, or null if the Aweme ID is not found or the data is invalid.
*/
declare const fetchAwemeList: (url: string, agent?: any) => Promise<[Aweme["aweme_id"], Aweme[]] | null>;
export default fetchAwemeList;