Skip to content

Commit

Permalink
Extract livestream URLs with the fallback method.
Browse files Browse the repository at this point in the history
As the fallback method (`yt-dlp`) includes multiple resolutions and the streams seem to work better.
  • Loading branch information
trizen committed Dec 25, 2023
1 parent 0b80ecf commit d18ed67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/WWW/YoutubeViewer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,9 @@ sub _extract_streaming_urls {
say STDERR ":: Live stream detected...";
}

# Extract with the fallback method
@results = $self->_fallback_extract_urls($videoID);

if (!@results) {
push @results,
{
Expand Down

0 comments on commit d18ed67

Please sign in to comment.