Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: feature complete contents parser #44

Merged
merged 62 commits into from
Jun 15, 2022
Merged
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
6a207bc
feat: allow setting search params to custom value
Wykerd Apr 29, 2022
a04deb1
feat: add initial parsers for common renderers
Wykerd Apr 29, 2022
fb5b4cb
feat: artist search renderers
Wykerd Apr 29, 2022
d0e363e
refactor: snake_case
Wykerd Apr 29, 2022
34d1ae7
feat: channel home page renderers
Wykerd Apr 29, 2022
163e58c
feat: parsers for more channel tabs
Wykerd Apr 30, 2022
e0e0f60
feat: channel full metadata
Wykerd Apr 30, 2022
4c93536
feat: renderers for playlists
Wykerd Apr 30, 2022
e0105bc
refactor!: Actions.browse
Wykerd Apr 30, 2022
90f37a7
feat: home feed parsers
Wykerd Apr 30, 2022
0367cc6
feat: watch page renderers
Wykerd Apr 30, 2022
a76bab4
feat: start implementing HomeFeed API
Wykerd Apr 30, 2022
bdadb1b
feat: generate types using tsc and jsdoc
Wykerd May 1, 2022
36c08cd
feat: browse continuations from navigationEndpoint
Wykerd May 1, 2022
c7c9b32
Merge branch 'main' into main
Wykerd May 1, 2022
ffe49ff
fix: Actions moved to session
Wykerd May 1, 2022
42f7eff
fix: add more typescript config
Wykerd May 1, 2022
5a8b13d
chore: use correct spaces and quotes
Wykerd May 1, 2022
87d7bf8
feat: Trending API
Wykerd May 1, 2022
f72cdf5
feat: reimplement existing channel API
Wykerd May 1, 2022
af73c4b
feat: add base video feed class
Wykerd May 1, 2022
de89d0c
feat: get channel videos
Wykerd May 1, 2022
05fb103
feat: channel playlists
Wykerd May 1, 2022
b8eb722
feat: get channel community posts
Wykerd May 1, 2022
8486fe6
feat: get channels from channel
Wykerd May 1, 2022
cc957b7
feat: get channel about page data
Wykerd May 1, 2022
33c134c
feat: add missing channel parsers
Wykerd May 1, 2022
b100a1f
feat: initial playlist reimplementation
Wykerd May 1, 2022
79942b3
feat: complete playlist reimplementation
Wykerd May 1, 2022
4b74c99
refactor: change InnertubeError to ES6 class
Wykerd May 1, 2022
f6d90be
fix: some unresolved types
Wykerd May 1, 2022
dcfa563
chore: update types
Wykerd May 1, 2022
1dd123d
feat: wip video details
Wykerd May 5, 2022
c58336c
Merge upstream
Wykerd May 8, 2022
e17ab5b
Merge branch 'LuanRT-main'
Wykerd May 8, 2022
43dd015
feat: get music tracks in video
Wykerd May 8, 2022
e3e5468
chore: merge upstream
Wykerd Jun 14, 2022
bc574a6
refactor: merge parsers (wip)
Wykerd Jun 14, 2022
9993bb4
fix: add pnpm to ignore
Wykerd Jun 14, 2022
c649d76
fix: merge issues
Wykerd Jun 14, 2022
bde39e9
fix: merge Video and VideoInfo
Wykerd Jun 14, 2022
62021c9
feat: set matching in Simplify
Wykerd Jun 14, 2022
e9b6f40
fix: ContinuationItem
Wykerd Jun 14, 2022
2b42c08
fix: optionally returned data
Wykerd Jun 14, 2022
b7c0552
revert: replace ContinuationItem with main
Wykerd Jun 15, 2022
9cee850
feat(parser): contents memoization by classname
Wykerd Jun 15, 2022
4b9ca4c
feat(channel): working without Simplify
Wykerd Jun 15, 2022
b2beba8
feat(feed): working continuations
Wykerd Jun 15, 2022
fe6aba6
fix: liniting issues
Wykerd Jun 15, 2022
50dcf62
feat(feed): filterable feed for home
Wykerd Jun 15, 2022
5dc7a43
feat(feed): tabbed feed for trending & channel
Wykerd Jun 15, 2022
9fb7cde
refactor: remove Simplify completely
Wykerd Jun 15, 2022
02cc213
chore: merge upstream
Wykerd Jun 15, 2022
3966836
chore: merge upstream (again)
Wykerd Jun 15, 2022
589a389
chore: lint
Wykerd Jun 15, 2022
9f4d62e
refactor: alias `items` with `contents`
Wykerd Jun 15, 2022
7e5a6a4
refactor: `Search` to extend `Feed`
Wykerd Jun 15, 2022
3556edc
fix: Search working
Wykerd Jun 15, 2022
893d206
refactor: move `Channel` and `Playlist`
Wykerd Jun 15, 2022
fbaa378
fix: pass all tests
Wykerd Jun 15, 2022
796261e
fix: linting errors
Wykerd Jun 15, 2022
4751a07
chore: merge upstream
Wykerd Jun 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: move Channel and Playlist
Wykerd committed Jun 15, 2022
commit 893d206c128c00716d1202e245a7313203814ae0
4 changes: 2 additions & 2 deletions lib/Innertube.js
Original file line number Diff line number Diff line change
@@ -25,8 +25,8 @@ const Constants = require('./utils/Constants');
const Proto = require('./proto');
const NToken = require('./deciphers/NToken');
const Signature = require('./deciphers/Signature');
const Channel = require('./core/Channel');
const Playlist = require('./core/Playlist');
const Channel = require('./parser/youtube/Channel');
const Playlist = require('./parser/youtube/Playlist');
const FilterableFeed = require('./core/FilterableFeed');
const TabbedFeed = require('./core/TabbedFeed');

File renamed without changes.
2 changes: 1 addition & 1 deletion lib/core/Playlist.js → lib/parser/youtube/Playlist.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Feed = require('./Feed');
const Feed = require('../../core/Feed');

class Playlist extends Feed {
constructor(actions, data, already_parsed = false) {