浏览器UserAgent生成器
demoPython3.5下测试通过
from ImNotSpider import ImNotSpider as imspins = imsp.ImNotSpider()#随机ua = ins.random()ua = ins.pc()ua = ins.wap()ua = ins.pc_linux()ua = ins.pc_windows()ua = ins.pc_mac()ua = ins.internet_explorer()#Windows PCua = ins.chrome_pc()ua = ins.chrome_pc_linux()ua = ins.chrome_pc_mac()ua = ins.chrome_pc_windows()ua = ins.firefox_pc()ua = ins.firefox_pc_linux()ua = ins.firefox_pc_mac()ua = ins.firefox_pc_windows()ua = ins.android()ua = ins.iphone()ua = ins.chrome_wap()ua = ins.chrome_wap_android()ua = ins.chrome_wap_iphone()ua = ins.wechat()ua = ins.wechat_android()ua = ins.wechat_iphone()ua = ins.uc_browser_android() #UC浏览器ua = ins.baidu_box_app() #手机百度ua = ins.baidu_box_app_android()ua = ins.baidu_box_app_iphone()其他语言(Java、PHP等)使用 https://github.com/lbp0200/ImNotSpiderWebAPI ,搭建一个Web接口,调用Web接口即可
安装pip install git+https://github.com/lbp0200/ImNotSpiderWebAPI.git
评论