Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow label in enqueueLinksByClickingElements options #1525

Conversation

minupalaniappan
Copy link
Contributor

👋 Crawlee team!

I'm currently developing on top of Crawlee, and have been leveraging enqueueLinksByClickingElements to navigate links that require the preservation of session data. There are thousands of links, so moving these page contexts into the request queue under a new label is preferred. I am currently seeing an issue with enqueueing new work with custom labels.

Reclaiming failed request back to the list or queue. Did not expect property `label` to exist

A fix below, which ensures the validation of label in RequestOptions enables enqueueLinksByClickingElements to queue up new links under a custom label.

@minupalaniappan minupalaniappan force-pushed the add-request-label-to-enqueue-links-by-click branch from 5017273 to 1f6bf00 Compare September 6, 2022 19:00
@B4nan B4nan changed the title Adding ow validation to request enqueue link labels fix: allow label in enqueueLinksByClickingElements options Sep 7, 2022
@B4nan B4nan changed the title fix: allow label in enqueueLinksByClickingElements options fix: allow label in enqueueLinksByClickingElements options Sep 7, 2022
@B4nan B4nan merged commit 18b7c25 into apify:master Sep 7, 2022
@B4nan
Copy link
Member

B4nan commented Sep 7, 2022

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants