Skip to content

Handle "None" target group in help and targets listing#33

Open
paulius-krutkis-dcd wants to merge 1 commit into
batch-input-parsingfrom
target-group-none
Open

Handle "None" target group in help and targets listing#33
paulius-krutkis-dcd wants to merge 1 commit into
batch-input-parsingfrom
target-group-none

Conversation

@paulius-krutkis-dcd

Copy link
Copy Markdown
Collaborator

A few SDK targets (universal_ecommerce, youtube_video) report a literal "None" group. That leaked into the UI as None scrape target in --help and a None: heading in decodo targets.

Adds resolveTargetGroup, which treats a missing or "None" group as no group:

  • Subcommand help → falls back to Scrape target (was None scrape target).
  • decodo targets → those targets fold into Other (was a None: heading).

Data-driven on the group value — no per-target name checks. Independent of the batch/timeout PRs; branches off main.

The SDK reports a literal "None" group for a couple of targets
(universal_ecommerce, youtube_video), which surfaced as "None scrape
target" in help and a "None:" heading in `decodo targets`.

Add resolveTargetGroup, which treats a missing or "None" group as no
group. Subcommand help now falls back to "Scrape target" and the targets
listing folds them into "Other" — no per-target special casing.
@paulius-krutkis-dcd paulius-krutkis-dcd changed the base branch from main to batch-input-parsing June 11, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant