xaicron / p5-www-youtube-download

YouTube video download interface.
http://blog.livedoor.jp/xaicron/
Other
38 stars 28 forks source link

failed to find video urls #55

Closed gmuc closed 4 years ago

gmuc commented 4 years ago

I got the error:

$ youtube-download https://www.youtube.com/watch?v=YUVVuX-mTUI failed to find video urls at /usr/local/bin/youtube-download line 64

$ youtube-download -V youtube-download (WWW::YouTube::Download) version 0.62

OSX 10.14.6

$ perl -v

This is perl 5, version 18, subversion 4 (v5.18.4) built for darwin-thread-multi-2level

I tried different youtube URLs, every time the same problem :(

DavidEGx commented 4 years ago

Same problem here.

$ youtube-download -V youtube-download (WWW::YouTube::Download) version 0.60

$ perl -v This is perl 5, version 28, subversion 1 (v5.28.1) built for x86_64-linux-gnu-thread-multi (with 61 registered patches, see perl -V for more detail)

oalders commented 4 years ago

Thanks for reporting. I'm happy to accept a PR to fix any errors.

sdondley commented 4 years ago

Ditto. Using v. 0.62 of the module.

This is perl 5, version 24, subversion 4 (v5.24.4) built for darwin-2level

This module used to work without issue. I'm on OS X Catalina, 10.15.3.

I was on v .60 and then upgraded to .62. Both versions were broken.

sdondley commented 4 years ago

AS best I can tell, the $args hash returned by $self->_get_args($content) call do not contain the {fmt_list} and {url_encoded_fmt_stream_map} properties.

kiwiroy commented 4 years ago

I've managed to download a few videos with the 8e59d94 applied. Tests fail, but that appears to be a xt pod coverage thing. There's an array of adaptiveFormats in the JSON that are ignored and the format tag is now raw mimeType in the -a option.

oalders commented 4 years ago

@kiwiroy Do you want to create a pull request?