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

Huggingface instance hangs when given Youtube URL with playlist #196

Open
phu54321 opened this issue Jun 28, 2024 · 0 comments
Open

Huggingface instance hangs when given Youtube URL with playlist #196

phu54321 opened this issue Jun 28, 2024 · 0 comments

Comments

@phu54321
Copy link

image

Request URL: https://www.youtube.com/watch?v=sUfcbBgfqVE&list=LL&index=1

I suspect that the hanging is due to &list=LL part, as yt-dlp by default tries to download all items on a playlist, therefore trying to download all playlist before returning.

Solution: add noplaylist option to yt-dlp parameters. https://github.com/yt-dlp/yt-dlp/blob/54a63e80af82791d2f0985bd0176bb182963fd5f/yt_dlp/YoutubeDL.py#L302

Thanks.

@phu54321 phu54321 changed the title [Huggingface instance hangs] Huggingface instance hangs when given Youtube URL with playlist Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant