Skip to content

Instantly share code, notes, and snippets.

Rup Rup1

  • New York City.
View GitHub Profile
Rup1 / nodebot.js
Created Oct 11, 2018
Preliminary script. File-watching specific folder using Chokidar, and automating Apple Mail using JXA.
View nodebot.js
var osa = require('osa2');
var fs = require('fs');
var chokidar = require('chokidar');
var watcher ='/Users/rup/Desktop/trolls', {
ignored: /(^|[\/\\])\../,
ignoreInitial: true,
persistent: true,
Rup1 / influencer.js
Last active Mar 26, 2020
Extract instagram info from screenshot, scrape each profile, put data into spreadsheet
View influencer.js
Little background story:
One day before going to a brunch party, my girlfriend got an email from her employer with a bunch of screenshots of
instagram/n influencer accounts. They asked that she put their names, websites, emails and other relevant info in a
spreadsheet. There were hundreds of accounts and this would have taken her at least a full day - ruining our party plans.
So I wrote this script to do it for her - I researched packages on the spot and was amazed at how easy it was to find node
You can’t perform that action at this time.