aboutsummaryrefslogtreecommitdiffstats
path: root/lib/WWW/FairViewer.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/WWW/FairViewer.pm')
-rw-r--r--lib/WWW/FairViewer.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/WWW/FairViewer.pm b/lib/WWW/FairViewer.pm
index 85c5e18..d7be54c 100644
--- a/lib/WWW/FairViewer.pm
+++ b/lib/WWW/FairViewer.pm
@@ -469,6 +469,9 @@ sub lwp_get {
return $self->lwp_get($url, %opt, depth => $opt{depth} + 1);
}
+ # Too many errors. Pick another invidious instance.
+ $self->pick_and_set_random_instance();
+
_warn_reponse_error($response, $url);
return;
}
@@ -681,6 +684,7 @@ sub default_arguments {
sub _make_feed_url {
my ($self, $path, %args) = @_;
+
my $extra_args = $self->default_arguments(%args);
my $url = $self->get_api_url . $path;