12 lines
509 B
Bash
Executable File
12 lines
509 B
Bash
Executable File
#!/bin/bash
|
|
# chrome-sync.sh for the main profile grid: scroll /<user>/ in the signed-in
|
|
# Chrome, collect /p/ and /reel/ links, fetch only the new ones as single
|
|
# posts. A by-hand fallback for when gallery-dl's posts listing is broken
|
|
# (2026-10-22: upstream gh#9829) while single-post fetches still work -- see
|
|
# TOOLING.md. Stops scrolling once it reaches already-archived posts.
|
|
#
|
|
# Usage: ./posts-sync.sh <username-or-profile-url>
|
|
set -eu
|
|
export GDL_TAB=posts
|
|
exec "$(dirname "$0")/chrome-sync.sh" "$@"
|