A note on youtube-dl
Marko Vojinovic
vvmarko at gmail.com
Mon Oct 1 08:58:28 UTC 2012
On Monday, 1. October 2012. 8.50.53 Reindl Harald wrote:
> Am 01.10.2012 03:11, schrieb Marko Vojinovic:
> > Ok, folks, look, the file-in-/tmp method doesn't work for some time now,
> > since the flash plugin used to delete the file as soon as it was created
> > (and before any data has been copied into it). The way to go then is to
> > grep the output of ps to find the PID of the flash plugin, then go into
> > the /proc/PID/fd, dig out the file descriptor of the deleted file
> > containing the video, then copy it somewhere else. That's what the script
> > does, or at least used to do.
> what the hell - why should youtube-dl touch flash or a webbrowser?
> how would this work without X11 in a terminal?
> hint: it would not
>
> youtube-dl is a STANDALONE script and that is why it needs
> to get updated after changes in the way youtube works
Yes, you are right, sorry, the script isn't doing what I described, it's more
involved.
But my point was that manually copying the file from /tmp doesn't work either,
and one needs to dig deep in order to steal the file from the flash plugin.
Best, :-)
Marko
More information about the users
mailing list