/insta-scraper

Promise-based javascript instagram scraper on client

Primary LanguageJavaScript

Promise-based javascript instagram scraper on client

Previously, the script was based on YQL, but Yahoo stopped supporting the HTML library.

Now instagram scraper based on allorigins.me.

Allorigins make cross-domain AJAX requests.

Usage

/**
 * @param {string} username - instagram username
 * @param {string} thumbnails - thumbnails (thumbnail_src, display_src)
 * @returns {Promise} - array of images
 */
instaScraper( username[, thumbnails])

License

MIT © 2017-present Anton Reshetov