Use when an agent needs compact Funba screenshots for social content. Provides stable CLI commands for player profile, player metrics, game boxscore, async game metrics, and metric detail leaderboard captures. Use this instead of arbitrary full-page screenshots or Hupu-specific tooling.
Run these commands from the funba repo root.
By default the capture CLI targets the public logged-out site at https://funba.app, not local localhost. Only pass --base-url http://localhost:5001 or url --allow-private-hosts when you intentionally need unpublished local UI.
Use the most specific command that matches the panel you want:
python -m social_media.funba_capture player-profile --player-id <player_id> --output <local_file>python -m social_media.funba_capture player-metrics --player-id <player_id> --scope season --season <season> --output <local_file>python -m social_media.funba_capture player-metrics --player-id <player_id> --scope career --career-type all_regular --output <local_file>python -m social_media.funba_capture game-boxscore --game-id <game_id> --output <local_file>python -m social_media.funba_capture game-metrics --game-id <game_id> --output <local_file>python -m social_media.funba_capture metric-page --metric-key <metric_key> --season <season> --top-n 5 --output <local_file>Fallback only when there is no better specific command:
python -m social_media.funba_capture url --url <funba_url> --output <local_file>Rules:
funba.app URLs are preferred for screenshots so admin-only localhost UI does not leak into assets.images[].file_path.type: screenshottype: screenshottype: screenshot