Skip to content

stephlaf/puppeteer-airtable-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial to scrape the web using Puppeteer and store to Airtable

Setup

yarn add puppeteer
yarn add airtable
yarn add dotenv
touch .env

Store your airtable API key and Board key in .env

AIRTABLE_API_KEY='your_api_key'
AIRTABLE_BOARD_KEY='your_board_key'

The table name Table 1 used in the base('Table 1').create command on line 10 of dieuduciel.js refers to the name of the table you want to write to.
Adjust accordingly.

screenshot

The board columns (all as Single text line, except for description, which is Long text, and image_url, which is URL). The columns must be defined as:

name
description
image_url
category
type
alcohol

Usage

Run the program with node dieuduciel.js
See all the imported data appear in your Airtable board 😃

Big thanks to @jeremiebardon for his help 🙏🏻

About

Tutorial to scrape the web using Puppeteer and store to Airtable

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors