Skip to content

Commit

Permalink
Load "WWW::PipeViewer::Utils" in "WWW::PipeViewer".
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Aug 30, 2021
1 parent c470092 commit 8676a62
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 @@ -27,6 +27,8 @@ use parent qw(
WWW::PipeViewer::VideoCategories
);

use WWW::PipeViewer::Utils;

=head1 NAME
WWW::PipeViewer - A very easy interface to YouTube, using the API of invidious.
Expand Down Expand Up @@ -619,8 +621,6 @@ sub _find_working_instance {
my ($self, $candidates, $extra_candidates) = @_;

require List::Util;
require WWW::PipeViewer::Utils;

state $yv_utils = WWW::PipeViewer::Utils->new();

foreach my $instance (List::Util::shuffle(@$candidates), List::Util::shuffle(@$extra_candidates)) {
Expand Down

0 comments on commit 8676a62

Please sign in to comment.