LuanRT
24ffb01aef
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2023-10-28 13:31:10 -03:00
LuanRT
eaac38c919
chore: lint
2023-10-28 13:30:58 -03:00
absidue
e627887fe0
chore(MediaInfo): Throw helpful errors when calling toDash or download for live and Post-Live DVR videos ( #526 )
...
* Address pull request feedback
---------
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2023-10-28 13:29:37 -03:00
LuanRT
beaa28f4c6
feat(music#getSearchSuggestions)!: Return array of SearchSuggestionsSection instead of a single node
2023-10-28 13:27:58 -03:00
LuanRT
a45273fec4
feat(parser): Add PlayerOverflow and PlayerControlsOverlay
2023-10-28 13:17:26 -03:00
absidue
bc97e07ac6
feat(UpdateViewerShipAction): Add original_view_count and unlabeled_view_count_value ( #527 )
2023-10-21 12:39:03 -03:00
LuanRT
f35b4c2c8c
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2023-10-18 23:32:01 -03:00
LuanRT
c934325648
chore: update readme [skip ci]
2023-10-18 23:31:03 -03:00
dependabot[bot]
cd27acd25b
chore(deps-dev): bump @babel/traverse from 7.22.10 to 7.23.2 ( #524 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 22:55:44 -03:00
dependabot[bot]
83b42d2585
chore(deps): bump undici from 5.23.0 to 5.26.2 ( #523 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.23.0 to 5.26.2.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.23.0...v5.26.2 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 17:36:00 -03:00
github-actions[bot]
e54c0c4bf1
chore(main): release 6.4.1 ( #507 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.4.1
2023-10-02 00:04:10 -03:00
LuanRT
8e372d5c67
fix(Feed): Do not throw when multiple continuations are present
2023-10-01 23:39:54 -03:00
LuanRT
987f50604a
fix(Playlist): Throw a more helpful error when parsing empty responses
2023-10-01 23:31:05 -03:00
Luan
69702085c6
refactor: Move transcript logic to MediaInfo ( #511 )
...
* refactor: Move transcript logic to `MediaInfo`
+ Add support for retrieving different languages.
* docs: Update and add examples
2023-09-17 22:17:14 -03:00
absidue
d2959b3a55
perf: Cache deciphered n-params by info response ( #505 )
2023-09-17 18:52:32 -03:00
absidue
68df321858
perf(generator): Remove duplicate checks in isMiscType ( #506 )
2023-09-15 15:25:08 -03:00
Ryan Sandbach
f4bc8508d0
chore(docs): Minor update ( #502 )
...
* Updated documentation example to matche syntax of existing parsers.
* Changed from require since package is setup as module.
2023-09-12 03:49:36 -03:00
LuanRT
e216124bb0
chore: update docs
2023-09-10 02:14:14 -03:00
github-actions[bot]
6d98abbd53
chore(main): release 6.4.0 ( #499 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.4.0
2023-09-10 02:08:24 -03:00
LuanRT
fba3fc9714
fix(BackstagePost): vote_button type mismatch
2023-09-10 02:06:01 -03:00
Luan
f94ea6cf91
feat: Add support for retrieving transcripts ( #500 )
...
* feat: Add support for retrieving transcripts
* chore: lint
* chore: update docs
* chore: Do not include nodes in errors thrown
* chore: Improve error messages
* fix(ExpandableMetadata): `expanded_content` type mismatch
* chore: lint
2023-09-10 01:50:30 -03:00
Jeremy Banks
86fb33ed03
feat(PlaylistManager): add .setName() and .setDescription() functions for editing playlists ( #498 )
2023-09-01 17:40:25 -03:00
github-actions[bot]
bff4210349
chore(main): release 6.3.0 ( #495 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.3.0
2023-08-31 20:41:06 -03:00
absidue
91de6e5c0e
feat(ChannelMetadata): Add music_artist_name ( #497 )
2023-08-31 20:29:58 -03:00
absidue
c26972c42a
fix(CompactMovie): Add missing import and remove unnecessary console.log ( #496 )
2023-08-31 20:28:25 -03:00
Jeremy Banks
8bc2aaa358
feat(Session): Add on_behalf_of_user session option. ( #494 )
...
This specifies which channel to use if multiple are associated with the logged-in account.
2023-08-31 08:20:37 -03:00
github-actions[bot]
2e5f076fd7
chore(main): release 6.2.0 ( #491 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.2.0
2023-08-29 14:25:32 -03:00
absidue
0412fa05ff
fix(Format): Fix is_original always being true ( #492 )
2023-08-29 14:23:08 -03:00
Luan
10c15bfb9f
feat(Session): Add fallback for session data retrieval ( #490 )
...
* feat(Session): Add fallback for session data retrieval
Should have added this when we first implemented session data retrieval to be honest. It makes a request to YouTube's service worker and the data there can change or the request can just fail.
* chore: lint
2023-08-28 07:18:27 -03:00
github-actions[bot]
4862c35cee
chore(main): release 6.1.0 ( #489 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.1.0
2023-08-27 16:43:10 -03:00
absidue
2eed1726d5
feat(parser): Add CompactMovie ( #487 )
2023-08-27 16:29:50 -03:00
absidue
8b69587787
feat(parser): Add AlertWithButton ( #486 )
2023-08-27 16:29:23 -03:00
absidue
ed7be2a675
feat(parser): Add ChannelHeaderLinksView ( #484 )
2023-08-27 16:28:49 -03:00
github-actions[bot]
361fb4a9f1
chore(main): release 6.0.2 ( #481 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.0.2
2023-08-24 17:06:07 -03:00
Daniel Wykerd
1c3ea2acd3
fix: invalid set ids in dash manifest ( #480 )
2023-08-24 15:59:10 -03:00
github-actions[bot]
859c4585d9
chore(main): release 6.0.1 ( #476 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.0.1
2023-08-22 09:07:49 -03:00
LuanRT
751f2b90fd
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2023-08-22 09:06:23 -03:00
LuanRT
90be877d28
fix(SearchSubMenu): Groups not being parsed due to a typo
2023-08-22 09:06:06 -03:00
github-actions[bot]
052632314b
chore(main): release 6.0.0 ( #461 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.0.0
2023-08-18 08:39:05 -03:00
LuanRT
22a38c0762
feat(Session): Add IOS to ClientType enum
2023-08-18 08:36:17 -03:00
LuanRT
f7614634b6
chore: lint
2023-08-18 08:26:39 -03:00
LuanRT
bf1510b235
fix(parser): Logger logging classdata as [Object object]
2023-08-18 08:17:23 -03:00
LuanRT
815e54b854
feat(MusicResponsiveListItem): Detect non music tracks properly
...
This should make it easier to identify podcast episodes.
2023-08-18 08:15:04 -03:00
LuanRT
f7666051f6
chore(parser): update MusicCarouselShelf
2023-08-18 08:11:04 -03:00
LuanRT
494ee8776a
feat(parser): add MusicMultiRowListItem
...
Used to display podcasts.
2023-08-18 08:09:04 -03:00
Daniel Wykerd
87ed3960ff
refactor!: replace unnecessary classes with pure functions ( #468 )
...
* deps: update linkedom
* refactor!: remove YTNodeGenerator in favour of namespaced pure functions
BREAKING CHANGES:
- Removes `YTNodeGenerator` from `import('youtubei.js').Generator` and exposes its functions directly in `import('youtubei.js').Generator`
* refactor!: replace Parser class with pure functions
- Remove Parser class in favour of pure functions
- Merge duplicate classes `AppendContinuationItemsAction` into a single class
- Move continuation parsers into a seperate file
- Add better custom logging support to parser methods as per issue #460
* refactor!: replace Proto class with pure functions
* chore: update package-lock.json
* refactor!: replace FormatUtils with pure functions and JSX components
- Replace linkedom DASH manifest generation with a dependency free JSX implementation
- Remove FormatUtils class in favour of pure functions
- Remove DOMParser requirement
- Remove duplicate types
* refactor: implement changes from #462
* chore: lint
* fix: deno support
* fix: render valid xml document
* fix: wrong function call in DashUtils
* fix: typo in parser
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
* refactor!: move streaming info logic into seperate function
This allows users to access the same data available in the dash manifest while also simplifying the manifest generation
* chore: lint
* refactor: readability improvements & fixes
Remove redundant getAudioTrackGroups
General readability improvements in StreamingInfo.ts
Share response object between `getBitrate` and `getMimeType` as to not make duplicate requests
* build: remove unnecessary step in deno build
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com >
* refactor: move types to `types` directory
* docs: add back comments lost during refactor
* chore: lint
---------
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com >
2023-08-18 06:49:58 -03:00
LuanRT
eb3cca1e2e
chore(example/browser): fix ALR requests failing
2023-08-18 06:33:01 -03:00
LuanRT
9971ffe021
chore: update package.json [skip ci]
2023-08-12 23:52:16 -03:00
LuanRT
7949b3df66
chore(COLLABORATORS.md): add Absidue
2023-08-12 23:50:27 -03:00
LuanRT
aa385142e4
chore: update contact email [skip ci]
2023-08-12 23:45:28 -03:00