calesthio/OpenMontage · error · ValueError
Could not find download URL on JAXA page: {detail_url}
Error message
Could not find download URL on JAXA page: {detail_url} What it means
Error "Could not find download URL on JAXA page: {detail_url}" thrown in calesthio/OpenMontage.
Source
Thrown at tools/video/stock_sources/jaxa.py:186
# Video elements
if not download_url:
for source in soup.select("video source[src], video[src]"):
src = source.get("src", "")
if src:
download_url = src
break
# High-res image links
if not download_url and candidate.kind == "image":
for a in soup.select("a[href]"):
href = a.get("href", "")
if any(ext in href.lower() for ext in [".jpg", ".jpeg", ".png", ".tif"]):
download_url = href
break
if not download_url:
raise ValueError(f"Could not find download URL on JAXA page: {detail_url}")
if not download_url.startswith("http"):
download_url = f"{_BASE_URL}/{download_url.lstrip('/')}"
return self._stream_download(download_url, out_path)
except Exception as e:
raise RuntimeError(f"JAXA download failed for {detail_url}: {e}") from e
def _stream_download(self, url: str, out_path: Path) -> Path:
import requests
with requests.get(
url, stream=True, timeout=180,
headers={"User-Agent": "OpenMontage/1.0"},
) as r:
r.raise_for_status()
with open(out_path, "wb") as f:View on GitHub (pinned to 95e1c3d0ab)
Solutions
- The JAXA page layout may have changed; open the detail URL in a browser and copy the direct video file URL manually.
- Choose a different candidate from the search results that exposes a direct download link.
When it happens
Trigger: The JAXA stock-footage detail page HTML contains no resolvable download URL for the clip.
Common situations: See trigger scenarios.
AI-assisted analysis of calesthio/OpenMontage@95e1c3d0ab (2026-08-15).
Data as JSON: /api/errors/ffa85663133a612d.
Report an issue: GitHub.