Python下载PDF

首先上代码

from bs4 import BeautifulSoup
import requests
import io
from urllib import parse
import time

# "http://info5.zzu.edu.cn/2021gongshi/6jiaoxue33/教授(12)/赵建国 职称评审简表.pdf"
def get_file_url(url_website):
    data = requests.get(url_website)
    data.encoding 

你可能感兴趣的:(Python爬虫,python,开发语言,后端)