Answer the question
In order to leave comments, you need to log in
How to download video from online player (ruby or python)?
Hello.
I have video embed codes like <iframe src='http://....'></iframe>
I want to upload video files to my computer.
I want to do this automatically, so solutions in ruby or python are desirable.
Sites can be different, not only youtube, so reflections on this topic are also interesting, in which direction to look
Thank you
Answer the question
In order to leave comments, you need to log in
You probably wanted to post some code, but didn't wrap it in code tags.
eventually refused to download videos from arbitrary hosting. Youtube downloads fine ruby gem viddl-rb
from the link youtube.com/watch?v=grrthrt6jhrj you get a list of hashes containing video titles and links to video files that you need to download with the open-uri library.
If there are several videos of different quality on one Youtube video page, you can access all of them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question