ThetaDev
c4a0d0feb5
refactor!: rename n_http_retries option to n_request_attempts to be less misleading
...
the option sets the total number of attempts, not the number of attempts after the first failure
2025-02-06 03:16:03 +01:00
ThetaDev
d61e9ae3fe
feat: rewrite request attempt system, retry with different visitor data
2025-02-06 03:12:54 +01:00
ThetaDev
442523670a
feat: check rustypipe-botguard-api version
2025-02-06 01:41:48 +01:00
ThetaDev
799e1c8450
feat: add session po token cache
2025-02-06 00:48:37 +01:00
ThetaDev
f152a853b8
fix: allow player data to be fetched without botguard
2025-02-05 15:56:15 +01:00
ThetaDev
3849982dab
revert user agent
2025-02-05 15:56:15 +01:00
ThetaDev
c74a6f62f7
feat: add support for rustypipe-botguard to get PO tokens
2025-02-05 15:56:14 +01:00
ThetaDev
52744ee3bf
feat: add visitor data cache, remove random visitor data
...
Apparently YouTube can detect randomly generated visitor data and
prevents both the iOS and TV player from being fetched
(Error: Sign in to confirm you’re not a bot). Therefore the visitor
data generation code was removed and replaced with a cache that randomly
chooses from a selection of real visitor data.
2025-02-05 15:56:14 +01:00
ThetaDev
5b4e12e794
fix: retry updating deobf data after a RustyPipe update
2025-02-05 11:55:05 +01:00
ThetaDev
ed23a8392e
fix: include whole request body in report
2025-01-25 03:19:50 +01:00
ThetaDev
8d4d180f35
fix: update iOS client
2025-01-25 01:24:36 +01:00
ThetaDev
5cc342a88d
docs: update README
2025-01-16 03:45:12 +01:00
ThetaDev
8751ee6a5b
fix: only use auth-enabled clients for fetching player with auth option enabled
2025-01-13 03:22:37 +01:00
ThetaDev
9fa18acb04
feat: add cookies.txt parser, add cookie auth + history cmds to CLI
2025-01-05 05:51:00 +01:00
ThetaDev
edd54921d0
feat: add session headers when using cookie auth
2025-01-05 05:50:59 +01:00
ThetaDev
b57bd550df
feat: add history item dates, extend timeago parser
2025-01-05 05:50:59 +01:00
ThetaDev
171c22458d
feat: add functions to fetch a user's history and subscriptions
2025-01-05 05:50:58 +01:00
ThetaDev
2e21ad2514
fix: dont leak authorization and cookie header in reports
2024-12-26 01:15:34 +01:00
ThetaDev
7a6a020a39
fix: error 400 when fetching player with login
2024-12-20 03:06:03 +01:00
ThetaDev
31677181d5
fix: update client versions, enable Opus audio with iOS client
2024-12-18 19:44:42 +01:00
ThetaDev
61e26d65b5
chore: update user agent
2024-12-15 17:49:51 +01:00
ThetaDev
37791ac47b
fix: limit retry attempts to fetch client versions and deobf data
2024-12-13 03:47:37 +01:00
ThetaDev
8a2dee19f7
fix: lifetime-related lints
2024-12-01 22:29:24 +01:00
ThetaDev
7a234cbb74
fix: disable Android client
2024-11-25 15:48:04 +01:00
ThetaDev
40811a89e5
fix: fetch unlocalized player data to interpret errors correctly; regression introduced with v0.6.0
2024-11-09 03:08:00 +01:00
ThetaDev
987d007cf1
fix: handle auth errors
2024-10-24 01:40:56 +02:00
ThetaDev
2040fd4e0a
feat: revoke OAuth token when logging out
2024-10-24 01:30:59 +02:00
ThetaDev
1dcde78053
feat: add user_auth_logout method
2024-10-24 00:46:45 +02:00
ThetaDev
1eecde4d6b
test: fix authenticated testing in CI
2024-10-24 00:42:19 +02:00
ThetaDev
8cc227077b
feat: add OAuth user login to access age-restricted videos
2024-10-23 23:02:32 +02:00
ThetaDev
448657bcb5
feat!: generate random visitorData, remove RustyPipeQuery::get_context and YTContext<'a> from public API
2024-10-23 01:51:16 +02:00
ThetaDev
43805aca66
feat!: remove TvHtml5Embed client as it got disabled
2024-10-23 01:42:02 +02:00
ThetaDev
93dbd0d20c
fix: fetch artist albums continuation
2024-10-22 23:56:59 +02:00
ThetaDev
bef2fc3df6
fix: skip serializing empty cache entries
2024-10-13 22:42:21 +02:00
ThetaDev
ee76cee8d1
feat: add mobile client
2024-10-13 05:16:06 +02:00
ThetaDev
a8c7823d44
fix: prioritize visitor_data argument before opts
2024-10-12 05:29:04 +02:00
ThetaDev
cf0eb81002
fix: get TV client version
2024-08-17 03:26:20 +02:00
ThetaDev
9f16a63fe3
fix: player_from_clients: fall back to TvHtml5Embed client
2024-08-17 00:21:47 +02:00
ThetaDev
1a62471ad7
feat: change default player client order
2024-08-10 03:03:15 +02:00
ThetaDev
f27d0492cb
feat!: add TV client
2024-07-30 01:55:24 +02:00
ThetaDev
c51a273513
feat: add http_client method to RustyPipe and user_agent method to RustyPipeQuery
...
For downloading, the http client as well as the user agent used by RustyPipe
should be available.
2024-07-27 02:36:45 +02:00
ThetaDev
1934592ab8
feat: add client_type to VideoPlayer, simplify MapResponse trait
...
The MapResponse trait needed too many arguments, so I added the MapRespCtx object.
Also added the client_type to the context, so it can be added to the extracted player data.
This is necessary to be able to download videos with the correct user agent
2024-07-27 02:30:24 +02:00
ThetaDev
358307420a
test: fix tests
2024-06-18 16:10:27 +02:00
ThetaDev
2c9402aff6
feat: make get_visitor_data() public
2024-06-16 02:18:04 +02:00
ThetaDev
2aa3aba601
test: fix asserts: client version parts, iOS client bitrate
2024-05-17 18:27:24 +02:00
ThetaDev
4ab9046d33
fix: remove Innertube API keys, update android player params
2024-04-16 15:18:29 +02:00
ThetaDev
819ae447d2
chore: update user agent (FF 115.0)
2024-03-26 20:03:09 +01:00
ThetaDev
4c62672e45
tests: remove tokio_test::block_on
2024-03-16 19:21:30 +01:00
ThetaDev
582a386d76
fix: update dictionary, fix parsing playlist dates in am and no
2024-02-13 18:38:58 +01:00
ThetaDev
3e223a5fd9
fix: use new cookie consent token
2023-12-22 23:31:50 +01:00