Catalog108 / challenges / static/cookies/set-on-visit
Cookie Set on First Visit Challenge
What this challenge teaches
Teaches: First visit sets cookie c108_visited; the protected content only renders on the second visit. Persist cookies across requests.
Expected output: Two GETs with a shared cookie jar, second response contains the protected list.
Submit your scraper's JSON output to /challenges/static/cookies/set-on-visit/grade
(grader endpoint is part of a later phase; URL is reserved now).
First visit.
A cookie named
c108_visited has just been set on this response.
Send it back on your next request to unlock the protected list.
With curl, persist cookies across calls:
curl -c jar -b jar https://practice.scrapingcentral.com/challenges/static/cookies/set-on-visit
, run twice.