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
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
ChunkyProgrammer
e37cf62732
fix: assign MetadataBadge's label ( #311 )
2023-02-13 03:15:06 -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
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
LuanRT
2ea3602b61
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2023-01-29 01:55:17 -03:00
LuanRT
b7df3d6df4
refactor: clean up backstage post nodes
2023-01-29 01:54:24 -03:00
ChunkyProgrammer
2acb7da019
feat: parse isLive in CompactVideo ( #294 )
...
* Feat: parse isLive in CompactVideo
* Use 3 equal signs
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com >
* use parse array for badges
add is_premiere, is_new, is_fundraiser
---------
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com >
2023-01-27 14:44:32 -03:00
LuanRT
0b991800a5
feat: extract channel error alert
2023-01-27 07:15:17 -03:00
LuanRT
50ef71284d
feat(Channel): add support for sorting the playlist tab ( #295 )
2023-01-27 06:37:35 -03:00
LuanRT
d6c5a9b971
feat: improve support for dubbed content ( #293 )
...
* feat(Format): add `language`, `is_dubbed` and `is_original`
* feat: add a format filtering option to the DASH function
> And a simple language option to VideoInfo's download method.
* chore: update docs
* feat: improve audio track info parsing
* feat(Format): parse `audioTrack` prop
2023-01-27 00:42:20 -03:00
LuanRT
0fc29f0bbf
feat(ytkids): add getChannel() ( #292 )
2023-01-23 05:38:53 -03:00
LuanRT
2bbefefbb7
feat: add support for YouTube Kids ( #291 )
...
* dev: add `WEB_KIDS` innertube client
* refactor: move DASH manifest stuff out of `VideoInfo`
This makes it easier to use these functions elsewhere.
* feat(ytkids): add `Kids#getInfo()` & `Kids#search()`
* feat: add `Innertube#kids.getHomeFeed()`
* docs: add YouTube Kids API ref
* docs: fix typo
* docs: fix yet another typo
* docs: update YouTube Music API ref
Unrelated but required to reflect changes made to the DASH manifest generation functions
* chore: lint
* chore: add tests
* feat: include `captions` in `VideoInfo`
* chore: fix tests
2023-01-23 03:39:51 -03:00
LuanRT
8e37efa575
refactor: improve livechat parser & add remaining action nodes ( #285 )
...
* refactor: improve live chat parsers & add missing nodes
* chore: update example and docs
* docs: rephrasing/formatting
* chore: remove unneeded test (unrelated)
2023-01-10 01:44:51 -03:00
absidue
5a362a0bd5
feat(EmojiRun): Add is_custom to identify custom emojis ( #283 )
2023-01-10 01:43:18 -03:00
LuanRT
dca61c3a22
feat: finalize comment section nodes ( #280 )
...
* fix: comment translation proto missing channel id
* feat: finalize nodes
* docs: update API ref
* chore: update tests
2023-01-09 08:14:31 -03:00
LuanRT
b04df7e119
chore: lint
2023-01-05 21:22:50 -03:00
LuanRT
d8d92866d1
fix(Format): some types were incorrect
2023-01-05 20:56:55 -03:00
LuanRT
d69d701869
fix(VideoInfo): watch next feed not being parsed when logged out ( #276 )
2023-01-05 19:09:16 -03:00
absidue
cd4d28c951
feat: add live stream start_timestamp ( #275 )
2023-01-05 17:35:39 -03:00
absidue
22b9c174bb
feat: add is_live and is_upcoming to VideoDetails ( #271 )
...
* feat: add is_live and is_upcoming to VideoDetails
* chore: add tests
2023-01-03 20:52:05 -03:00
LuanRT
1163125f5c
feat: add LiveChatRestrictedParticipation node ( #267 )
2022-12-31 17:42:59 -03:00
LuanRT
9ac5043309
chore: clean up & remove unneeded code ( #265 )
2022-12-31 05:49:41 -03:00
LuanRT
6a4b4f3359
feat: add support for chapters & video heatmap ( #263 )
...
* feat: add support for chapters & video heatmap
* chore: add tests
2022-12-27 04:17:05 -03:00
LuanRT
2b3642ba63
feat: add support for searching within a channel ( #262 )
...
* feat(Channel): add support for searching
* dev: add channel search test
* chore: update docs
2022-12-26 18:56:37 -03:00
LuanRT
d4382e81c3
chore: update proto and format code
2022-12-19 18:48:00 -03:00
LuanRT
cac762569a
feat(Session): allow overriding geolocation ( #260 )
...
* Allow overriding geolocation
* Fix some inconsistencies (unrelated)
2022-12-19 03:55:38 -03:00
LuanRT
9978ebf085
refactor(Parser): reduce reliance on localised strings ( #258 )
2022-12-17 00:54:08 -03:00
LuanRT
b036e2fcdc
feat(Channel): parse subscribe button
...
This way one can subscribe to a given channel simply by calling the button's endpoint.
2022-12-16 17:13:13 -03:00
LuanRT
e37f42f41b
feat: bring back Video#is_live and add ExpandableMetadata ( #256 )
...
* bring back `Video#is_live`
* add ExpandableMetadata
2022-12-15 19:01:42 -03:00
absidue
883a023624
feat(TextRun): add support for formatting ( #254 )
2022-12-14 22:48:35 -03:00
LuanRT
49d1432b5a
chore: fix a few inconsistencies
2022-11-30 19:02:49 -03:00
LuanRT
516eeeff45
refactor: improve Search parser ( #247 )
...
* refactor: improve Search parser
* chore: lint
2022-11-29 03:50:17 -03:00
LuanRT
f7c1e0f249
fix(Music): search endpoint missing
...
Related: #242
2022-11-23 20:04:24 -03:00
LuanRT
fe4c5433cf
feat: make Player instance optional ( #240 )
2022-11-16 03:17:59 -03:00
LuanRT
0e5e0c0fab
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
2022-11-14 19:08:16 -03:00
LuanRT
da517fe6d1
refactor: improve home feed parsing ( #234 )
...
* chore: update tests
* style: format code
* docs: update API ref
2022-11-12 01:31:11 -03:00
LuanRT
3cbcd71a3a
feat: add support for topic/auto-generated channels and fix minor parsing errors ( #233 )
...
* dev: add support for topic channels
* dev(parser): do not try to parse empty nodes
* dev: add support for auto-generated game channels
2022-11-11 00:38:44 -03:00
Burhan Syed
4c00f15f55
fix: WatchCardHeroVideo accessibilityData parse error ( #231 )
...
* fix #230 : WatchCardHeroVideo AccessibilityData Parser error
* add WatchCardHeroVideo test case
2022-11-10 19:18:08 -03:00
LuanRT
aa334aacbd
refactor: clean up, fix & remove outdated code ( #228 )
...
* dev: refactor and remove redundant code
* docs(music): update `Library` API ref
* docs: update examples
* chore: update lock file
2022-11-06 03:32:16 -03:00
LuanRT
1b2862c00f
refactor: improve live chat polling ( #220 )
...
* dev: add RemoveChatItemByAuthorAction renderer parser
* dev: improve live chat polling
2022-10-12 16:16:07 -03:00
Akazawa Daisuke
a9eba7ca62
feat: add RemoveChatItemAction and LiveChatTickerStickerItem ( #214 )
2022-10-03 03:09:40 -03:00