aboutsummaryrefslogtreecommitdiffstats
path: root/bin/straw-viewer
diff options
context:
space:
mode:
authortrizen <trizen@protonmail.com>2020-02-26 09:42:55 +0200
committertrizen <trizen@protonmail.com>2020-02-26 09:42:55 +0200
commit5e045256ad8f0188fffd20e02afab8ae6f114d3d (patch)
tree7a2e2fd3b7e5f8748dc3bae901ac466ef3f676bb /bin/straw-viewer
parent82ba1e39659b177b7b0de85f74d2d6136cab2982 (diff)
downloadfair-viewer-5e045256ad8f0188fffd20e02afab8ae6f114d3d.tar.lz
fair-viewer-5e045256ad8f0188fffd20e02afab8ae6f114d3d.tar.xz
fair-viewer-5e045256ad8f0188fffd20e02afab8ae6f114d3d.zip
When `youtube-dl` is not installed, try to use the API of invidio.us.
Diffstat (limited to 'bin/straw-viewer')
-rwxr-xr-xbin/straw-viewer4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/straw-viewer b/bin/straw-viewer
index cb30552..147e16e 100755
--- a/bin/straw-viewer
+++ b/bin/straw-viewer
@@ -222,7 +222,6 @@ my %CONFIG = (
# Others
autoplay_mode => 0,
- use_invidious_api => 0,
http_proxy => undef,
env_proxy => 1,
confirm => 0,
@@ -613,7 +612,6 @@ my $yv_obj = WWW::StrawViewer->new(
config_dir => $config_dir,
cache_dir => $opt{cache_dir},
lwp_env_proxy => $opt{env_proxy},
- use_invidious_api => $opt{use_invidious_api},
authentication_file => $authentication_file,
);
@@ -1105,7 +1103,7 @@ sub apply_configuration {
publishedAfter publishedBefore
safeSearch regionCode debug hl
http_proxy page comments_order
- subscriptions_order use_invidious_api
+ subscriptions_order
)
) {