shizeeg/youtube-dl — comment on commit 96af10124b0594f78051c61a8a92d49f39c8fde5
File: youtube-dl line 2785
By phihag:

To me, these checks seem almost identical. Can we simplify them to one?