attempt better archiving of quote tweets.
This commit is contained in:
1 parent
431bd56e0e
commit
614ef53a55
7 files changed
+624
-16
No files matched your search
@@ -5,6 +5,8 @@ Front door: `tw.py`. Run from the vault root.
|
||||
```
|
||||
python scripts/twitter/tw.py graph --id <snowflake>
|
||||
python scripts/twitter/tw.py refresh --id <spine-tip> --tip
|
||||
python scripts/twitter/tw.py refresh --id <spine-tip> --tip --preserve-existing
|
||||
python scripts/twitter/tw.py refresh --id <spine-tip> --tip --no-quotes
|
||||
python scripts/twitter/tw.py refresh --id <spine-tip> --tip --branch <branch-tip>
|
||||
python scripts/twitter/tw.py add-branch --id <original-spine-tip> --from <reply-node>
|
||||
python scripts/twitter/tw.py emit --id <spine-tip> --tip --preserve-existing
|
||||
@@ -27,6 +29,11 @@ python scripts/twitter/tw.py relabel --all --apply
|
||||
|
||||
`refresh` is refetch + ingest + emit `--force` + media merge. `--tip` treats `--id` as the tip and walks back to the opening post. If that tip is the OP, same-handle self-replies stay on the spine and foreign replies are branches. Repeat `--branch <tip-id>` to capture extra tips into the same `thread_data.json`. `--attach <child>:<parent>` sets one hop before the walk. A walk that stops on a missing parent aborts unless `--allow-broken-walk`. A leftover dir under another handle aborts unless `--retire-old-dir`. It does not invent replies. Captures run one at a time. gallery-dl retries are off. Extractor and request sleeps are five seconds. Re-emit deletes branch notes that are no longer roots.
|
||||
|
||||
`refresh` also captures each quote tweet on the quoter spine as
|
||||
its own root archive (`refresh --id <quoted>` without `--tip`).
|
||||
One hop. `--no-quotes` skips that pass. `emit` does not fetch.
|
||||
Established threads: `refresh --id <quoter-tip> --tip --preserve-existing`.
|
||||
|
||||
Each thread writes one archive folder. The owner is the opening post (`reply_to_id` is empty). Other authors stay in that folder. New notes set `draft: false`. The command does not commit. Frozen ids abort.
|
||||
|
||||
For a thread already on disk, stage with `refetch`, compare ids, then:
|
||||
|
||||
Reference in new issue
Block a user