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

Youtube downloads aborted if download takes more than 30s #221

Open
gronnfisk opened this issue Jan 10, 2022 · 1 comment
Open

Youtube downloads aborted if download takes more than 30s #221

gronnfisk opened this issue Jan 10, 2022 · 1 comment

Comments

@gronnfisk
Copy link

gronnfisk commented Jan 10, 2022

Is your feature request related to a problem? Please describe.
On rendering videos that take more than 30 seconds to download are dropped. This is a problem when the connection is slower than usual.

Describe the solution you'd like
This is the way youtube-dl but can be changed with the --socket-timeout option. Udacimak should have the option to change that behaviour.

Additional context
✔ Getting Youtube video (id=nVbPJmf53AI) information with quality="18"
█████████████████████████████████████░░░ 92% | ETA: 3s | 2539520/2751770✖ Getting "
2022-01-10T12:44:45.636Z [error]: Youtube video with id nVbPJmf53AI could not be do:

I changed directory to:
~/.nvm/versions/node/v14.17.0/lib/node_modules/udacimak/node_modules/youtube-dl/bin $
Then ran:
./youtube-dl https://www.youtube.com/watch?v=ZNhnNVKl8NM -f 18

[youtube] ZNhnNVKl8NM: Downloading webpage
[youtube] ZNhnNVKl8NM: Downloading MPD manifest
[download] Destination: Learning Curves SC V1-ZNhnNVKl8NM.mp4
[download] 100% of 5.76MiB in 01:52

This file is successfully downloaded by youtube-dl and it took 01:52. However when called youtube-dl is called from Udacimak the download lasted 30s and aborted the download at 26% and moved to the next file to be downloaded.

@gronnfisk
Copy link
Author

related issue and workaround:
#209

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