non7top/youtube-dl — comment on commit fa0d62772076210f840998726dfb0822fceeb5fb
File:  line 0
By phihag:

Since `num_downloads` is incremented by the extractor before `process_info` gets called, you'd want to use `>=`, not `>`. Also, this code currently fails to download anything if max-files is not set or set to 0. Additionally, the option should be called `max_downloads` or so, since it really has nothing to do with files (and thus doesn't belong into the filesystem option group).