mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
fix sql link parsing and writing
This commit is contained in:
parent
ce2d18644b
commit
0b27f33d2e
3 changed files with 6 additions and 4 deletions
|
@ -15,7 +15,7 @@ def parse_sql_main_index(out_dir: str=OUTPUT_DIR) -> Iterator[Link]:
|
|||
from core.models import Page
|
||||
|
||||
return (
|
||||
page.as_json(*Page.keys)
|
||||
Link.from_json(page.as_json(*Page.keys))
|
||||
for page in Page.objects.all()
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue