xaicron / p5-www-youtube-download

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

'"' expected, at character offset 1 (before "args:{raw_player_res...") at C:/Strawberry/perl/site/lib/WWW/YouTube/Download.pm line 298. #67

Closed chinkuocr closed 1 year ago

chinkuocr commented 1 year ago

use WWW::YouTube::Download; my $client = WWW::YouTube::Download->new;

$url = "https://www.youtube.com/watch?v=he_9tKsP84Q"; $video_id = $client->video_id($url); $client->download($video_id);

I got the error below: '"' expected, at character offset 1 (before "args:{raw_player_res...") at C:/Strawberry/perl/site/lib/WWW/YouTube/Download.pm line 298.

oalders commented 1 year ago

Thanks for your report. I'm closing as it's a duplicate of #65 and this module will remain broken until someone submits a PR to fix it. However, https://github.com/yt-dlp/yt-dlp is a great alternative.