### Using tmdbScrape Function in TypeScript Source: https://github.com/cool-dev-guy/vidsrc.ts/blob/main/README.md This snippet demonstrates how to import and use the `tmdbScrape` function to fetch media streams. It shows examples for both movies, requiring a TMDB ID and 'movie' type, and TV series, which additionally require season and episode numbers. The function returns a promise that resolves to the stream data. ```TypeScript import tmdbScrape from "vidsrc.ts"; console.log(await tmdbScrape("76479", "tv",1,1)); await tmdbScrape("TMDB_ID", "movie"); // movies (TMDB_ID:string,"movie") await tmdbScrape("TMDB_ID","tv",1,1); // series (TMDB_ID:string,"tv",season:number,episode:number) ``` -------------------------------- ### Expected Return Type of tmdbScrape in JavaScript Source: https://github.com/cool-dev-guy/vidsrc.ts/blob/main/README.md This snippet illustrates the expected structure of the data returned by the `tmdbScrape` function. It's an array of objects, where each object contains properties like `name`, `image`, `mediaId`, and `stream` (a URL to the media playlist). This structure is subject to change as indicated in the documentation. ```JavaScript [ { name: "", image: "", mediaId: "996", stream: "https://playlist.m3u8" } ] ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.