Closed skaji closed 12 years ago
Hello!
It seems that youtube-download script fails with a message "failed to extract JSON data".
The reason of failure is that youtube page contains
<meta name="twitter:card" ...>
and HTTP::Headers module croaks "Illegal field name" there.
Perhaps WWW::YouTube::Download module do not need to parse headers, I added parse_head => 0 option to LWP::UserAgent.
Thank you.
it's great works! Thanks :)
Hello!
It seems that youtube-download script fails with a message "failed to extract JSON data".
The reason of failure is that youtube page contains
and HTTP::Headers module croaks "Illegal field name" there.
Perhaps WWW::YouTube::Download module do not need to parse headers, I added parse_head => 0 option to LWP::UserAgent.
Thank you.