This file contains hidden or 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
var list = require('./list.json'); | |
var fs = require('fs'); | |
var page = require('webpage').create(); | |
var result = require('./result.json') || {}; | |
var finalize = function(){ | |
fs.write('result.json', JSON.stringify(result),'w'); | |
phantom.exit() | |
} | |
var failSeach = function(text) { | |
return !(text.indexOf('画像が大きすぎるか、') === -1 && |
This file contains hidden or 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
#!/bin/bash | |
POST_INIT_SYNC_DELAY=60 | |
POLL_DELAY=60 | |
STALL_THRESHOLD=5 | |
BTCCTL='docker exec btcd btcctl --rpcuser=YOUR_USER --rpcpass=YOUR_PASS --rpccert=/rpc/rpc.cert ' | |
stalls=0 | |
echo "Starting watcher..." | |
while true; do |
OlderNewer