-
Add the
.env
file at the root directory to be used by the node application, like this:FIAP_URL = https://www2.fiap.com.br FIAP_CLASS_NAME = CLASS_CODE FIAP_USERNAME = USER_CODE FIAP_PASSWORD = USER_PASS
-
Set the environment variable
AWS_FIAP_BUCKET
, to be used by the aws cli to sync S3 -
Download the course content from Fiap website
npx playwright test
-
Sync those files with S3 bucket
aws s3 sync fiap-course-content ${AWS_FIAP_BUCKET}/fiap-course-content --size-only
vassopoli / fiap-course-content-downloader Goto Github PK
View Code? Open in Web Editor NEWA tool for efficient downloading of FIAP course content, and saving on S3