51job十万数据爬取
程序员文章站
2022-05-02 20:33:27
...
import chardet
from bs4 import BeautifulSoup
import requests
import time
import random
import json
import re
if __name__ =='__main__':
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.47 Safari/537.36 Edg/87.0.664.30'