Skip to main content
Module

x/youtubei/deno.ts>Mixins.Feed

A wrapper around YouTube's internal API — reverse engineering InnerTube
Very Popular
Go to Latest
class Mixins.Feed
import { Mixins } from "https://deno.land/x/youtubei@v9.3.0-deno/deno.ts";
const { Feed } = Mixins;

Constructors

new
Feed(
actions: Actions,
already_parsed?,
)

Properties

readonly
actions: Actions
readonly
channels

Get all the channels in the feed

readonly
has_continuation: boolean

Checks if the feed has continuation.

readonly
memo
readonly
page: T

Get the original page data

readonly
page_contents:
| SectionList
| MusicQueue
| RichGrid

Returns contents from the page.

readonly
playlists

Get all playlists in the feed

readonly
posts

Get all the community posts in the feed

readonly
secondary_contents: SuperParsedResult<YTNode> | undefined

Returns secondary contents from the page.

readonly
shelves

Returns all segments/sections from the page.

readonly
videos

Get all the videos in the feed

Methods

getContinuation(): Promise<Feed<T>>

Retrieves next batch of contents and returns a new Feed object.

getContinuationData(): Promise<T | undefined>

Retrieves continuation data as it is.

getShelf(title: string)

Finds shelf by title.

Static Methods

Get all playlists on a given page via memo

Get all videos on a given page via memo