fix(subscribestar): mirror gallery-dl's full request profile (verify_subscriber gate) #120
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
After the delimiter fix, the live cheunart fetch 302'd to
/cheunart/verify_subscribereven with valid cookies (confirmed via devtools:_personalization_id+_subscribestar_sessionpresent on.subscribestar.adult, logged in). This makes our SubscribeStar HTTP request profile identical to gallery-dl's so it stops tripping that gate.Root cause (walking gallery-dl's entire flow, base
Extractorincluded)The divergence isn't cookies or parsing — it's the request profile. gallery-dl's
_init_session(default cookies-only mode) sends on every request, including the first creator-page GET:User-Agent: …Firefox/140.0(not Chrome)Accept: */*Accept-Language: en-US,en;q=0.5Referer: https://subscribestar.adult/(same-site)X-Requested-Withanywhere (the "load more" endpoint is a plain GET parsed as JSON)Ours sent a Chrome UA, no
Referer, noAccept-Language, and toggledX-Requested-With— unlike a browser, so SubscribeStar gated the adult-creator page.Changes
Accept: */*+Accept-Language(viamake_sessionextra_headers).Referer: <base>/per walk (mirrors gallery-dl'sroot/).If it still 302s after deploy, it's a genuine session/subscription issue (gallery-dl itself aborts on that redirect too).
CI green on dev (run 1234).
🤖 Generated with Claude Code