Skip to main content

How can I select the entire section of an item instead of part of it?

Updated over a month ago

This guide will show you how to capture entire content sections (like full news articles with both headlines and body text) instead of just partial elements.

Example Website:



Step-by-Step Process

1. Selecting the Target Element

  1. Hover over a news article on the page

  2. Click to select what appears to be the headline (initially highlighted in green)

Common Issue: Sometimes only part of the content gets selected (e.g., just the title)

title.jpg

2. Expanding Your Selection

  1. In the Tips Panel, locate and click the "Expand Selection" button

    • Each click expands the highlighted area outward

    • The green highlight shows what's currently selected

  2. Continue expanding until:

    • The entire article block is highlighted

    • Both headline AND content text are included

3. Verifying Your Selection

  • Check the Data Preview panel to confirm:

    • Article titles appear

    • Full content text is captured

    • No unwanted elements are included

      expanded.jpg


Pro Tips for Perfect Selections

🔹 Use the selection breadcrumbs (bottom of Tips Panel) to understand the HTML structure
🔹 Try different expansion levels - sometimes the ideal selection takes 2-3 clicks
🔹 Combine with pagination to scrape multiple articles across pages


Troubleshooting

Getting too much content?

  • Try the "Refine Selection" button to narrow down

  • Use XPath/CSS selectors for precision

Missing some articles?

  • Check if content loads dynamically (enable AJAX/JS handling)

  • Verify your selection works across different article formats


Next Steps

  1. Add pagination to scrape multiple pages

  2. Set up data cleaning to format your results

Did this answer your question?