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

[FEATURE REQUEST] Create a Mix object to parse a YouTube Mix/Radio #1910

Open
Tickloop opened this issue Apr 10, 2024 · 1 comment
Open

[FEATURE REQUEST] Create a Mix object to parse a YouTube Mix/Radio #1910

Tickloop opened this issue Apr 10, 2024 · 1 comment

Comments

@Tickloop
Copy link

Is your feature request related to a problem? Please describe.

On YouTube there are three kinds of objects related to videos: videos, playlists, and mixes (or radios). Currently there is support for Playlists and Videos but not mixes. A link like: https://www.youtube.com/watch?v=mNEUkkoUoIA&list=RDmNEUkkoUoIA&start_radio=1 can't be parsed by either.

Describe the solution you'd like

A new class called Mix (flexible on naming) that can parse a url like: https://www.youtube.com/watch?v=mNEUkkoUoIA&list=RDmNEUkkoUoIA&start_radio=1

Describe alternatives you've considered

I have tried reformatting the link to resemble a playlist:
From: https://www.youtube.com/watch?v=mNEUkkoUoIA&list=RDmNEUkkoUoIA&start_radio=1
To: https://www.youtube.com/watch?v=mNEUkkoUoIA&list=RDmNEUkkoUoIA
and creating a Playlist object but that doesn't work

Additional context

PS: I have a basic solution, but it doesn't work with infinite scroll that YouTube mix's work on. YouTube mix will keep playing songs for infinity. We can't keep downloading them all though. Need to create a mechanism to pull more as needed.

Copy link

Thank you for contributing to PyTube. Please remember to reference Contributing.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant