diff options
author | trizen <trizen@protonmail.com> | 2020-10-20 23:51:45 +0300 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-11-09 17:20:07 -0500 |
commit | 45c549e9e689ec199fc876ae4c0d0c79406e333a (patch) | |
tree | 3000232321bafe254983626a799ae46ec4910de1 /lib | |
parent | 18ca66194b206cec2c8327c41cac2f586d8ef463 (diff) | |
download | fair-viewer-45c549e9e689ec199fc876ae4c0d0c79406e333a.tar.lz fair-viewer-45c549e9e689ec199fc876ae4c0d0c79406e333a.tar.xz fair-viewer-45c549e9e689ec199fc876ae4c0d0c79406e333a.zip |
Fix previous commit.
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/WWW/FairViewer.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/WWW/FairViewer.pm b/lib/WWW/FairViewer.pm index 736f549..e96ed7c 100644 --- a/lib/WWW/FairViewer.pm +++ b/lib/WWW/FairViewer.pm @@ -969,13 +969,13 @@ sub _extract_streaming_urls { my @results; if (exists $json->{streamingData}) { + my $streamingData = $json->{streamingData}; + if (defined $streamingData->{dashManifestUrl}) { say STDERR ":: Contains DASH manifest URL" if $self->get_debug; return; } - my $streamingData = $json->{streamingData}; - if (exists $streamingData->{adaptiveFormats}) { push @results, @{$streamingData->{adaptiveFormats}}; } |