Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 2.56 KB

README.md

File metadata and controls

46 lines (33 loc) · 2.56 KB

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