一家懂得用细节留住客户的3年潮牌老店我必须支持!➕🛰:luyao1931
python网络爬虫-爬取酷狗TOP500的数据
import requests
from bs4 import BeautifulSoup
import time
headers = {
'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36'
}
def get_info(url):
wb_data = requests.get(url,headers=headers)