feat: tidy things up and implement more renderers

- Finished Library parser
- Fixed search continuations
- Improved channel parser
- Improved playlist parser
- Added support for posts of type poll
- Improved History parser
- Removed redundant code
This commit is contained in:
LuanRT
2022-06-20 03:02:42 -03:00
parent a556aacfdd
commit 748e34758f
51 changed files with 567 additions and 356 deletions

View File

@@ -142,7 +142,7 @@ class VideoInfo {
const response = await filter.endpoint.call(this.#actions);
const data = response.on_response_received_endpoints.get({ target_id: 'watch-next-feed' });
this.watch_next_feed = data.continuation_items;
this.watch_next_feed = data.contents;
return this;
}
@@ -159,7 +159,7 @@ class VideoInfo {
const response = await this.#watch_next_continuation.endpoint.call(this.#actions);
const data = response.on_response_received_endpoints.get({ type: 'appendContinuationItemsAction' });
this.watch_next_feed = data.continuation_items;
this.watch_next_feed = data.contents;
this.#watch_next_continuation = this.watch_next_feed.pop();
return this.watch_next_feed;