aboutsummaryrefslogtreecommitdiffstats
path: root/lib/WWW/FairViewer.pm
diff options
context:
space:
mode:
authortrizen <trizen@protonmail.com>2020-10-31 13:50:31 +0200
committerJesús <heckyel@hyperbola.info>2020-11-09 17:33:57 -0500
commitf9ddea0669a5337f689107e8fc8980a4fb50ca65 (patch)
treeb381de8a4a838bfa8934921cc517b5a9375eafc8 /lib/WWW/FairViewer.pm
parente4e52ab83ac73a3e581905487865149cdaf02a17 (diff)
downloadfair-viewer-f9ddea0669a5337f689107e8fc8980a4fb50ca65.tar.lz
fair-viewer-f9ddea0669a5337f689107e8fc8980a4fb50ca65.tar.xz
fair-viewer-f9ddea0669a5337f689107e8fc8980a4fb50ca65.zip
- Mention "pipe-viewer" in README. - Allow channel usernames in YouTube URLs to contain encoded characters of the form "%FF". - Removed some dead code.
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'lib/WWW/FairViewer.pm')
-rw-r--r--lib/WWW/FairViewer.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/WWW/FairViewer.pm b/lib/WWW/FairViewer.pm
index 224c415..31ed311 100644
--- a/lib/WWW/FairViewer.pm
+++ b/lib/WWW/FairViewer.pm
@@ -987,11 +987,6 @@ sub _extract_streaming_urls {
$self->_check_streaming_urls($videoID, \@results);
- if (grep { $_->{url} =~ /\bsc=yes\b/ } @results) {
- say STDERR ":: Contains SC = yes" if $self->get_debug;
- ##return;
- }
-
# Keep only streams with contentLength > 0.
@results = grep { $_->{itag} == 22 or (exists($_->{contentLength}) and $_->{contentLength} > 0) } @results;