set_url

pasteboard.set_url(url: str | list[str])

Copies the given URL to the pasteboard.

Parameters:

url – A string or a list of strings.