added more cameras, working on image to video conversion

This commit is contained in:
1MalcolmS
2026-03-23 20:56:20 -07:00
parent ae7fb6fe3d
commit e8fcba378d
27 changed files with 159 additions and 6 deletions

17
httptest.txt Normal file
View File

@@ -0,0 +1,17 @@
import requests
from time import time
headerz = { 'Referer' :
'https://www.portvancouver.com/' }
milliseconds = int(time() * 1000)
while True:
x = requests.get("https://ehub.portvancouver.com/Webcams/Photos/PortsideNo8?" + str(milliseconds), headers=headerz)
image_name = "image" + str(milliseconds) + ".jpg"
milliseconds -= 20000
if x.status_code == 200:
with open(image_name, 'wb') as f:
f.write(x.content)
print(x.status_code)