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
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
absidue
13ad3774c9
fix(VideoInfo): Gracefully handle missing watch next continuation ( #288 )
2023-01-23 03:36:38 -03:00
LuanRT
8051a7dee6
refactor: improve live chat polling and error handling ( #287 )
2023-01-21 02:56:10 -03:00
LuanRT
870b2811d9
chore(Comments): reword a few things in the docs
2023-01-10 23:25:31 -03:00
LuanRT
1aedbd3ea6
refactor(ytmusic): minor improvements to Library
2023-01-10 23:24:12 -03:00
LuanRT
e8af2a603d
fix(Playlist): trying to parse an already parsed response ( #286 )
...
This resulted in a 'InnertubeError: Type not found!' which was then followed by 'InnertubeError: This playlist does not exist' when retrieving the last page of a long playlist.
2023-01-10 17:18:16 -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
absidue
89ee68b084
refactor(LiveChat): Only store required video info values ( #281 )
2023-01-09 16:45:02 -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
d36389c865
refactor(VideoInfo): simplify watch next feed extraction
2023-01-05 21:44:56 -03:00
LuanRT
55ca986888
chore: use optional chaining to avoid problems
2023-01-05 21:34:04 -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
5cfb969e33
feat: implement Innertube#resolveURL(url) ( #268 )
2022-12-31 18:35:55 -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
absidue
f5d61d70f2
fix: author and thumbnails for autogenerated playlists ( #251 )
2022-12-07 20:34:53 -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
2a87f42b32
fix(Search): check if WatchCardHeroVideo is null before casting
...
Related #243
2022-11-25 01:25:02 -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
95ff1e6c5e
refactor(Library): use memo to get target YTNodes
2022-11-11 19:00:12 -03:00
LuanRT
0f8adfd9b8
chore(parser): ignore AdSlot
2022-11-11 17:23:13 -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