AT_LNXDOPython遇见研招网 嘿嘿嘿 中发帖

最近马上要预报名了 研招网筛选信息用着不是很舒服,所以 GPT 启动~ 

GetYanZhao 主程序负责抓取数据,结果在同目录下的 res 目录下,需要佬友准备如下:

填入自己的专业代码 如 “085400”,
准备 schools.txt 指明你想查询的院校名称
执行 python GetYanZhao.py


import requests
import os
from tqdm import tqdm
from bs4 import BeautifulSoup
from concurrent.futures import ThreadPoolExecutor

BASE_URL = "https://yz.chsi.com.cn"
QUERY_ACTION_URL = "https://yz.chsi.com.cn/zsml/queryAction.do"

def sen...