[youtube] Only set language when necessary
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 22 Oct 2014 22:44:21 +0000 (00:44 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 22 Oct 2014 22:44:22 +0000 (00:44 +0200)
commit6b445558ffe292c11327862ab510b1abf4e36616
treec75bfa42780b5dabdfa5071026dde63b1d478a02
parent6bf6962062ff674013d8651e190998b506c681e5
[youtube] Only set language when necessary

We only need to set the language when we are using a login; otherwise it will always be English.
youtube_dl/extractor/youtube.py