feat(Channel): add support for filters (#237)

* feat: add support for filters

Also add `channel#getShorts()` and `channel#getLiveStreams()`

* docs: update API ref

* chore: add tests
This commit is contained in:
LuanRT
2022-11-14 19:08:16 -03:00
committed by GitHub
parent f0fd6146c7
commit 0e5e0c0fab
6 changed files with 145 additions and 8 deletions

View File

@@ -15,6 +15,7 @@ class SectionList extends YTNode {
this.target_id = data.targetId;
}
// TODO: this should be Parser#parseArray
this.contents = Parser.parse(data.contents);
if (data.continuations) {