python3 windows下的几乎万能爬虫方法
解决selenium下被反扒的情况# -*- encoding:utf-8 -*-import timeimport requestsfrom selenium.webdriver.common.by import Bydef get_data(cookies): headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHT