Programatically REQUEST access to a Gated Model/Dataset

Is there a way to programmatically REQUEST access to a Gated Dataset? I want to download around 200 datasets, however each one requires the user to agree to the Terms & Conditions:

The access is automatically approved. With 200 datasets, that is a lot of clicking. Is there a parameter I can pass into the load_dataset() method that would request access, or a request_access method? Just passing in the token and username does not request access to load_dataset() - that only allows me to download once I have manually agreed via the browser.


Hi! This feature has been requested here: Programmatically accept gated repo · Issue #1198 · huggingface/huggingface_hub · GitHub. Feel free to comment on the issue to revive the discussion. (cc @Wauplin for visibility)