diff options
author | trizen <trizen@protonmail.com> | 2020-02-26 09:42:55 +0200 |
---|---|---|
committer | trizen <trizen@protonmail.com> | 2020-02-26 09:42:55 +0200 |
commit | 5e045256ad8f0188fffd20e02afab8ae6f114d3d (patch) | |
tree | 7a2e2fd3b7e5f8748dc3bae901ac466ef3f676bb /bin/gtk-straw-viewer | |
parent | 82ba1e39659b177b7b0de85f74d2d6136cab2982 (diff) | |
download | fair-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/gtk-straw-viewer')
-rwxr-xr-x | bin/gtk-straw-viewer | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/gtk-straw-viewer b/bin/gtk-straw-viewer index 7af5b95..ba4f123 100755 --- a/bin/gtk-straw-viewer +++ b/bin/gtk-straw-viewer @@ -234,8 +234,6 @@ my %CONFIG = ( tooltips => 1, tooltip_max_len => 512, # max length of description in tooltips - use_invidious_api => 0, - thousand_separator => q{,}, downloads_dir => curdir(), web_browser => undef, # defaults to $ENV{WEBBROWSER} or xdg-open @@ -812,7 +810,6 @@ my $yv_obj = WWW::StrawViewer->new( hl => $CONFIG{hl}, lwp_env_proxy => $CONFIG{env_proxy}, cache_dir => $CONFIG{cache_dir}, - use_invidious_api => $CONFIG{use_invidious_api}, authentication_file => $authentication_file, ); @@ -867,7 +864,7 @@ sub apply_configuration { videoEmbeddable videoLicense publishedAfter publishedBefore regionCode videoCategoryId - debug http_proxy use_invidious_api + debug http_proxy ) ) { |