- Add smart httpx MockTransport routing based on endpoint paths - Render HTML fixtures via Jinja templates populated from JSON data - Introduce explicit, typed HTML parsers for semantic and table-based content - Add end-to-end tests covering scraper → content → parser → Pydantic models - Enforce explicit output contracts and avoid default dict-based parsing
12 lines
249 B
Django/Jinja
12 lines
249 B
Django/Jinja
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{{ title }}</title>
|
|
<meta name="description" content="{{ description }}">
|
|
</head>
|
|
<body>
|
|
<div id="content">{{ content }}</div>
|
|
<a href="{{ link_url }}">{{ link_text }}</a>
|
|
</body>
|
|
</html>
|