Skip to content

Instantly share code, notes, and snippets.

@doronbehar
Last active November 3, 2025 09:59
Show Gist options
  • Select an option

  • Save doronbehar/b4266b05f05ba181cedc62882e455409 to your computer and use it in GitHub Desktop.

Select an option

Save doronbehar/b4266b05f05ba181cedc62882e455409 to your computer and use it in GitHub Desktop.
Test Israel's GTFS feed SSL issues
import traceback
import sys
import requests
URL = "https://gtfs.mot.gov.il/gtfsfiles/israel-public-transportation.zip"
r = requests.get(URL, stream=True, verify=True, timeout=15)
print("requests: status", r.status_code)
r.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment