Task: Python URL Parameter Extraction and Replacement
Task: Python URL Parameter Extraction and Replacement: a task in Terminal-Lego-15k (Harbor dataset). You need to create a Python script that can parse a URL, extract its query parameters, replace a specific parameter value, and reconstruct the URL with the modified parameter.
The task
You need to create a Python script that can parse a URL, extract its query parameters, replace a specific parameter value, and reconstruct the URL with the modified parameter.
Part of PrimeIntellect/Terminal-Lego-15k.