Callback
is notSend
and also requires the callback closures it stores to bySend + Sync
- The type of
Stream.last_modified
andRawFormat.last_modified
changed fromDateTime<Utc>
toOption<DateTime<Utc>>
- New
LatencyClass
variantUltraLow
(MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW
)
- type of
ID_PATTERNS
,WATCH_URL_PATTERN
,SHORTS_URL_PATTERN
,EMBED_URL_PATTERN
,SHARE_URL_PATTERN
,ID_PATTERN
incrate::id
, andRT
incrate::blocking
to useonce_cell::sync::Lazy
instead ofstd::lazy::Sync::Lazy
- the need for a nightly compiler
- file extension when downloading streams is no longer hardcoded to
mp4
, but depends on the stream mime instead
VideoDetails.average_rating
due to API change
- support for
shorts
url (youtube.com/shorts/<ID>
)
- (internal)
VideoFetcher::get_video_info_and_js
now acquires theVideoInfo
from the watch_html instead of/get_video_info
- upgraded to newest dependencies
clippy::nonstandard-macro-braces
warning
QualityLabel::P144HDR
(144p HDR)QualityLabel::P240HDR
(240p HDR)QualityLabel::360HDR
(360p HDR)QualityLabel::P480HDR
(480 HDR)QualityLabel::P4320Hz60HDR
(4320p60 HDR)
- made
PlayabilityStatus.miniplayer
optional - made
PlayabilityStatus.miniplayer
optional - made
PlayerResponse.microformat
optional - (internal) applied a fix to
/get_video_info
- made the
embed
field ofPlayerMicroformatRenderer
Option<_>
A CLI. This CLI provides a small but useful subset of rustube
. Currently available commands:
download
: downloads a video from YouTubefetch
: fetches information about a videocheck
: checks whether or not the video can be downloaded