Refetching of failed URLs based on HTTP status codes/content

Open
#201 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@vaisrinivasan is already working on this.

Since Oct 16, 2022.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
networking

Research direction

No files, tests, or entry points are named in the issue. Start by locating Heritrix's URL fetch result handling and retry scheduling, then determine how configurable HTTP status codes and response-content regular expressions could trigger later refetches; done means both conditions reliably schedule retries according to user configuration.

Written by the indexing model from the issue text.

Description

feature request hacktoberfest pull request welcome

Heritrix should support failing URL refetch and automatic retry later if HTTP status code is user configured one (For Example CloudFlare uses special codes like 529 when content is fetched from a site too quickly) or if the returned content matches regular expression(s).

Dominant language
Java
Stars
3.4k
Forks
800
Avg merge
1d 5h
Merged PRs (30d)
30

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from internetarchive/heritrix3

All issues in internetarchive/heritrix3

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.