Skip to content

fix: support playlist video type filter#25

Open
SimplyRayYZL wants to merge 1 commit into
supadata-ai:mainfrom
SimplyRayYZL:fix/youtube-playlist-video-type
Open

fix: support playlist video type filter#25
SimplyRayYZL wants to merge 1 commit into
supadata-ai:mainfrom
SimplyRayYZL:fix/youtube-playlist-video-type

Conversation

@SimplyRayYZL
Copy link
Copy Markdown

Summary

  • Adds a type filter to youtube.playlist.videos(...), matching youtube.channel.videos(...).
  • Keeps playlist video responses compatible with video_ids, short_ids, and live_ids.
  • Adds regression coverage for default playlist requests and type="short".

Fixes #12
/claim #12

Validation

  • python3 -m py_compile supadata/youtube.py tests/test_client.py
  • python3 -m pytest tests/test_client.py -q
  • Result: 57 passed

@algora-pbc algora-pbc Bot mentioned this pull request May 13, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Shorts

2 participants