Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON text must be an object or array #41

Open
zalami opened this issue Apr 21, 2017 · 0 comments
Open

JSON text must be an object or array #41

zalami opened this issue Apr 21, 2017 · 0 comments

Comments

@zalami
Copy link

zalami commented Apr 21, 2017

use Async; use WWW::YouTube::Download;
my $proc = Async->new(sub { my $client = WWW::YouTube::Download->new; $client->download($video_id, { filename => 'sample.mp4', }); } ) or die;
throws following error:

JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at ../WWW/YouTube/Download.pm line 231.

Note: same error when using core thread: use Thread 'async';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant