Virmach黑五专场(2019Black Friday Flash Sale)
活动连接:https://virmach.com/black-friday-cyber-monday/
==快速下单链接==
抢购秘籍:
1. Virmach网页监控(推荐):http://www.savh.cn/a/virmach/
2. 客户端软件:OpenWebMonitor
3. 浏览器插件:Distill Web Monitor
监控页面:https://billing.virmach.com/modules/addons/blackfriday/new_plan.json
配置:安排:Random Min:60 Max:90,条件:没有 Out of Stock,2.没有 Checking your brower 3.有 Deploy Service
4. Chrom浏览器,F12,Console,命令:
const aff = 6426 const like = 10 const new_plan = 'https://billing.virmach.com/modules/addons/blackfriday/new_plan.json' const add = `https://billing.virmach.com/aff.php?aff=${aff}&pid=175` Notification.requestPermission() let pre = '' const main = async () => { let a = await fetch(new_plan) a = await a.json() cur = JSON.stringify(a) console.log(cur) if (pre === cur) { return } pre = cur a = parseFloat(a.price.match(/([\d\.]+)/)[1]) if (a < like) { new Notification(a) window.open(add) } } main() setInterval(main, 10000)
回车即可运行,每10秒查一次,10刀以下发通知抢购
5. Python
功能:1.按个人要求筛选匹配条件[修改settings即可] 2.声音提醒功能 3.自动生成购物车链接 4.无第三方库,是python就能跑
import requests import json import re import time import sys import winsound settings = { 'price': 15, 'virt': 'KVM', 'ram': 2048, 'cpu': 2, 'hdd': 30, 'bw': 1500, 'ips': 1, } url = 'https://billing.virmach.com/modules/addons/blackfriday/new_plan.json' def run(): response = json.loads(requests.get(url).text) price = response['price'] if 'yr' in price: price = float(re.findall('\$(.+?) <span>/yr</span>', price)[0]) virt = response['virt'] ram = int(response['ram']) cpu = int(response['cpu']) hdd = int(response['hdd']) bw = int(response['bw']) ips = int(response['ips']) pid = response['pid'] location = response['location'] # BUFFALO if price <= settings['price'] and virt == settings['virt'] and ram >= settings['ram'] and cpu >= settings[ 'cpu'] and hdd >= settings['hdd'] and bw >= settings['bw'] and ips >= settings['ips']: winsound.Beep(500, 1000) print(price) print(cpu, 'H', ram, 'M', bw, 'G') print('hdd:', hdd, 'G') if ips > 1: print(ips) print(location) print('https://billing.virmach.com/cart.php?a=add&pid=' + str(pid)) else: item = '无符合机器 ' + time.strftime("%H:%M:%S %Y-%m-%d", time.localtime()) sys.stdout.write('\r' + str(item) + '\033[K') sys.stdout.flush() while 1: run() time.sleep(5)
隐藏内容,回复后查看。
隐藏内容,登录查看。
http://www.savh.cn/thread-375.htm
转载请注明:Savh.Cn 发表