Comments (2)
I also found that currently, if we use a continuation to request the first page, regular video items and continuations are returned for these playlists! The new playlist header isn't returned in this case though.
Here is the protobuf schema for playlists continuations:
syntax = "proto3";
message PlaylistContinuation {
PlaylistContinuationParameters parameters = 80226972;
}
message PlaylistContinuationParameters {
string browseId = 2;
string continuationProperties = 3; // A PlaylistContinuationProperties message encoded as a Base64 string
string playlistId = 35;
}
message PlaylistContinuationProperties {
int32 requestCount = 1;
// The playlist response starts at 0 if this field is omitted
string playlistIndexParameterProtoBase64 = 15; // An optional string "PT:" with a PlaylistIndexParameter message encoded in Base64 appended at the end
ContentFiltersParameters contentFilters = 104;
}
message PlaylistIndexParameter {
int32 index = 1; // The index cannot be 0 and should be a 100 multiplier (YouTube backends return that requests contain an invalid argument otherwise)
}
// Parameters hideUnavailableVideos and showOnlyVideos can be used at the same time, but no videos would be returned in this case
message ContentFiltersParameters {
int32 hideUnavailableVideos = 1;
int32 showOnlyVideos = 2;
int32 showOnlyShorts = 3; // Parameter works but doesn't return a Shorts UI as of 08/12/23 (American English date format)
}
I suspect that this workaround will stop working if YouTube start to provide continuations to these playlists.
from newpipeextractor.
Using the mobile client is a solution at the moment, but since this is a A/B test, I dont think that will work permanently. If YouTube wants their crippled shorts UI, they are going to implement it everywhere.
I guess we need to support reel item renderers for playlists, even though we'll lose a lot of metadata.
from newpipeextractor.
Related Issues (20)
- Add ability to sort by most popular HOT 1
- Could not get any stream. See error variable to get further details. HOT 1
- Subtitles have incomplete names HOT 2
- Subtitles not shown properly HOT 1
- "Light" keys protection proposition with Base64 in the jar produced HOT 1
- Update params for fetching stream data? HOT 1
- Magnify Button to change layout from straight to landscape HOT 1
- ΠΠΊ
- Call requires API level 33 (current min is 26): java.util.stream.Collectors#toUnmodifiableList HOT 1
- Support other item types in ListInfo related items HOT 2
- Add support for Newgrounds audios and videos
- I keep getting Captcha challenges and solving them doesn't make them go away HOT 1
- Video transcripts HOT 4
- YT: Could not get like count
- YouTube Parse Error HOT 2
- Always return whatever YouTube provides when filtering search
- Consider including title in Bandcamp radio items
- [Bandcamp] Bug Pre-order Digital album shows links as null
- Support media.ccc.de Browse by category
- Support Nebula as an input platform HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newpipeextractor.