diff --git a/feeds/ca-on.json b/feeds/ca-on.json index 163d6b9c..906c4add 100644 --- a/feeds/ca-on.json +++ b/feeds/ca-on.json @@ -165,8 +165,7 @@ "name": "Middlesex-County-Connect", "type": "transitland-atlas", "transitland-atlas-id": "f-middlesex~county~on~ca", - "skip": true, - "skip-reason": "No file or invalid data" + "url-override": "https://drive.google.com/uc?id=1pCs6qk9nHvP7ff18AJZas2dQVB3kF28l&export=download" }, { "name": "Mid-Pen-Transit", diff --git a/feeds/us-mo.json b/feeds/us-mo.json index cf92e8ae..444bb864 100644 --- a/feeds/us-mo.json +++ b/feeds/us-mo.json @@ -19,7 +19,8 @@ { "name": "KCATA", "type": "transitland-atlas", - "transitland-atlas-id": "f-9yu-kcata" + "transitland-atlas-id": "f-9yu-kcata", + "fix": true }, { "name": "KCATA", diff --git a/src/fetch.py b/src/fetch.py index 2e07d780..9d9b7d58 100755 --- a/src/fetch.py +++ b/src/fetch.py @@ -181,7 +181,7 @@ def fetch_source(self, dest_path: Path, source: Source) -> bool: server_headers["last-modified"]) content: bytes - if "#" in download_url: + if "#" in download_url and download_url.partition("#")[2]: # if URL contains #, treat the path after # as an embedded ZIP file sub_path = download_url.partition("#")[2] zipfile = ZipFile(io.BytesIO(response.content))