aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/WWW/FairViewer.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/WWW/FairViewer.pm b/lib/WWW/FairViewer.pm
index 2749215..e9e968f 100644
--- a/lib/WWW/FairViewer.pm
+++ b/lib/WWW/FairViewer.pm
@@ -567,7 +567,7 @@ sub _extract_from_invidious {
}
sub _ytdl_is_available {
- (state $x = system('youtube-dl', '--version')) == 0;
+ (state $x = system('hypervideo', '--version')) == 0;
}
sub _extract_from_ytdl {
@@ -575,7 +575,7 @@ sub _extract_from_ytdl {
$self->_ytdl_is_available() || return;
- my $json = $self->proxy_stdout('youtube-dl', '--all-formats', '--dump-single-json',
+ my $json = $self->proxy_stdout('hypervideo', '--all-formats', '--dump-single-json',
quotemeta("https://www.youtube.com/watch?v=" . $videoID));
my $ref = $self->parse_json_string($json);
@@ -606,7 +606,7 @@ sub _fallback_extract_urls {
if ($self->_ytdl_is_available) {
if ($self->get_debug) {
- say STDERR ":: Using youtube-dl to extract the streaming URLs...";
+ say STDERR ":: Using hypervideo to extract the streaming URLs...";
}
push @formats, $self->_extract_from_ytdl($videoID);
@@ -888,7 +888,7 @@ sub get_streaming_urls {
}
}
- # Try again with youtube-dl
+ # Try again with hypervideo
if (!@streaming_urls or $info{status} =~ /fail|error/i) {
@streaming_urls = $self->_fallback_extract_urls($videoID);
}