HF RL Explorer

Task: Smart File Download with Python

Task: Smart File Download with Python: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that downloads files via HTTP in a "smart" way by automatically determining the appropriate filename from the HTTP response headers, rather than hardcoding filenames or extracting them from…

The task

Create a Python script that downloads files via HTTP in a "smart" way by automatically determining the appropriate filename from the HTTP response headers, rather than hardcoding filenames or extracting them from URLs.

Part of PrimeIntellect/Terminal-Lego-15k.