Skip to content

Commit

Permalink
- No longer try to extract streaming URLs from invidious instances. (f…
Browse files Browse the repository at this point in the history
…ixes #209)
  • Loading branch information
trizen committed Jan 21, 2025
1 parent 8e26763 commit 5e81db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WWW/PipeViewer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ sub pick_random_instance {
my @candidates = $self->select_good_invidious_instances();
my @extra_candidates = $self->select_good_invidious_instances(lax => 1);

if (1 or $self->get_prefer_invidious) {
if ($self->get_prefer_invidious) {
if (defined(my $instance = $self->_find_working_instance(\@candidates, \@extra_candidates))) {
return $instance;
}
Expand Down Expand Up @@ -937,7 +937,7 @@ sub _fallback_extract_urls {
say STDERR ":: Using invidious to extract the streaming URLs...";
}

push @formats, $self->_extract_from_invidious($videoID);
# push @formats, $self->_extract_from_invidious($videoID);

if ($self->get_debug) {
my $count = scalar(@formats);
Expand Down

0 comments on commit 5e81db7

Please sign in to comment.