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

 

History

9 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.

⚠️ Requirements

  • cheerio
  • node-fetch

🚀 Usage

import LensWebCrawler from "./crawler.js";

const crawler = new LensWebCrawler();

// examples
const singeLens = await crawler.getLensByHash('32_CHAR_UUID');
const creatorLenses = await crawler.searchByCreatorSlug('CREATOR_SLUG');
const searchResults = await crawler.searchLenses('SEARCH TERM');

ℹ️ Info

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

This crawler is a dependency of Snap Camera Server

❤️ 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-2024 Patrick Trumpis