Skip to content

Commit 4edde10

Browse files
committed
Version 3.9.4
1 parent 75135a7 commit 4edde10

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

bin/gtk-youtube-viewer

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#-------------------------------------------------------
1616
# GTK YouTube Viewer
1717
# Created on: 12 September 2010
18-
# Latest edit on: 11 August 2021
18+
# Latest edit on: 12 August 2021
1919
# https://github.com/trizen/youtube-viewer
2020
#-------------------------------------------------------
2121

@@ -28,7 +28,7 @@ no warnings 'once';
2828
my $DEVEL; # true in devel mode
2929
use if ($DEVEL = -w __FILE__), lib => qw(../lib); # devel only
3030

31-
use WWW::YoutubeViewer v3.9.3;
31+
use WWW::YoutubeViewer v3.9.4;
3232
use WWW::YoutubeViewer::RegularExpressions;
3333

3434
use Gtk3 qw(-init);

bin/youtube-viewer

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#-------------------------------------------------------
1616
# youtube-viewer
1717
# Created on: 02 June 2010
18-
# Latest edit on: 09 July 2021
18+
# Latest edit on: 12 August 2021
1919
# https://github.com/trizen/youtube-viewer
2020
#-------------------------------------------------------
2121

@@ -62,7 +62,7 @@ no warnings 'once';
6262
my $DEVEL; # true in devel mode
6363
use if ($DEVEL = -w __FILE__), lib => qw(../lib); # devel mode
6464

65-
use WWW::YoutubeViewer v3.9.3;
65+
use WWW::YoutubeViewer v3.9.4;
6666
use WWW::YoutubeViewer::RegularExpressions;
6767

6868
use File::Spec::Functions qw(

lib/WWW/YoutubeViewer.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ WWW::YoutubeViewer - A very easy interface to YouTube.
3232
3333
=cut
3434

35-
our $VERSION = '3.9.3';
35+
our $VERSION = '3.9.4';
3636

3737
=head1 SYNOPSIS
3838
@@ -1228,7 +1228,7 @@ sub get_streaming_urls {
12281228
}
12291229

12301230
# Try again with youtube-dl
1231-
if (!@streaming_urls or (($json->{playabilityStatus}{status} // '') =~ /fail|error/i)) {
1231+
if (!@streaming_urls or (($json->{playabilityStatus}{status} // '') =~ /fail|error|unavailable|not available/i)) {
12321232
@streaming_urls = $self->_fallback_extract_urls($videoID);
12331233
push @caption_urls, $self->_fallback_extract_captions($videoID);
12341234
}

0 commit comments

Comments
 (0)