Skip to content

Crawl Behance and GitHub portfolios using a headless browser and save screenshots.

Notifications You must be signed in to change notification settings

Multi-Sync/portfolio-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capture screenshots from Github and Behance

This project is used to capture screenshots from Github and Behance. It uses Puppeteer plugin to capture screenshots through a headless browser.

Installation

  1. Clone the repository
  2. Run npm install to install the dependencies
  3. Run npm start to run the test.js file

Note: You can change the URL in the test.js file to capture screenshots for different usernames.

Example Usage

const {captureGithubScreenshots } = require('./app.js');
captureGithubScreenshots(
    'https://github.com/N1ghtHunter', // Github URL
    './screenshots', // Screenshots folder path
    {
        screenshotCount: 3, // Number of screenshots to be taken
        sortBy: 'stars' // Sort by 'stars', 'latest', or 'name'
    }
);

Note: config object is optional. If not provided, it will take the default values.

🥳 You are all set! 🎉 Crawler-Screen-shots

You should screen shots in the screenshots folder.

Shout out to https://github.com/N1ghtHunter for the implementation.

About

Crawl Behance and GitHub portfolios using a headless browser and save screenshots.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published