How to scrape links from a website into a Google Sheet
This Link Scraper template extracts links from different webpages like listings, paginated, scrolling, and feed pages, and write them into a Google Sheet. It takes only a minute to set up.
We recommend scraping links with one Axiom then scraping the pages with another see this template.
Get started: create your Google Sheet
Create a new Google Sheet. You can do this in your Chrome browser by entering the shortcut "sheet.new", presuming you already have an account. Name your sheet something like 'Link Scraper’ and set up a tab called "Links".
Install the link scraper
To install this Web scraper template click "Install template". If you’re a new user, you’ll have to click "Install Chrome extension" and create a free axiom.ai account before you can edit the template.
Once installed, click "Start".
axiom.ai will guide you through the steps you need to configure in the app.
Configure your Link scraper in a minute
- Step 1.0
Get a list of links to pages from a URLURL: Enter the URL of the page you want to scrape.Select: Point and click to select the links you wish to scrape.Find pager(if any): Select the "Next" button if the page is paginated.Max Results: Set the number of links you wish to scrape.
- Step 2.0
Write data to a Google SheetSpreadsheet: Search for the Google Sheet you created. Once found, click to select.Sheet name: Choose the tab you created.DATA: Select[scraped-link-data].Write options: Set to"Add to existing data".
Run your link scraper
We suggest running a test first, setting max-results to 10, and reviewing the data.
Customize your template
Like all Axiom templates, you can use our no-code bot builder to customize any bot according to your requirements.
Troubleshooting
We recommend you watch the video to troubleshoot.
- Selectors fail to find content?
InStep 1.0 – Get data from bot's current page, try re-selecting or use custom selectors. - Slow running scraper?
In the same step, toggleConfigure scraper, then setNo. of retry...to0. - Want to speed the scraper up?
SetMax Resultsto match the number of columns you selected to scrape. - No data written?
InStep 2.0 – Write Data to a Google Sheet, check thatDatais set to[scraped-link-data]. - Keeps overwriting data?
Make sureAdd to existingis selected in the same step.
We offer excellent customer support. If you need help, get in touch.