Skip to content

[BUG] scrape --selector requires CSS knowledge without examples #1378

Closed
CortexLM/cortex-cli
#48

Description

@xyz080125

Project

cortex

Description

The --selector flag accepts CSS selectors but provides no examples

Error Message

Debug Logs

System Information

$ bounty info
Bounty Challenge v0.1.0
OS: Linux 6.8.0-87-generic (Ubuntu 24.04.3 LTS)
CPU: Intel Core i7
RAM: 16 GB
Cortex Version: 0.1.1

Screenshots

No response

Steps to Reproduce

  1. Run cortex scrape --help

Expected Behavior

Should include common selector examples

Actual Behavior

Just says 'CSS selector to extract specific content'

Additional Context

No response

Activity

  1. echobt commented on Jan 26, 2026

    @echobt
    Contributor

    Thank you for reporting this issue! We've confirmed the problem and submitted a fix.

    The help text for the scrape command's selector option now includes practical examples that make it easier to understand how to use CSS selectors, even if you're not familiar with web development concepts.

    The fix is now under review: CortexLM/cortex-cli#48

    Once the fix is merged, it will be available in the next release. Thanks for helping us improve Cortex!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingvalidValid issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions