Émilien (perso)
a021b93063
Update latest version WEB_CREATOR + fix comment web embed ( #4930 )
...
* Update to latest version WEB_CREATOR
* fix comment about using web embed as a fallback
2024-09-20 00:05:41 +00:00
Émilien (perso)
d9df90b5e3
use WEB_CREATOR when po_token with WEB_EMBED as a fallback ( #4928 )
...
* use WEB_CREATOR when po_token with WEB_EMBEDDED_PLAYER as a fallback
* remove unrelated comment
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com >
---------
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com >
2024-09-20 00:19:13 +02:00
Emilien Devos
cec3cfba77
Revert "use web screen embed for fixing potoken functionality ( #4923 )"
...
This reverts commit de918b9234 .
The code doesn't work as expected. Reverting
2024-09-17 00:22:06 +02:00
Émilien (perso)
de918b9234
use web screen embed for fixing potoken functionality ( #4923 )
...
* use web screen embed for fixing potoken functionality
* use web screen embed only for getting streamingData + disable tv screen on po_token
2024-09-16 23:42:43 +02:00
Samantaz Fox
2876ee0f9f
HTML: Fix XSS vulnerability in description/comments ( #4852 )
...
Before this PR, the comment/description content was not HTML escaped when 'parse_description()'
was called with a JSON object lacking the "commandRuns" entry.
Closes issue 4727
2024-08-24 20:50:05 +02:00
Samantaz Fox
cd2daf4adb
Storyboards: Various fixes and code cleaning ( #4153 )
...
Closes issue 3441
2024-08-24 20:43:05 +02:00
syeopite
ecbea0b67b
Ameba: Fix Lint/ShadowingOuterLocalVar
2024-08-21 02:43:26 -07:00
Samantaz Fox
764965c441
Storyboards: Fix lint error
2024-08-17 12:20:53 +02:00
Samantaz Fox
a335bc0814
Storyboards: Fix some small logic mistakes
2024-08-16 10:05:49 +02:00
Samantaz Fox
7b50388eaf
Storyboards: Fix broken first storyboard
2024-08-16 10:05:48 +02:00
Samantaz Fox
da3d58f03c
Storyboards: Cleanup and document code
2024-08-16 10:05:47 +02:00
Samantaz Fox
8327862697
Storyboards: Use replace the NamedTuple by a struct
2024-08-16 10:04:40 +02:00
Samantaz Fox
6878822c4d
Storyboards: Move parser to its own file
2024-08-16 10:02:52 +02:00
Samantaz Fox
0b28054f8a
videos: Fix XSS vulnerability in description/comments
...
Patch provided by e-mail, thanks to an anonymous user whose cats are named
Yoshi and Yasuo.
Comment is mine
2024-08-15 18:26:17 +02:00
Emilien Devos
53223f99b0
Add ability to set po_token and visitordata ID
2024-07-24 19:28:47 +02:00
Samantaz Fox
7fdbda612f
Videos: Fix genre url being unusable ( #4717 )
...
Closes issue 4700
2024-07-21 17:24:03 +02:00
meatball
248df785d7
Update spec and rollback to last commits changes
2024-06-18 20:55:14 +02:00
syeopite
f466116cd7
Extract label for transcript in YouTube response
2024-06-13 09:07:20 -07:00
syeopite
5b519123a7
Raise error when transcript does not exist
2024-06-11 18:46:34 -07:00
syeopite
0224162ad2
Rewrite transcript logic to be more generic
...
The transcript logic in Invidious was written specifically
as a workaround for captions, and not transcripts as a feature.
This commit genericises the logic a bit as so it can be used for
implementing transcripts within Invidious' API and UI as well.
The most notable change is the added parsing of section headings
when it was previously skipped over in favor of regular lines.
2024-06-11 18:23:01 -07:00
meatball
04ca64691b
Make solution complaint with spec
2024-05-30 22:37:55 +02:00
meatball
5957523624
Improve code quallity
2024-05-30 22:13:30 +02:00
meatball
629599f940
Fix change in parser file
2024-05-30 21:57:15 +02:00
meatball
31ad708206
fix: Handle nil value for genreUcid in Video struct
2024-05-30 21:56:33 +02:00
Samantaz Fox
0ab6d9e748
Videos: Use android test suite client ( #4650 )
...
"Temporary" fix, until a better and more permanent solution is found.
Closes issue 4584
2024-04-26 23:54:24 +02:00
Samantaz Fox
7c1d2714e0
Comments: Add support for new format ( #4576 )
...
The new comment format is similar to the description's commandRuns.
This should fix the issues with most comments but there are still
some more changes that would need to be made like adding support for
formatting (bold, italic, underline) and channel emojis.
Fixes issue 4566
2024-04-26 23:48:15 +02:00
Samantaz Fox
c94c6f4b83
Remove legacy proxy code ( #4570 )
...
Also fixes the build on nightly as the offending code was removed.
Related to
https://github.com/iv-org/invidious/pull/4270#issuecomment-1858876952
2024-04-26 23:44:47 +02:00
Samantaz Fox
f1fd197cbc
API: convey info "is post live" from Youtube response ( #4569 )
...
Returns the 'isPostLiveDvr' field in the videos API when the video
is a post-live DVR (= ended livestream that hasn't been reprocessed
into VOD yet).
Example taken 10 minutes after that livestream ended:
/api/v1/videos/euqnWk-uP6M
{
...
"isPostLiveDvr": true,
...
}
Partially fixes 4421
2024-04-26 23:44:30 +02:00
Samantaz Fox
48ad864572
Videos: Add support for new likes format ( #4462 )
...
YouTube added a new format for like data in December 2023.
This PR adds support for parsing saod new format.
Related: LuanRT/YouTube.js issue 557
Closes 4419
2024-04-26 23:30:30 +02:00
Samantaz Fox
33f316c864
Videos: Remove AndroidScreenEmbed client
2024-04-26 23:15:34 +02:00
Samantaz Fox
be291e8f0f
Videos: Copy captions over between responses
2024-04-26 22:33:08 +02:00
Samantaz Fox
7f3ddad12e
Videos: Use android test suite client
2024-04-26 22:03:59 +02:00
ChunkyProgrammer
fbf07e18aa
Parse links in the comments
...
Co-Authored-By: Samantaz Fox <coding@samantaz.fr >
2024-04-11 08:58:33 -04:00
syeopite
990931ff67
Remove legacy proxy code
2024-04-07 11:08:12 -07:00
ChunkyProgrammer
bfd9c9876e
Parse if video is post live dvr and include it in API
2024-04-07 10:26:33 -04:00
Brahim Hadriche
1a2d408d38
Update shorts params
2024-03-31 11:37:13 -04:00
ChunkyProgrammer
5ceeefa236
add support for new likes format
2024-03-01 23:45:29 -05:00
ChunkyProgrammer
7da4a7f72b
add null safety to clip parsing
2023-12-26 22:05:09 -05:00
ChunkyProgrammer
b344d98c25
Add API endpoint for Clips
2023-12-07 09:39:04 -05:00
syeopite
438467f69a
Add playback success rate to /api/v1/stats ( #4085 )
...
* Add stats-based /videoplayback blockage status
* Count when YouTube returns wrong video as failure
* Cast playback stats hash type prior to return
* Bump stats refresh timer to 10 minutes
2023-11-04 13:52:30 +00:00
Émilien (perso)
0e4d3d89fc
update params for fetching stream data ( #4156 )
...
* update params for fetching stream data
* Remove link about special parameter
2023-10-20 08:48:56 +02:00
syeopite
be2feba17c
Lint
2023-09-23 09:57:26 -04:00
syeopite
d371eb50f2
WebVTT::Builder: rename #line to #cue
2023-09-23 09:41:41 -04:00
syeopite
0cb7d0b441
Refactor Invidious's VTT logic to use WebVtt.build
2023-09-23 09:40:04 -04:00
Samantaz Fox
842e9fade5
Captions: Add ability to use Innertube's transcripts API ( #4001 )
2023-09-18 23:31:56 +02:00
syeopite
3615bb0e62
Update src/invidious/videos/caption.cr
...
Co-authored-by: Samantaz Fox <coding@samantaz.fr >
2023-08-24 16:21:05 -07:00
syeopite
7d435f082b
Update src/invidious/videos/transcript.cr
...
Co-authored-by: Samantaz Fox <coding@samantaz.fr >
2023-08-24 23:20:20 +00:00
syeopite
1f7592e599
Refactor structure of caption.cr
...
Rename CaptionsMetadata to Metadata
Nest Metadata under Captions
Unnest LANGUAGES constant from Metadata to main Captions module
2023-08-24 16:00:02 -07:00
syeopite
6b17bb5250
Regression from #4037 | Fix storyboards
...
PR #4037 introduced a workaround around YouTube's new integrity checks
on streaming URLs. However, the usage of this workaround prevents
storyboard data from being returned by InnerTube.
This commit fixes that by only using the workaround when calling try_fetch_streaming_data
2023-08-08 15:28:01 -07:00
syeopite
2f6b2688bb
Use workaround for fetching streaming URLs
...
YouTube appears to be A/B testing some new integrity checks. Adding the
parameter "CgIQBg" to InnerTube player requests appears to workaround
the problem
See https://github.com/TeamNewPipe/NewPipeExtractor/pull/1084
2023-08-06 12:22:22 -07:00