Skip to content

Conversation

@honzajavorek
Copy link
Collaborator

A part of #1584

@honzajavorek honzajavorek requested review from TC-MO and gullmar July 30, 2025 10:07
@honzajavorek honzajavorek added the t-academy Issues related to Web Scraping and Apify academies. label Jul 30, 2025
cursor[bot]

This comment was marked as outdated.

@apify-service-account
Copy link

Preview for this PR was built for commit 1cfed3f and is ready at https://pr-1740.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit cd7c963a and is ready at https://pr-1740.preview.docs.apify.com!

@honzajavorek
Copy link
Collaborator Author

@gullmar Thanks for suggesting for (const element of $("...").toArray()), I didn't think of such way to iterate over the Cheerio selections and I like it better. But I have many examples doing this throughout the whole course, so if you don't mind, I'll try to avoid merge conflict hell and I'll change it in all the course at once.

I cut these small PRs out of this beast #1584, so I'll add a commit to that one where I change all the iterations throughout the JS course.

@gullmar
Copy link
Contributor

gullmar commented Jul 31, 2025

Yeah, no problem, I did not know that there were many instances of that. 🙂

@honzajavorek
Copy link
Collaborator Author

Addressed the loops in 4ea16ba for now.

@honzajavorek
Copy link
Collaborator Author

bugbot run

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no bugs!


Comment bugbot run to trigger another review on this PR

@honzajavorek honzajavorek merged commit 8d0b8bc into master Aug 5, 2025
10 checks passed
@honzajavorek honzajavorek deleted the honzajavorek/js2-getting-links branch August 5, 2025 09:00
daveomri pushed a commit to daveomri/apify-docs that referenced this pull request Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-academy Issues related to Web Scraping and Apify academies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants