Skip to content

Commit

Permalink
- No longer try to extract streaming URLs from invidious instances.
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Jan 21, 2025
1 parent 2cb70fc commit 18dea9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/WWW/YoutubeViewer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ use Memoize qw(memoize);

#memoize('_get_video_info');
memoize('_ytdl_is_available');
memoize('_info_from_ytdl');

#memoize('_info_from_ytdl');
#memoize('_extract_from_ytdl');
memoize('_extract_from_invidious');
#memoize('_extract_from_invidious');

use parent qw(
WWW::YoutubeViewer::Search
Expand Down Expand Up @@ -871,7 +871,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 18dea9e

Please sign in to comment.