absidue
ee9c184eeb
feat(protos): Add playlistTitle field to NextParams ( #1040 )
2025-09-17 19:50:20 -03:00
absidue
46c2f6c6c1
refactor: Import version, bugs URL and repo URL directly from package.json ( #1004 )
2025-09-11 15:49:48 -03:00
absidue
3ea2815aba
fix(Player): Fix global variable extraction in the deciphering code ( #1029 )
2025-09-11 15:42:27 -03:00
Luan
4ae0cc5c52
refactor(BinarySerializer): Move cache serialization to its own module
2025-07-21 05:29:40 -03:00
Luan
c16feee065
refactor(HTTPClient): Send configInfo only if using WEB
2025-06-22 20:01:07 -03:00
Luan
7ae4ccf70a
feat(DashManifest): Add DRM infos to MPD
...
Required in newer versions of Shaka (for playback of protected content).
2025-06-21 03:58:44 -03:00
Luan
e1650e1297
refactor: Clean up HTTPClient code
2025-06-08 13:45:03 -03:00
Luan
b15f623dab
fix(Constants): Add TVHTML5_SIMPLY to CLIENT_NAME_IDS
2025-06-08 13:44:01 -03:00
Luan
8cf658151f
feat: Add TV_SIMPLY client
2025-06-08 09:51:06 -03:00
Luan
561e60b934
feat(StreamingInfoOptions)!: Add is_sabr option ( #974 )
...
Returns a manifest suitable for use in SABR player implementations.
2025-06-08 07:02:10 -03:00
Brijesh Thummar
95d9211eae
fix(HTTPClient): Use the correct constant for the iOS client OS name ( #938 )
2025-04-05 12:55:18 -03:00
Luan
edfd65f5e0
fix(Player): Parse global variable used by nsig/sig ( #935 )
...
To reduce reliance on regex, we'll use an AST walker here.
Tested with the following player scripts:
https://www.youtube.com/s/player/643afba4/player_ias.vflset/en_US/base.js
https://www.youtube.com/s/player/4fcd6e4a/player_ias.vflset/en_US/base.js
https://www.youtube.com/s/player/363db69b/player_ias.vflset/en_US/base.js
2025-03-25 10:01:48 -03:00
absidue
4a4c37001d
refactor(internal): Reduce frequent accesses to the same private property ( #915 )
2025-03-20 07:46:36 -03:00
wukko
219d88b200
fix(Constants): Update the iOS client version ( #924 )
...
* utils/Constants: update the iOS client version
* utils/HTTPClient: use osName & osVersion for iOS client from Constants
2025-03-20 07:45:17 -03:00
Nansess
06a0090ae6
chore(constants): Update version numbers to latest ( #908 )
2025-02-25 07:46:31 +01:00
absidue
432571769e
revert: "fix(toDash): Fix default audio stream for dubbed movie trailers ( #858 )" ( #896 )
...
This reverts commit 00546909c0 .
2025-02-21 19:10:04 -03:00
Luan
a3fafe2f79
fix(music#getPlaylist): Handle ContinuationItem nodes
...
Closes #904
2025-02-21 18:52:34 -03:00
Nansess
5394edc9bd
chore(constants): update WEB_CREATOR version ( #893 )
...
* update WEB_CREATOR version
* Update Constants.ts
2025-02-15 11:07:51 -03:00
Loyalsoldier
774b3a7524
fix(FormatUtils): itag matching ( #886 )
2025-02-13 17:29:36 -03:00
absidue
c776b9f349
chore(Utils): Replace private static shim property with a variable ( #887 )
2025-02-08 05:58:01 -03:00
Loyalsoldier
1c1577e85f
feat(FormatUtils): choose more specific format by itag or codec ( #884 )
2025-01-28 15:43:09 -03:00
absidue
7a7139e32d
refactor(Constants): Use as const instead of Object.freeze() ( #879 )
2025-01-20 15:09:56 -03:00
absidue
06887e99fb
perf(constants): Move the client name IDs into their own CLIENT_NAME_IDS object ( #875 )
2025-01-17 07:19:53 -03:00
Luan
4d36655b2d
feat(Session): Allow using a fixed user agent for InnerTube requests ( #876 )
...
Certain attestation challenges are bound to the user agent (e.g, WebPo), so we can't just use a random one for every request.
2025-01-17 06:06:36 -03:00
absidue
1a3d663cc5
perf: Optimise DASH manifest generation ( #870 )
2025-01-13 07:43:25 -03:00
absidue
00546909c0
fix(toDash): Fix default audio stream for dubbed movie trailers ( #858 )
2024-12-31 06:12:21 -03:00
Luan
c61db19f2e
feat(getSearchSuggestions): Add optional pq param for better suggestions
2024-12-17 15:23:49 -03:00
Luan
4bf125b6a5
feat: Add MWEB client
2024-12-08 17:11:57 -03:00
Patrick Kan
a7bb981731
refactor: Cookie-based session fixes and minor additions ( #821 )
...
* (fix) `on_behalf_of_user` arg not applied
* (feat) `AccountManager#getInfo()`: Add option to fetch full accounts list
2024-11-28 17:44:30 -03:00
absidue
bbaefb12b3
chore(Utils): Bump WEB version constant to latest version ( #818 )
2024-11-26 01:49:13 -03:00
Luan
4e9d64404e
chore(docs): Update API ref
2024-11-22 04:25:16 -03:00
absidue
fc5571629e
feat(Log)!: Convert Log class to module ( #814 )
2024-11-21 21:04:38 -03:00
Luan
7397aa3f64
refactor(parser)!: Implement endpoint/command parsers ( #812 )
2024-11-21 18:24:16 -03:00
Luan
85d623c463
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2024-10-28 12:54:22 -03:00
Luan
d84273163f
chore: clean up
2024-10-28 12:51:53 -03:00
absidue
a4ef2249ff
feat: Support auto-dubbed audio tracks ( #786 )
2024-10-26 17:54:12 -03:00
Luan
b45609aa0f
feat: Add TVHTML5 InnerTube client
...
+ Update `ANDROID` version.
2024-10-26 17:39:09 -03:00
absidue
5ff30e12de
fix(toDash): Fix dash.js 4.x compatibility ( #765 )
2024-09-25 10:29:26 -03:00
absidue
910c9791e7
feat(ProtoUtils): Add support for creating NextParams ( #762 )
2024-09-23 17:33:21 -03:00
Émilien (perso)
dd7f5cf778
feat: Add WEB_CREATOR client ( #757 )
...
* feat: Add WEB_CREATOR client
* update to latest version WEB_CREATOR https://github.com/iv-org/invidious/pull/4928#issuecomment-2362302280
2024-09-20 08:59:45 -03:00
Émilien (perso)
eaf218f5da
feat: Add WEB_EMBEDDED client ( #756 )
2024-09-19 09:56:23 -03:00
Luan
0a5d3aa76d
refactor: Remove old UMP parser ( #753 )
2024-09-16 08:44:55 -03:00
Luan
94bc596048
refactor: Migrate to ts-proto ( #752 )
...
* refactor: Add extracted protos
* refactor: Remove old stuff and update affected code
* chore(package): Update `build:proto` script
* chore(ClientInfo): Rename `androidSdkVersion` to `android_sdk_version`
* chore: remove refs to old proto file
* refactor(sabr_request): Rename `Gw` to `media_type`
* chore(sabr_request): Fix typo in field num
* feat(parser): Parse `video_playback_ustreamer_config` and `server_abr_streaming_url`
* refactor: update protos
* chore(package): streamline clean and build scripts
* chore: update package.json
* chore: update npmignore
* chore(protos): Remove unneeded definitions
See https://github.com/LuanRT/googlevideo for video playback proto definitions.
* chore(package): add `rimraf` dependency
2024-09-16 06:54:29 -03:00
Luan
c14a687e65
chore: bump eslint to v9
2024-08-22 15:43:59 -03:00
Luan
4942992630
refactor: Throw an error if an invalid client is specified
2024-08-08 10:11:38 -03:00
Luan
261f2ac12b
feat(Utils): Add UMP parser
...
Currently not used anywhere in the project, but I figured I'd add it in case anyone wants to make their playback requests look more genuine by using UMP/SABR.
2024-08-08 07:57:14 -03:00
Luan
3b3cf1b2aa
refactor(Player): Generate and parse player script's AST ( #713 )
...
Notes:
- The Syntax Tree is generated by Jinter (which is built on top of `Acorn`).
- While doing this may be slightly slower than using a regular exp, it is much more reliable (plus we already cache the player functions anyway).
2024-08-01 06:09:27 -03:00
absidue
3153375bca
fix(HTTPClient): Adjust more context fields for the iOS client ( #705 )
2024-07-26 11:15:12 -03:00
absidue
858cdd197c
feat(toDash): Add the "dub" role to translated captions ( #677 )
2024-06-30 23:05:08 -03:00
슈리튬
a19511de24
fix(FormatUtils): Throw an error if download requests fails
2024-06-28 16:45:39 -03:00