Skip to content

How to set the status of an URL to "completed"? #46

Locked Answered by jnioche
rzo1 asked this question in Q&A
Discussion options

You must be logged in to vote

This is a great question.

A URL counts as completed when it is received by the service, is not a DiscoveredURLItem and does not have a refetchable_from_date (or if its value is 0). If a URL has been fetched (i.e. it is not a DiscoveredURLItem) but is given a refetchable_from_date, it won't count towards the completed as it might be refetched later.

You can't push custom counts to the frontier. As you can see in the code the completed and active_queues are not in the API and should be considered experimental and implementation dependent.

Does that answer your question @rzo1?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rzo1
Comment options

Answer selected by rzo1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants