Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Getting videos from a playlist results in no videos #318

Open
4 of 5 tasks
DenizGreenComet opened this issue Dec 5, 2024 · 0 comments
Open
4 of 5 tasks

[Bug]: Getting videos from a playlist results in no videos #318

DenizGreenComet opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DenizGreenComet
Copy link

What happened?

Some playlists do not return any videos.
It has no videocount and no videos return in the object.

This id can be used for testing: https://youtube.com/playlist?list=RDlMFIejZgJSM&playnext=1&si=Ljn3yEylBIE2rM5Z

await youTubeExplode.playlists.get(url);
result is videoCount = null

Same thing if you do streaming with youTubeExplode.playlists.getVideos(url)

Stacktrace / error logs.

I/flutter (15409): [FINE] YoutubeExplode.HttpClient: Sending request: GET https://www.youtube.com/playlist?list=RDlMFIejZgJSM&hl=en&persist_hl=1
I/flutter (15409): [FINER] YoutubeExplode.HttpClient: Request headers: {user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.18 Safari/537.36, cookie: CONSENT=YES+cb, accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9, accept-language: en-US,en;q=0.5}
I/flutter (15409): [FINER] YoutubeExplode.HttpClient: Request body:
D/EGL_emulation(15409): app_time_stats: avg=777.01ms min=2.92ms max=27923.66ms count=37
I/flutter (15409): [FINE] YoutubeExplode.HttpClient: Sending request: POST https://www.youtube.com/youtubei/v1/browse?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8
I/flutter (15409): [FINER] YoutubeExplode.HttpClient: Request headers: {x-youtube-client-name: 1, x-goog-visitor-id: CgtOV0RnTDFZcXoyTSiU_MO6BjIKCgJBVRIEGgAgYg%3D%3D, content-type: text/plain; charset=utf-8, user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.18 Safari/537.36, cookie: CONSENT=YES+cb, accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9, accept-language: en-US,en;q=0.5}
I/flutter (15409): [FINER] YoutubeExplode.HttpClient: Request body: {"context":{"client":{"browserName":"Chrome","browserVersion":"105.0.0.0","clientFormFactor":"UNKNOWN_FORM_FACTOR","clientName":"WEB","clientVersion":"2.20220921.00.00"}},"browseId":"VLRDlMFIejZgJSM"}

Package (youtube_explode_dart) version

2.3.6

Checklist

  • I have provided a descriptive title
  • I have searched the issues of this repository and believe that this is not a duplicate
  • I have tested with the latest version of the library
  • (If relevant) I can open the video/playlist in a incognito/private window without being logged in.
  • I have sponsored the project

Additional notes

No response

@DenizGreenComet DenizGreenComet added the bug Something isn't working label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant