/snap-lens-web-crawler

Crawl and download Snap Lenses from lens.snapchat.com with ease.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

👻 Snap Lens Web Crawler

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 ☕

You can also become my GitHub Sponsor


© 2023 Patrick Trumpis