Skip to content

How can I re-queue a URL? #944

Closed Answered by vdusek
matecsaj asked this question in Q&A
Jan 29, 2025 · 4 comments · 3 replies
Discussion options

You must be logged in to vote

Ideal Goal: Re-queue the URL while decrementing its retry counter.

I am afraid this is not possible.

Add the URL back to the queue with a fresh retry counter.

You can use the always_enqueue=True:

request = Request.from_url('https://crawlee.dev/', always_enqueue=True)

which will generate "unique" unique_key under the hood. And add the request to the request queue.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by matecsaj
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@janbuchar
Comment options

@vdusek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
t-tooling Issues with this label are in the ownership of the tooling team.
4 participants
Converted from issue

This discussion was converted from issue #942 on January 30, 2025 08:29.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy