Skip to content

JavaScript library to crawl and download Snap Lenses from lens.snapchat.com with ease.

License

Notifications You must be signed in to change notification settings

ptrumpis/snap-lens-web-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub License GitHub Release Date GitHub Release GitHub Commits GitHub stars GitHub forks

👻 Snap Lens Web Crawler

JavaScript library to crawl and download Snap Lenses from lens.snapchat.com with ease.

⚠️ Requirements

  • cheerio

🚀 Usage

npm

npm i @ptrumpis/snap-lens-web-crawler

JavaScript

Example:

import LensWebCrawler from "@ptrumpis/snap-lens-web-crawler/crawler";

const crawler = new LensWebCrawler();

// examples
const topLenses = await crawler.getTopLenses();
const singeLens = await crawler.getLensByHash('32_CHAR_UUID');
const creatorLenses = await crawler.getLensesByCreator('CREATOR_SLUG');
const userProfileLenses = await crawler.getUserProfileLenses('USERNAME');
const searchResults = await crawler.searchLenses('SEARCH TERM');

ℹ️ Info

Dependents

This package is a dependency of:
👻 Snap Camera Server

The return values are Snap Camera / Snap Camera Server compatible object(s).

❤️ Support

If you like my work and want to support me, feel free to invite me for a virtual coffee ☕

Ko-fi Buy me a Coffee Liberapay PayPal

You can also become my GitHub Sponsor

Sponsor


© 2023-2025 Patrick Trumpis