github-actions[bot]
197bb759cd
chore(main): release 3.2.0 ( #334 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v3.2.0
2023-03-08 07:20:21 -03:00
LuanRT
c76b24b3f4
chore(parser): import YTNodes directly to reduce web bundle size
2023-03-08 07:18:01 -03:00
absidue
574b67a1f7
feat: Add support for descriptive audio tracks ( #338 )
2023-03-08 05:36:01 -03:00
LuanRT
9b2738f128
fix(SegmentedLikeDislikeButton): like/dislike buttons can also be a simple Button
2023-03-07 05:43:32 -03:00
LuanRT
95f1d4077f
fix(YouTube): fix warnings when retrieving members-only content ( #341 )
2023-03-07 05:15:46 -03:00
LuanRT
a511608f18
feat(YouTube/Search): add SearchSubMenu node ( #340 )
2023-03-07 04:17:58 -03:00
LuanRT
cf8a33c79f
fix(ytmusic): export search filters type
2023-03-07 03:02:44 -03:00
Chinmay Kumar
cfc1a183e0
refactor(parser): type YTNodes' data arg as RawNode (wip) ( #339 )
...
* replaced YTNode's data arg as RawNode
* updated documentation
* removed unused import
---- Note that there are still many nodes that need to be updated, hence the WIP status.
2023-03-07 02:02:07 -03:00
Patrick Kan
95033e723e
feat(parser): add banner to PlaylistHeader ( #337 )
2023-03-05 22:44:09 -03:00
Patrick Kan
2cc7b8bcd6
feat(yt): add getGuide() ( #335 )
...
* feat(yt): add `getGuide()`
* chore: lint
* fix(Guide): wrong prop
* fix(Guide): include subscription section
* fix(Guide): wrong import
* feat(Guide): add `page`
2023-03-04 06:23:17 -03:00
LuanRT
2d774e26aa
feat: export FormatUtils' types
2023-03-04 04:06:19 -03:00
Nico K
214aa147ce
feat(VideoInfo): add game_info and category ( #333 )
2023-03-03 03:47:20 -03:00
Daniel Wykerd
ce53ac1843
feat(parser): SharedPost ( #332 )
...
Add support for SharedPost in community tab.
Related to issue #331
2023-03-03 03:41:04 -03:00
github-actions[bot]
0ad26f28d9
chore(main): release 3.1.1 ( #330 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v3.1.1
2023-03-01 16:30:10 -03:00
ChunkyProgrammer
4c7b8a3403
fix(Channel): getting community continuations ( #329 )
2023-03-01 16:28:26 -03:00
github-actions[bot]
33a6e740d7
chore(main): release 3.1.0 ( #318 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v3.1.0
2023-02-26 20:35:20 -03:00
LuanRT
0b1840a62c
chore(docs): update examples to reflect recent changes [skip ci]
2023-02-26 20:28:16 -03:00
LuanRT
f4e0f30e6e
fix: send correct UA for Android requests
...
Related: #322
2023-02-26 19:21:41 -03:00
LuanRT
200632f374
fix(parser): export YTNodes individually so they can be used as types
...
Related: #321
2023-02-26 18:56:04 -03:00
LuanRT
f933cb45bc
feat(VideoSecondaryInfo): add support for attributed descriptions ( #325 )
2023-02-26 16:47:47 -03:00
absidue
a0e6cef00f
fix(PlayerMicroformat): Make the embed field optional ( #320 )
2023-02-25 12:11:03 -03:00
absidue
a0bfe16427
feat: Add upcoming and live info to playlist videos ( #317 )
2023-02-20 18:25:53 -03:00
Daniel Wykerd
9d352b58eb
docs: update imports for platforms ( #315 )
...
* docs: fix browser import
* docs: add deno.land instructions
As mentioned in issue #314
2023-02-17 14:53:06 -03:00
github-actions[bot]
6b6c80ddf1
chore(main): release 3.0.0 ( #309 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v3.0.0
2023-02-17 01:22:53 -03:00
LuanRT
58a6c84121
style: lint and format
2023-02-16 23:10:23 -03:00
LuanRT
63b1261b7c
deps: bump Jinter to 0.4.1
2023-02-16 23:09:40 -03:00
dependabot[bot]
d2eff3bfb8
build(deps): bump undici from 5.14.0 to 5.19.1 ( #313 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.14.0 to 5.19.1.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.14.0...v5.19.1 )
---
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-02-16 21:49:49 -03:00
LuanRT
b668ba8cfb
style(docs): rephrase some things
2023-02-16 19:38:48 -03:00
LuanRT
0b88575614
docs(browser): add ytjsexample.pages.dev live example
2023-02-16 19:32:24 -03:00
LuanRT
bed0ff4154
docs(readme): fix formatting
2023-02-16 19:05:42 -03:00
LuanRT
27a50a2a7e
docs: add documentation for Feed, FilterableFeed and TabbedFeed
2023-02-16 18:38:10 -03:00
LuanRT
d4f2d704bb
build: update package description
2023-02-16 17:03:17 -03:00
LuanRT
97f181b212
docs: update browser example
2023-02-16 07:50:02 -03:00
LuanRT
251ed74bba
chore(ChannelAgeGate): fix node type
...
channelAgeGate ---> ChannelAgeGate
2023-02-16 07:15:52 -03:00
LuanRT
1cdf701c84
feat(parser): add ChannelAgeGate node
2023-02-16 07:07:34 -03:00
LuanRT
bf12740333
feat: add support for hashtag feeds ( #312 )
...
* feat: add hashtag params proto
* feat: add support for hashtags
* chore: add test
* docs: update API ref
* fix(tests): remove unneeded `#` from param
* fix: do not throw when missing the header
2023-02-16 06:46:20 -03:00
LuanRT
0d77b59945
chore: make browser example more complete
...
See: https://ytjsexample.pages.dev/
2023-02-14 06:53:28 -03:00
LuanRT
6e30309f56
style: clean up and fix minor inconsistencies
2023-02-13 19:42:49 -03:00
ChunkyProgrammer
e37cf62732
fix: assign MetadataBadge's label ( #311 )
2023-02-13 03:15:06 -03:00
LuanRT
567fdbaf52
docs(parser): fix parser.ts link
2023-02-12 08:55:26 -03:00
LuanRT
0a22319d9e
chore(docs): update test status badge
2023-02-12 08:47:36 -03:00
LuanRT
eb72c2f6ef
refactor(parser): improve typings and do some refactoring ( #305 )
...
* dev: add response types
* dev: refactor `Parser#parseResponse()`
* dev: update YouTube parsers
* dev: update YouTube Music classes
* dev: update YouTube Kids classes
* dev: update core classes
* dev(Parser): fix some inconsistencies
* chore: update docs
* chore: update docs x2
* fix: export response types
* chore(docs): update parser example
2023-02-12 07:04:17 -03:00
Daniel Wykerd
2ccbe2ce62
refactor!: cleanup platform support ( #306 )
...
* refactor!: cleanup platform support
* chore: lint
* fix: web platform
* feat: provide UniversalCache
Provide UniversalCache as a wrapper around Platform.shim.Cache.
* fix: invalid import
* refactor: remove isolated-vm support
* fix: type info
* refactor: cleanup exports
* fix: mark jintr as external dependency
In the bundled CJS node build, mark jintr as external.
* chore: add additional exports
web exports provide a way to select web implementation manually without
relying on the bundler to select it correctly from the "exports" field
web points to src/platform/web.js
web.bundle points to bundle/browser.js
web.bundle.browser points to bundle/browser.min.js
agnostic exports provide users of the library to provide their own
platform implementation without first importing the default one.
agnostic points to src/platform/lib.ts
* fix: toDash on web
* revert: eval is synchronous
* fix: use serializeDOM in FormatUtils
* ci: automate releases with `release-please`
* chore: clean up workflow files
* ci: fix NPM publish action
---------
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2023-02-12 04:21:44 -03:00
absidue
a69e43bf3a
feat(FormatUtils): support multiple audio tracks in the DASH manifest ( #308 )
2023-02-11 20:34:39 -03:00
absidue
b2900f48a7
feat(Channel): Add getters for all optional tabs ( #303 )
...
* feat(Channel): Add getters for all optional tabs
* Fix typo in test description
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
---------
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2023-02-02 00:29:54 -03:00
absidue
d612590530
fix(TopicChannelDetails): avatar and subtitle parsing ( #302 )
2023-02-01 17:17:31 -03:00
Daniel Wykerd
e82e23dfbb
feat(parser): Text#toHTML ( #300 )
...
Added support to render Text nodes as HTML for use in web applications.
2023-02-01 16:27:59 -03:00
absidue
f62c66db39
fix(ChannelAboutFullMetadata): fix error when there are no primary links ( #299 )
2023-01-29 21:28:19 -03:00
ChunkyProgrammer
de61782f1a
feat: add parser support for MultiImage community posts ( #298 )
2023-01-29 14:39:46 -03:00
absidue
ceefbed98c
feat: allow checking whether a channel has optional tabs ( #296 )
2023-01-29 14:37:09 -03:00