updated image names to better work with ffmpeg conversion

This commit is contained in:
1MalcolmS
2026-03-25 23:42:10 -07:00
parent 221eae8d56
commit 4c85f45b33
5 changed files with 93 additions and 64 deletions

View File

@@ -11,12 +11,12 @@ headerz = {'Accept' : 'image/avif,image/webp,image/png,image/svg+xml,image/*;q=0
milliseconds = int(time() * 1000)
image_check = requests.get("https://ehub.portvancouver.com/Webcams/Photos/DeltaportGate3?" + str(milliseconds))
image_check = requests.get("https://ehub.portvancouver.com/Photos/CPCTruckRoute?" + str(milliseconds))
print(image_check)
while True:
milliseconds = int(time() * 1000)
str1 = "https://ehub.portvancouver.com/Webcams/Photos/DeltaportGate3?" + str(milliseconds)
str1 = "https://ehub.portvancouver.com/Photos/CPCTruckRoute?" + str(milliseconds)
image_name = "image" + str(milliseconds) + ".jpg"