diff --git a/notes/channel_playlist.txt b/notes/channel_playlist.txt new file mode 100644 index 0000000..4310954 --- /dev/null +++ b/notes/channel_playlist.txt @@ -0,0 +1,18 @@ +Source: https://github.com/TeamNewPipe/NewPipe/pull/9182#issuecomment-1508938841 + +Note: we recently discovered that YouTube system playlists exist for regular videos of channels, for livestreams, and shorts as chronological ones (the shorts one was already known) and popular ones. +They correspond basically to the results of the sort filters available on the channels streams tab on YouTube's interface + +So, basically shortcuts for the lazy/incurious? + +Same procedure as the one described in the 0.24.1 changelog, except that you need to change the prefix UU (all user uploads) to: + +UULF for regular videos only, +UULV for livestreams only, +UUSH for shorts only, +UULP for popular regular videos, +UUPS for popular shorts, +UUPV for popular livestreams +UUMF: members only regular videos +UUMV: members only livestreams +UUMS is probably for members-only shorts, we need to found a channel making shorts restricted to channel members diff --git a/src/util/mod.rs b/src/util/mod.rs index f77e600..a4cab18 100644 --- a/src/util/mod.rs +++ b/src/util/mod.rs @@ -26,7 +26,7 @@ pub static VIDEO_ID_REGEX: Lazy = Lazy::new(|| Regex::new(r"^[A-Za-z0-9_- pub static CHANNEL_ID_REGEX: Lazy = Lazy::new(|| Regex::new(r"^UC[A-Za-z0-9_-]{22}$").unwrap()); pub static PLAYLIST_ID_REGEX: Lazy = - Lazy::new(|| Regex::new(r"^(?:PL|RDCLAK|OLAK)[A-Za-z0-9_-]{16,50}$").unwrap()); + Lazy::new(|| Regex::new(r"^(?:PL|RDCLAK|OLAK|UU)[A-Za-z0-9_-]{16,50}$").unwrap()); pub static ALBUM_ID_REGEX: Lazy = Lazy::new(|| Regex::new(r"^MPREb_[A-Za-z0-9_-]{11}$").unwrap()); pub static VANITY_PATH_REGEX: Lazy = Lazy::new(|| {