It's also useful when you use the '--write-info-json' option.
For example for http://www.dr.dk/tv/se/moderne-klassikere/moderne-klassikere-one-republic-apologize#!/, there's a version where everytime someone speaks in English a computer voice translates it.
Conflicts: youtube_dl/extractor/fc2.py
Conflicts: youtube_dl/extractor/rtl2.py
I should have check everything was copied before commiting 4b405cfc6e.
4b405cfc6e
I didn't copied it from downloader/external
Useful for external tools using the json output. The methods '_calc_headers' and '_calc_cookies' have been copied from the downloader/external, now they just use "info_dict['http_headers']".
Setting the 'User-Agent' header is enough
[videott] improve extraction
This comes with a very simply implementation for wget; the real work is in setting up the infrastructure.
The test is probably infringing copyright and nobody has provided a new test (see #4643).