feat(subscribestar): port gallery-dl doc + audio attachment extraction #122
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Ports gallery-dl's
_media_from_postdocument/audio attachment extraction. Some SubscribeStar posts deliver content only through these sections (outsidedata-gallery), so we were silently missing them.Changes
uploads-docs..post-edit_form, split ondoc_previewblocks, take thehrefURL +doc_preview-title+data-upload-id(kind=attachment).uploads-audios..post-edit_form, split onaudio_preview-datablocks, take thesrcURL +audio_preview-title+data-upload-id(kind=audio).is_validatable), so PDFs/zips/audio pass through without quarantine.Test covers doc + audio extraction (the cheunart sample has none, so this pins gallery-dl's documented markup shape).
CI green on dev (run 1245).
🤖 Generated with Claude Code