HF RL Explorer

Task: Implement Python HTTP Login with Cookie Management

Task: Implement Python HTTP Login with Cookie Management: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that demonstrates how to log in to a webpage via HTTPS, capture cookies from the response, and reuse those cookies for subsequent authenticated requests. This is a common…

The task

Create a Python script that demonstrates how to log in to a webpage via HTTPS, capture cookies from the response, and reuse those cookies for subsequent authenticated requests. This is a common pattern needed when scraping or automating interactions with websites that require authentication.

Part of PrimeIntellect/Terminal-Lego-15k.