Commit Graph

4907 Commits

Author SHA1 Message Date
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 a81c0f329c Add workaround for storyboards on priv. instances
An upstream problem with videojs-vtt-thumbnails means that URLs gets
joined incorrectly on any instance where `domain`, `external_port` and
`https_only` aren't set.

This commit adds some logic with the 404 handler to mitigate this
problem. This is however only a workaround.

See:
https://github.com/iv-org/invidious/issues/3117
https://github.com/chrisboustead/videojs-vtt-thumbnails/issues/31
2023-08-08 15:13:23 -07:00
Damjan Gerl 709bb7281b Update Slovenian translation 2023-08-07 21:29:48 +02:00
Leonardo Colman 3123478cb2 Update Portuguese translation 2023-08-07 21:29:48 +02:00
Hoang Minh Pham ebb69ee4fd Update Vietnamese translation 2023-08-07 21:29:48 +02:00
Leonardo Colman 00ac29a2ba Update Portuguese (Brazil) translation 2023-08-07 21:29:48 +02:00
Eric 9715e96adb Update Chinese (Simplified) translation 2023-08-07 21:29:48 +02:00
random r 1e170ef7d0 Update Italian translation 2023-08-07 21:29:48 +02:00
atilluF b4e9f173ab Update Italian translation 2023-08-07 21:29:48 +02:00
John Donne 2117e34e97 Update French translation 2023-08-07 21:29:48 +02:00
Overplant Poster a5bcf9ba44 Update Sinhala translation 2023-08-07 21:29:48 +02:00
Subham Jena 8a88e51382 Update Odia translation 2023-08-07 21:29:48 +02:00
Fjuro 7bf3f08daf Update Czech translation 2023-08-07 21:29:48 +02:00
Milo Ivir b41574481d Update Croatian translation 2023-08-07 21:29:48 +02:00
joaooliva b6b364c730 Update Portuguese (Brazil) translation 2023-08-07 21:29:48 +02:00
maboroshin 991d30066d Update Japanese translation 2023-08-07 21:29:48 +02:00
VoidWalker d83f92a074 Update Russian translation 2023-08-07 21:29:48 +02:00
Jeff Huang 6d0a6870cb Update Chinese (Traditional) translation 2023-08-07 21:29:48 +02:00
Nidi 979168d8de Add Azerbaijani translation 2023-08-07 21:29:48 +02:00
xrfmkrh a337150cbf Update Korean translation 2023-08-07 21:29:48 +02:00
maboroshin b7f6c265f7 Update Japanese translation 2023-08-07 21:29:48 +02:00
Oğuz Ersen d7d95fd725 Update Turkish translation 2023-08-07 21:29:48 +02:00
Ihor Hordiichuk 625d8c00ba Update Ukrainian translation 2023-08-07 21:29:48 +02:00
Jorge Maldonado Ventura 552893a3c1 Update Esperanto translation 2023-08-07 21:29:48 +02:00
Jorge Maldonado Ventura a5a5422014 Update Spanish translation 2023-08-07 21:29:48 +02:00
Matthaiks e3fe6c44f8 Update Polish translation 2023-08-07 21:29:48 +02:00
Jorge Maldonado Ventura 7a5f5173dd Update Spanish translation 2023-08-07 21:29:48 +02:00
Rex_sa f993b1e119 Update Arabic translation 2023-08-07 21:29:48 +02:00
Eryk Michalak ab475718c8 Update Polish translation 2023-08-07 21:29:48 +02:00
maboroshin 1837467aeb Update Japanese translation 2023-08-07 21:29:48 +02:00
CRW cb09f46e04 Add Latin translation 2023-08-07 21:29:47 +02:00
Jorge Maldonado Ventura 0697b3787f Update Esperanto translation 2023-08-07 21:29:47 +02:00
atilluF 71693ba606 Update Italian translation 2023-08-07 21:29:47 +02:00
Samantaz Fox 3450896602 Use workaround for fetching streaming URLs (#4037) 2023-08-07 21:29:35 +02:00
Samantaz Fox 4195dcd3cf Shards: Update ameba version and fix typo (#4033) 2023-08-07 21:07:29 +02: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
Fabio Henrique 0d27eef047 update ameba version
fix shard.yml authors typo
2023-08-06 17:53:31 +00:00
Émilien (perso) 701f03d5e8 Merge pull request #4008 from syeopite/remove_lsquic 2023-08-04 17:44:49 +02:00
Samantaz Fox 70b80ce8ad I18n: Add translation strings for new feature (fr/en) 2023-07-28 08:11:15 +02:00
syeopite a8ba02051b Remove(?) lsquic from make and docker files 2023-07-26 07:25:19 -07:00
syeopite c5fe96e936 Remove lsquic from codebase 2023-07-26 07:19:12 -07:00
syeopite 3509752b79 Rename transcript() to get_transcript() in YT API 2023-07-23 16:52:47 -07:00
syeopite e4942b188f Integrate transcript captions into captions API 2023-07-23 14:40:09 -07:00
syeopite caac7e2166 Add method to convert transcripts response to vtt 2023-07-23 14:40:08 -07:00
syeopite 4b3ac1a757 Add method to parse transcript JSON into structs 2023-07-23 14:40:08 -07:00
syeopite 8e18d445a7 Add method to generate params for transcripts api 2023-07-23 14:40:08 -07:00
syeopite 7e5935a9da Rename Caption struct to CaptionMetadata
The Caption object does not actually store any text lines for the
subtitles. Instead it stores the metadata needed to display and fetch
the actual captions from the YT timedtext API.

Therefore it may be wiser to rename the struct to be more reflective of
its current usage as well as the future usage once the current caption
retrival system is replaced via InnerTube's transcript API
2023-07-23 14:40:08 -07:00
syeopite 2e67b90540 Add method to query /youtubei/v1/get_transcript 2023-07-23 14:40:02 -07:00
Samantaz Fox d956b1826e Community: Parse quiz attachments (#3978) 2023-07-20 08:16:10 +02:00
Samantaz Fox 930b0a158d Channels: Use innertube to fetch the community tab (#3988) 2023-07-20 08:15:06 +02:00