Skip to content

Instantly share code, notes, and snippets.

View jackhuntcn's full-sized avatar
🎯
Focusing

Heng Zheng jackhuntcn

🎯
Focusing
  • GuangZhou, China
View GitHub Profile
@jackhuntcn
jackhuntcn / manmanbuy.py
Created June 21, 2018 11:22
a script for check product history price, using PyV8.
#coding: utf-8
import sys
if sys.getdefaultencoding() != 'utf-8':
reload(sys)
sys.setdefaultencoding('utf-8')
import json
import re
from urllib import quote
from datetime import datetime
#coding:utf-8
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
import base64
import time
import numpy as np
import cv2
#coding:utf-8
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
import base64
import time
import numpy as np
import cv2
#coding:utf-8
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import time
import re