Callbackis notSendand also requires the callback closures it stores to bySend + Sync
- The type of
Stream.last_modifiedandRawFormat.last_modifiedchanged fromDateTime<Utc>toOption<DateTime<Utc>>
- New
LatencyClassvariantUltraLow(MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW)
- type of
ID_PATTERNS,WATCH_URL_PATTERN,SHORTS_URL_PATTERN,EMBED_URL_PATTERN,SHARE_URL_PATTERN,ID_PATTERNincrate::id, andRTincrate::blockingto useonce_cell::sync::Lazyinstead 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_ratingdue to API change
- support for
shortsurl (youtube.com/shorts/<ID>)
- (internal)
VideoFetcher::get_video_info_and_jsnow acquires theVideoInfofrom the watch_html instead of/get_video_info
- upgraded to newest dependencies
clippy::nonstandard-macro-braceswarning
QualityLabel::P144HDR(144p HDR)QualityLabel::P240HDR(240p HDR)QualityLabel::360HDR(360p HDR)QualityLabel::P480HDR(480 HDR)QualityLabel::P4320Hz60HDR(4320p60 HDR)
- made
PlayabilityStatus.miniplayeroptional - made
PlayabilityStatus.miniplayeroptional - made
PlayerResponse.microformatoptional - (internal) applied a fix to
/get_video_info
- made the
embedfield ofPlayerMicroformatRendererOption<_>
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