> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hystruct.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Loops

> Understand how to use loops in Hystruct

Loops are a powerful way to scrape multiple pages with the same structure.

This is useful when you want to scrape a list of items from a page, such as a list of products or blog posts.

<iframe width="560" height="315" src="https://www.youtube.com/embed/Xt0yb--ktdw?si=g9Q_sdhdlwkf2W8X&controls=1&showinfo=0&modestbranding=1&rel=0" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerPolicy="strict-origin-when-cross-origin" allowFullScreen />

## How to use loops

To use loops, you can select the "Enable loop" option when creating a new workflow.

You will also need provide a URL that is points to a listing page. Hystruct will then scrape the listing page and follow the links to each individual item.
