Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

183 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

🚀 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

About

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

Topics

Resources

Code of conduct

Security policy

Stars

10 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages