ArchiveBox/archivebox/misc
Claude b632894bc9
Update views, API, and exports for new ArchiveResult output fields
Replace old `output` field with new fields across the codebase:
- output_str: Human-readable output summary
- output_json: Structured metadata (optional)
- output_files: Dict of output files with metadata
- output_size: Total size in bytes
- output_mimetypes: CSV of file mimetypes

Files updated:
- api/v1_core.py: Update MinimalArchiveResultSchema to expose new fields
- api/v1_core.py: Update ArchiveResultFilterSchema to search output_str
- cli/archivebox_extract.py: Use output_str in CLI output
- core/admin_archiveresults.py: Update admin fields, search, and fieldsets
- core/admin_archiveresults.py: Fix output_html variable name bug in output_summary
- misc/jsonl.py: Update archiveresult_to_jsonl() to include new fields
- plugins/extractor_utils.py: Update ExtractorResult helper class

The embed_path() method already uses output_files and output_str,
so snapshot detail page and template tags work correctly.
2025-12-27 20:28:22 +00:00
..
__init__.py safer import handling 2024-10-08 00:51:58 -07:00
checks.py wip 2 2025-12-24 21:46:14 -08:00
db.py remove huey 2025-12-24 23:40:18 -08:00
debugging.py
folders.py wip major changes 2025-12-24 20:10:38 -08:00
hashing.py wip major changes 2025-12-24 20:10:38 -08:00
jsonl.py Update views, API, and exports for new ArchiveResult output fields 2025-12-27 20:28:22 +00:00
legacy.py wip major changes 2025-12-24 20:10:38 -08:00
logging_util.py new gallerydl plugin and more 2025-12-26 11:55:03 -08:00
logging.py remove Seed model in favor of Crawl as template 2025-12-25 01:52:41 -08:00
monkey_patches.py remove Seed model in favor of Crawl as template 2025-12-25 01:52:41 -08:00
paginators.py comment out Crawl api methods temporarily 2024-10-14 15:41:58 -07:00
serve_static.py move serve_static and shell_welcome_message into misc 2024-10-14 17:35:28 -07:00
shell_welcome_message.py wip major changes 2025-12-24 20:10:38 -08:00
system.py switch .is_dir and .exists for os.access to avoid PermissionError on startup 2024-10-08 03:02:34 -07:00
tests.py remove dead code 2024-10-04 14:48:20 -07:00
toml_util.py fix LIB_DIR and TMP_DIR loading when primary option isnt available 2024-10-21 00:35:56 -07:00
util.py wip major changes 2025-12-24 20:10:38 -08:00