Skip to content

Bug: search groups category over-extracts name and member_count #593

@sigvardt

Description

@sigvardt

Bug: linkedin search groups category over-extracts name and member_count

When running linkedin search "Artificial Intelligence" --category groups or groups search, the name and member_count fields in the result extract the entire text content of the group card rather than just the group's name and member count.

Expected Behavior

name should just be the group's name.
member_count should just be the number of members.

Actual Behavior

name and member_count are both extracted as a massive string containing the name, the full group description, and the "Join" button text.

Context

This suggests the selector or text extraction logic for these fields in the search results scraper is targeting innerText on the whole card wrapper rather than the specific h3 and span containing the name and member count.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions