Data structure:
{
"nodes": [{
"id": {string|number},
"color": {optional color spec}
}
],
"links": [{
#!/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) |
Data structure:
{
"nodes": [{
"id": {string|number},
"color": {optional color spec}
}
],
"links": [{
I hereby claim:
To claim this, I am signing this object: