import requests
from bs4 import BeautifulSoup
import re
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3521.2 Safari/537.36"
headers = {" User-Agent":user_agent}
url =" http://bxjg.bis.gov.cn//web/s."
session = requests.session ()
session.headers = headers
requests.adapters.DEFAULT_RETRIES = 50
session.keep_alive = False
r = session.get (url)
there is an error in the execution of the above code: it doesn"t work to look up a lot of methods on the Internet, ask for advice