Skip to content

Instantly share code, notes, and snippets.

Rup Rup1

  • New York City.
Block or report user

Report or block Rup1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Rup1
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 = chokidar.watch('/Users/rup/Desktop/trolls', {
ignored: /(^|[\/\\])\../,
ignoreInitial: true,
persistent: true,
});
@Rup1
Rup1 / influencer.js
Last active Jan 3, 2018
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.