Commit Graph

4959 Commits

Author SHA1 Message Date
c089d57cdb Update Slovak translation 2023-08-10 21:53:28 +02:00
2b36d3b419 Update errors.cr 2023-08-10 18:45:10 +00:00
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
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
709bb7281b Update Slovenian translation 2023-08-07 21:29:48 +02:00
3123478cb2 Update Portuguese translation 2023-08-07 21:29:48 +02:00
ebb69ee4fd Update Vietnamese translation 2023-08-07 21:29:48 +02:00
00ac29a2ba Update Portuguese (Brazil) translation 2023-08-07 21:29:48 +02:00
9715e96adb Update Chinese (Simplified) translation 2023-08-07 21:29:48 +02:00
1e170ef7d0 Update Italian translation 2023-08-07 21:29:48 +02:00
b4e9f173ab Update Italian translation 2023-08-07 21:29:48 +02:00
2117e34e97 Update French translation 2023-08-07 21:29:48 +02:00
a5bcf9ba44 Update Sinhala translation 2023-08-07 21:29:48 +02:00
8a88e51382 Update Odia translation 2023-08-07 21:29:48 +02:00
7bf3f08daf Update Czech translation 2023-08-07 21:29:48 +02:00
b41574481d Update Croatian translation 2023-08-07 21:29:48 +02:00
b6b364c730 Update Portuguese (Brazil) translation 2023-08-07 21:29:48 +02:00
991d30066d Update Japanese translation 2023-08-07 21:29:48 +02:00
d83f92a074 Update Russian translation 2023-08-07 21:29:48 +02:00
6d0a6870cb Update Chinese (Traditional) translation 2023-08-07 21:29:48 +02:00
979168d8de Add Azerbaijani translation 2023-08-07 21:29:48 +02:00
a337150cbf Update Korean translation 2023-08-07 21:29:48 +02:00
b7f6c265f7 Update Japanese translation 2023-08-07 21:29:48 +02:00
d7d95fd725 Update Turkish translation 2023-08-07 21:29:48 +02:00
625d8c00ba Update Ukrainian translation 2023-08-07 21:29:48 +02:00
552893a3c1 Update Esperanto translation 2023-08-07 21:29:48 +02:00
a5a5422014 Update Spanish translation 2023-08-07 21:29:48 +02:00
e3fe6c44f8 Update Polish translation 2023-08-07 21:29:48 +02:00
7a5f5173dd Update Spanish translation 2023-08-07 21:29:48 +02:00
f993b1e119 Update Arabic translation 2023-08-07 21:29:48 +02:00
ab475718c8 Update Polish translation 2023-08-07 21:29:48 +02:00
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
0697b3787f Update Esperanto translation 2023-08-07 21:29:47 +02:00
71693ba606 Update Italian translation 2023-08-07 21:29:47 +02:00
3450896602 Use workaround for fetching streaming URLs (#4037) 2023-08-07 21:29:35 +02:00
4195dcd3cf Shards: Update ameba version and fix typo (#4033) 2023-08-07 21:07:29 +02:00
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
0d27eef047 update ameba version
fix shard.yml authors typo
2023-08-06 17:53:31 +00:00
701f03d5e8 Merge pull request #4008 from syeopite/remove_lsquic 2023-08-04 17:44:49 +02:00
70b80ce8ad I18n: Add translation strings for new feature (fr/en) 2023-07-28 08:11:15 +02:00
a8ba02051b Remove(?) lsquic from make and docker files 2023-07-26 07:25:19 -07:00
c5fe96e936 Remove lsquic from codebase 2023-07-26 07:19:12 -07:00
3509752b79 Rename transcript() to get_transcript() in YT API 2023-07-23 16:52:47 -07:00
e4942b188f Integrate transcript captions into captions API 2023-07-23 14:40:09 -07:00
caac7e2166 Add method to convert transcripts response to vtt 2023-07-23 14:40:08 -07:00
4b3ac1a757 Add method to parse transcript JSON into structs 2023-07-23 14:40:08 -07:00
8e18d445a7 Add method to generate params for transcripts api 2023-07-23 14:40:08 -07:00
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
2e67b90540 Add method to query /youtubei/v1/get_transcript 2023-07-23 14:40:02 -07:00