python-based youtube-dl
~
http://rg3.github.com/youtube-dl/
~
is sorely missing a flag in order to indicate the maximum file length of the
data feed it would download (well, unless, for some reason, it is considered a
"feature").
~
I wonder what developers were thinking about when they cam
> A few things to note:
> * Not all sites necessarily send the Content-Length header.
> * RTMP URLs would have to be treated differently
~
No some don't, but at least for the ones that do (like youtube) it would be a
useful feature. The Content-Length header is used in the code anyway
~
> * Se
~
I did find my way (through a silly hack) to get all files within a size range
without waiting for youtube-dl to be "enhanced". You could simply run
youtube-dl in simulate mode and then parse that data to get the info
~
$ youtube-dl --help | grep simulate
-s, --simulate do not d