]> git.bitcoin.ninja Git - youtube-dl/commit
Added support for custom user agents.
authorhdclark <hdclark@ualberta.ca>
Thu, 23 Aug 2012 06:40:35 +0000 (23:40 -0700)
committerhdclark <hdclark@ualberta.ca>
Thu, 23 Aug 2012 06:40:35 +0000 (23:40 -0700)
commitea46fe2dd441a659e9748abc5727e568583bc6e7
tree6089b60bbd30ab5b3a0603e66debed85039fcbf2
parent9bb8dc8e42da4e47008a0acd2a1d69e00193e02d
Added support for custom user agents.

Added a few simple lines to add support for the flag "--user-agent" to pass a custom string to std_header['User-Agent'].
youtube_dl/__init__.py