一、首先爬取所有的申报通知的网址链接
import requests
import re
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as ec
import pandas as pd
from bs4 import BeautifulSoup
from selenium import webdriver
browser = webdriver.Chrome('E:/python/chromedriver.exe')
url = 'http://jgxy.jhc.cn/jxkysy/list.htm'
browser.get(url)
title = []
url = []
new_str1 = '申报'
new_str2 = '通知'
for i in rang