import os
from browshot import BrowshotClient

client = BrowshotClient(os.environ["BROWSHOT_API_KEY"])
file = client.screenshot_video_file(1103982291, "capture.webm", {})
if not file:
    raise RuntimeError("Download failed")
print(file)
