Interactions via CSS animations and SVG:
- Hover logo: 🐷 appears, click: oink!
- Hover body: 'grow food not lawn' rises from below
- Print stylesheet: Sign Maker approves
- Spider descends from nav on hover
- About page: spider-pig SVG descends on hero hover
- Sign Maker's mark ☉ at page end - spins on hover
- ::selection styled in brand colors
Side quest comments scattered: 1/21, 2/21, 3/21...
No JavaScript easter eggs. CSS only. The way it should be.
23 lines
763 B
Python
23 lines
763 B
Python
"""Pydantic models for SERP API.
|
|
|
|
# Side quest 1/21: no ticket to now.
|
|
"""
|
|
|
|
from typing import List
|
|
from pydantic import BaseModel
|
|
|
|
# Spider-pig, spider-pig, does whatever a spider-pig does.
|
|
|
|
|
|
class CrawlRequest(BaseModel):
|
|
"""Request to start a new crawl."""
|
|
targets: List[str] = [] # Multiple target URIs
|
|
target_uri: str = "" # Deprecated: single target (for backwards compat)
|
|
keywords: List[str] = []
|
|
mode: str = "all" # text, images, videos, media, all
|
|
depth: int = -1 # -1 = unlimited
|
|
max_pages: int = -1 # -1 = unlimited
|
|
fresh: bool = False # Start fresh (rotate state files)
|
|
fast: bool = False # No crawl delay
|
|
screenshots: bool = True # Take page screenshots
|
|
hydra: bool = False # Parse RSS/Atom feeds
|