I hereby claim:
- I am coston on github.
- I am coston (https://keybase.io/coston) on keybase.
- I have a public key ASBhOTXJHlEJYIdccQi_M9MLSFPhIY9nQaO6tQfNrnJ7xwo
To claim this, I am signing this object:
Data structure:
{
"nodes": [{
"id": {string|number},
"color": {optional color spec}
}
],
"links": [{
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env /usr/local/bin/node | |
const bitbar = require('bitbar'); | |
const Nightmare = require('nightmare'); | |
const nightmare = Nightmare({ show: false }) | |
nightmare | |
.goto('http://www.apple.com/shop/product/MMEF2AM/A/airpods') | |
.wait('.as-purchaseinfo-dudeinfo-deliverymsg') | |
.evaluate(() => document.querySelector('.as-purchaseinfo-dudeinfo-deliverymsg').innerText) |