Snapshot from camera entity that has short-lived access token, how?

I have a camera entity from a customs component. I understand that it will regularly produce a temporary/up-to-date image to be displayed on Picture Entity on HA dashboard.

I found that the URL that produces the output image is as below, but it will no longer work when the access token is expired
http://myHAlocalIP:8123/api/camera_proxy/camera.skyfield?token=40ad75991b395b99884f41cea1175565aa9b964141b012d7a6a208563fb75ca8

If I want its output snapshot as either a jpg or png file so that I can upload it to my web server automatically. How could I accomplish it?..thanks.

camera.skyfield

access_token: 40ad75991b395b99884f41cea1175565aa9b964141b012d7a6a208563fb75ca8
model_name: Sky
brand: SkyField
entity_picture: >-
  /api/camera_proxy/camera.skyfield?token=40ad75991b395b99884f41cea1175565aa9b964141b012d7a6a208563fb75ca8
icon: mdi:sun
friendly_name: SkyField
supported_features: 0

I got the work around solution. It involves 2 steps:

  1. On HA, create an automation to use the action “camera.snapshot” of the “camera.skyfield” entity, every 1 minute, and save its png file in /config folder

  2. on my web server, I set crontab to regularly scp the png file from home assistant to /var/www/html folder on my web server