Please add perl-net-http to dependencies.
Search Criteria
Package Details: youtube-viewer-git 3.11.6.r0.gcc1264a-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/youtube-viewer-git.git (read-only, click to copy) |
---|---|
Package Base: | youtube-viewer-git |
Description: | A lightweight YouTube client for Linux |
Upstream URL: | https://github.com/trizen/youtube-viewer |
Keywords: | perl youtube |
Licenses: | Artistic2.0 |
Conflicts: | youtube-viewer |
Provides: | youtube-viewer |
Submitter: | trizen |
Maintainer: | trizen |
Last Packager: | trizen |
Votes: | 112 |
Popularity: | 0.000000 |
First Submitted: | 2012-09-28 06:36 (UTC) |
Last Updated: | 2025-04-22 16:46 (UTC) |
Dependencies (15)
- perl (perl-gitAUR)
- perl-data-dump
- perl-json
- perl-libwww
- perl-lwp-protocol-https
- perl-unicode-linebreak
- yt-dlp (yt-dlp-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-fullAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR) (optional) – conversions and MKV merging
- mpv (mpv-light-pulseAUR, mpv-gitAUR, mpv-build-gitAUR, mpv-full-luajit-gitAUR, mpv-amd-full-gitAUR, libmpv-gitAUR, mpv-fullAUR, mpv-full-gitAUR, mpv-full-build-gitAUR) (optional) – play videos with MPV (recommended)
- perl-json-xs (optional) – faster JSON parsing
- perl-lwp-useragent-cachedAUR (optional) – local cache support
- perl-term-readline-gnu (optional) – better STDIN support (+history)
- vlc (vlc-noxAUR, vlc-gitAUR, vlc-luajitAUR) (optional) – play videos with VLC
- wget (wget-gitAUR, wurlAUR) (optional) – download videos with wget
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 15 Next › Last »
OK100 commented on 2012-01-18 18:56 (UTC)
trizen commented on 2012-01-18 18:04 (UTC)
Updated!
trizen commented on 2012-01-15 08:48 (UTC)
I will release a new version of youtube-viewer in the next few days and I'll also add those dependencies in the PKGBUILD.
Thank you guys!
Raziel23 commented on 2012-01-15 08:17 (UTC)
I have had also problem with running youtube-viewer. After installation perl-http-message and also perl-lwp-protocol-https package everything works. The package perl-http-message is no more dependency for perl-libwww package. When I have had only installed perl-http-message package I had one line error:
Can't use an undefined value as a SCALAR reference at /usr/bin/youtube-viewer line 1494.
Best regards.
trizen commented on 2012-01-15 06:27 (UTC)
'perl-http-message' should be a dependence of 'perl-libwww' (at least it was. (Arch Linux bug?)) and 'perl-lwp-protocol-https' is optional. Your error is strange... Please run it in debug mode (youtube-viewer --debug) and copy-paste here the URL which appears. Thanks.
Also reinstalling the youtube-viewer may fix the problem...
orschiro commented on 2012-01-15 05:03 (UTC)
We're getting closer.
=>> Insert an YouTube URL or search something...
> blues
Unbalanced close tag <feed> depth=2
Force tag close <category> at depth 2 at /usr/lib/perl5/vendor_perl/XML/Fast.pm line 28, <STDIN> line 1.
Force tag close <entry> at depth 1 at /usr/lib/perl5/vendor_perl/XML/Fast.pm line 28, <STDIN> line 1.
Force tag close <feed> at depth 0 at /usr/lib/perl5/vendor_perl/XML/Fast.pm line 28, <STDIN> line 1.
Error at char 61391 ( scheme='http://gdata.youtube.com/schemas/2007/keywords.cat): Error parsing node attributes at /usr/lib/perl5/vendor_perl/XML/Fast.pm line 28, <STDIN> line 1.
I'm wondering why all these packages are not part of the dependencies.
trizen commented on 2012-01-15 04:10 (UTC)
Try to install 'perl-lwp-protocol-https'
orschiro commented on 2012-01-14 22:40 (UTC)
Thanks.
The error is gone but I do not get any videos to play.
[/home/robert]$ youtube-viewer salixos hd
(x_x) No video results!
=>> Insert an YouTube URL or search something...
> ^C
Regardless of the keywords I use I do not get any video results.
Regards
trizen commented on 2012-01-14 08:19 (UTC)
@orschiro - 'cpan HTTP::Request' or 'pacman -S perl-http-message' should fix the problem.
orschiro commented on 2012-01-14 08:10 (UTC)
I receive the following error.
Can anybody point me into the right direction?
=>> Insert an YouTube URL or search something...
> blues
Can't locate HTTP/Request.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/LWP/UserAgent.pm line 10, <STDIN> line 1.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/LWP/UserAgent.pm line 10, <STDIN> line 1.
Compilation failed in require at /usr/bin/youtube-viewer line 278, <STDIN> line 1.
Regards,
Robert
Pinned Comments
trizen commented on 2025-03-16 10:21 (UTC) (edited on 2025-03-16 10:22 (UTC) by trizen)
A workaround would be to set in the config-file,
force_fallback => 1,
which will useyt-dlp
to extract the video URLs.