strev 0.6.0
Strev is the CLI for extracting stream URLs and metadata from live-streaming platforms.
Added
- Twitch H.265 (HEVC) and AV1 (#1283). Pass
--extras '{"supported_codecs":["h265","av1"]}'(or"h265,av1") to list the qualities some channels stream only in those codecs. H.264 is always included, and without the option only H.264 is requested.
Fixed
- Twitch (#1283). Live playlists come from Twitch's current playback endpoint. A channel that has just gone live or just ended is reported offline until it can be played instead of failing with an error, a channel that does not exist is reported as not found and a suspended one as banned, and Twitch's own error message is shown when it refuses playback.
- Twitcasting stream password from extras (#1278). The
passwordextra now unlocks password-protected broadcasts; a?password=on the URL still takes priority. - YouTube videos through Streamlink (#1284). A link to an uploaded or finished video is reported offline instead of live.
- Bigo (#1349). The room's viewer count is no longer reported, because the field Bigo sends is a fixed protocol value (often 4108) rather than the audience. Checks with cookies send fewer requests.
- Huya chat colours (#1285). Ordinary chat messages carry no colour instead of blue.
Library changes
platforms-parser0.4.0. Breaking changes: Twitch'sget_streamsreturnsOption<Vec<StreamInfo>>(Nonewhile the channel is offline or not yet playable), and Bigo'sreserverfield is removed. New:bigo::accountfor checking and refreshing a Bigo sign-in (#1349), andDanmuMessage::rgb_color()(#1285).- The Douyin and TikTok protobuf code is committed, so building no longer needs
protoc(#1307).
Full Changelog: strev-v0.5.0...strev-v0.6.0