fix: Fix extraction for playlists longer than 100 videos

Youtube changed their API endpoint a while back breaking extraction
for playlists longer than 100 videos.
This commit is contained in:
Tilmann Meyer 2021-03-18 18:00:09 +01:00
parent ae097a3198
commit 5a8932c339
No known key found for this signature in database
GPG Key ID: A95E199988004B62
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class PlaylistPage {
{String? token}) {
if (token != null && token.isNotEmpty) {
var url =
'https://www.youtube.com/youtubei/v1/search?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8';
'https://www.youtube.com/youtubei/v1/guide?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8';
return retry(() async {
var body = {