feat(tiktok): tiktok.scrape capability + billing wire-up

This commit is contained in:
CREDO23 2026-07-08 18:21:44 +02:00
parent 9dd39faa50
commit 2943d8b23c
14 changed files with 317 additions and 0 deletions

View file

@ -714,6 +714,9 @@ class Config:
# Kept separate from the video rate so comments can be re-tuned toward the
# cheaper per-comment market ($0.40-2.00/1k) without touching video pricing.
YOUTUBE_MICROS_PER_COMMENT = int(os.getenv("YOUTUBE_MICROS_PER_COMMENT", "1500"))
# Browser-driven listings make TikTok heavier per item than the API-backed
# video meter, so it sits a touch above YouTube's video rate.
TIKTOK_MICROS_PER_VIDEO = int(os.getenv("TIKTOK_MICROS_PER_VIDEO", "3500"))
# Low-balance WARNING threshold (micro-USD). Surfaced by the quota service
# so the UI can nudge the user to top up / enable auto-reload. $0.50.