YouTube.js

A wrapper around YouTube's internal API — reverse engineering InnerTube

MIT License

Downloads
139.2K
Stars
3.1K
Committers
25

Bot releases are visible (Hide)

YouTube.js - v9.4.0 Latest Release

Published by github-actions[bot] 6 months ago

9.4.0 (2024-04-29)

Features

  • Format: Add projection_type and stereo_layout (#643) (064436c)
  • Format: Add spatial_audio_type (#647) (0ba8c54)
  • Parser: Add MusicResponsiveHeader node (ea82bea)
YouTube.js - v9.3.0

Published by github-actions[bot] 6 months ago

9.3.0 (2024-04-11)

Features

  • CommentView: Implement comment interaction methods (1c08bfe)

Bug Fixes

  • CommentThread: Replies not being parsed correctly (66e34f9)
YouTube.js - v9.2.1

Published by github-actions[bot] 6 months ago

9.2.1 (2024-04-09)

Bug Fixes

  • toDash: Add missing transfer characteristics for h264 streams (#631) (0107049)
YouTube.js - v9.2.0

Published by github-actions[bot] 7 months ago

9.2.0 (2024-03-31)

Features

  • add support of cloudflare workers (#596) (2029aec)
  • parser: Support CommentView nodes (#614) (900f557)
  • parser: Support LockupView and it's child nodes (#609) (7ca2a0c)
  • Text: Support formatting and emojis in fromAttributed (#615) (e6f1f07)

Bug Fixes

  • Cache: handle the value read from the db correctly according to its type (#620) (3170659)
  • PlayerEndpoint: Workaround for "The following content is not available on this app" (Android) (#624) (d589365)
YouTube.js - v9.1.0

Published by github-actions[bot] 8 months ago

9.1.0 (2024-02-23)

Features

  • Format: Support caption tracks in adaptive formats (#598) (bff65f8)

Bug Fixes

  • Playlist: items getter failing if a playlist contains Shorts (89fa3b2)
  • Session: Don't try to extract api version from service worker (2068dfb)
YouTube.js - v9.0.2

Published by github-actions[bot] 9 months ago

9.0.2 (2024-01-31)

Bug Fixes

  • VideoInfo: Fix error because of typo in getWatchNextContinuation (#590) (b21eb9f)
YouTube.js - v9.0.1

Published by github-actions[bot] 9 months ago

9.0.1 (2024-01-26)

Bug Fixes

  • build: Circular imports causing issues with webpack (81dd5d3)
YouTube.js - v9.0.0

Published by github-actions[bot] 9 months ago

9.0.0 (2024-01-25)

⚠ BREAKING CHANGES

  • toDash: Add support for generating manifests for Post Live DVR videos (#580)

Features

  • Channel: Support getting about with PageHeader (#581) (2e710dc)
  • Channel: Support PageHeader being used on user channels (#577) (6082b4a)
  • Format: Add max_dvr_duration_sec and target_duration_dec (#570) (586bb5f)
  • parser: Add ImageBannerView (#583) (2073aa9)
  • toDash: Add support for generating manifests for Post Live DVR videos (#580) (6dd03e1)
  • VideoDetails: Add is_live_dvr_enabled, is_low_latency_live_stream and live_chunk_readahead (#569) (254f779)
  • VideoInfo: Add live stream end_timestamp (#571) (562e6a2)

Bug Fixes

  • DecoratedAvatarView: Fix parsing and optional properties (#584) (fed3512)
  • PlayerCaptionTracklist: Fix captions_tracks[].kind type (#586) (7fbc37f)
  • proto: Fix visitor data base64url decoding (#576) (3980f97)
  • toDash: Add missing transfer characteristics for h264 streams (#573) (59f4cfb)
YouTube.js - v8.2.0

Published by github-actions[bot] 9 months ago

8.2.0 (2024-01-08)

Features

  • OAuth: Allow passing custom client identity (#566) (7ffd0fc)

Bug Fixes

YouTube.js - v8.1.0

Published by github-actions[bot] 10 months ago

8.1.0 (2023-12-27)

Features

  • generator: add support for arrays (#556) (e4f2a00)
  • generator: Add support for generating view models (#550) (f938c34)
  • MediaInfo: Parse player config (5c9c231)
  • parser: Support new like and dislike nodes (#557) (fcd3044)
  • Thumbnail: Support sources in Thumbnail.fromResponse (#552) (48a5d4e)
  • YouTube: Add FEchannels feed (#560) (14578ac)

Bug Fixes

  • Format: Extract correct audio language from captions (#553) (5c83e99)
  • generator: Output Parser.parseItem() calls with one valid type, without the array (#551) (bd487f8)
  • VideoInfo: Restore like, dislike & removeRating methods (9c503f4)
YouTube.js - v8.0.0

Published by github-actions[bot] 11 months ago

8.0.0 (2023-12-01)

⚠ BREAKING CHANGES

  • Library: Add support for the new layout and remove profile & stats info
  • Channel: YouTube removed the "Channels" tab on channels, so this pull request removes the getChannels() method and has_channels getter from the YT.Channel class, as they are no longer useful. The featured channels are now shown on the channel home tab. To get them you can use the channels getter on the home tab of the channel. Please note that some channel owners might not have added that section to their home page yet, so you won't be able to get the featured channels for those channels. The home tab is the default tab that is returned when you call InnerTube#getChannel(), you can also access that tab by calling getHome() on a YT.Channel object.

Features

Bug Fixes

  • Channel: Remove getChannels() and has_channels, as YouTube removed the tab (#542) (6a5a579)
  • Library: Add support for the new layout and remove profile & stats info (4261915)
  • StructuredDescriptionContent: Add ReelShelf to list of possible nodes (f74ed5a)
  • VideoAttributeView: Fix image and overflow_menu_on_tap props (5ae15be)

Performance Improvements

  • Use named Parser import, to allow bundlers to create direct function references (#535) (95ed602)
YouTube.js - v7.0.0

Published by github-actions[bot] 12 months ago

7.0.0 (2023-10-28)

⚠ BREAKING CHANGES

  • music#getSearchSuggestions: Return array of SearchSuggestionsSection instead of a single node

Features

  • Kids: Add blockChannel command to easily block channels (#503) (9ab528e)
  • music#getSearchSuggestions: Return array of SearchSuggestionsSection instead of a single node (beaa28f)
  • parser: Add PlayerOverflow and PlayerControlsOverlay (a45273f)
  • UpdateViewerShipAction: Add original_view_count and unlabeled_view_count_value (#527) (bc97e07)

Bug Fixes

  • build: Inline package.json import to avoid runtime erros (#509) (4c0de19)
YouTube.js - v6.4.1

Published by github-actions[bot] about 1 year ago

6.4.1 (2023-10-02)

Bug Fixes

  • Feed: Do not throw when multiple continuations are present (8e372d5)
  • Playlist: Throw a more helpful error when parsing empty responses (987f506)

Performance Improvements

  • Cache deciphered n-params by info response (#505) (d2959b3)
  • generator: Remove duplicate checks in isMiscType (#506) (68df321)
YouTube.js - v6.4.0

Published by github-actions[bot] about 1 year ago

6.4.0 (2023-09-10)

Features

  • Add support for retrieving transcripts (#500) (f94ea6c)
  • PlaylistManager: add .setName() and .setDescription() functions for editing playlists (#498) (86fb33e)

Bug Fixes

  • BackstagePost: vote_button type mismatch (fba3fc9)
YouTube.js - v6.3.0

Published by github-actions[bot] about 1 year ago

6.3.0 (2023-08-31)

Features

  • ChannelMetadata: Add music_artist_name (#497) (91de6e5)
  • Session: Add on_behalf_of_user session option. (#494) (8bc2aaa)

Bug Fixes

  • CompactMovie: Add missing import and remove unnecessary console.log (#496) (c26972c)
YouTube.js - v6.2.0

Published by github-actions[bot] about 1 year ago

6.2.0 (2023-08-29)

Features

  • Session: Add fallback for session data retrieval (#490) (10c15bf)

Bug Fixes

  • Format: Fix is_original always being true (#492) (0412fa0)
YouTube.js - v6.1.0

Published by github-actions[bot] about 1 year ago

6.1.0 (2023-08-27)

Features

YouTube.js - v6.0.2

Published by github-actions[bot] about 1 year ago

6.0.2 (2023-08-24)

Bug Fixes

YouTube.js - v6.0.1

Published by github-actions[bot] about 1 year ago

6.0.1 (2023-08-22)

Bug Fixes

  • SearchSubMenu: Groups not being parsed due to a typo (90be877)
YouTube.js - v6.0.0

Published by github-actions[bot] about 1 year ago

6.0.0 (2023-08-18)

⚠ BREAKING CHANGES

  • replace unnecessary classes with pure functions (#468)

Features

  • MusicResponsiveListItem: Detect non music tracks properly (815e54b)
  • parser: add MusicMultiRowListItem (494ee87)
  • Session: Add IOS to ClientType enum (22a38c0)
  • VideoInfo: support iOS client (#467) (46fe18b)

Bug Fixes

  • Format: Extracting audio language from captions (#470) (31d27b1)
  • parser: Allow any property in the RawResponse interface (3bc53a8)
  • parser: Logger logging classdata as [Object object] (bf1510b)
  • Playlist: Only try extracting the subtitle for the first page (#465) (e370116)
  • toDash: Format grouping into AdaptationSets (#462) (1ff3e1a)

Performance Improvements

  • Cleanup some unnecessary uses of YTNode#key and Maybe (#463) (0dda97e)

Code Refactoring

  • replace unnecessary classes with pure functions (#468) (87ed396)