# !/usr/bin/env python # -*- coding: utf-8 -*- import requests import pandas as pd import random import time from requests.packages.urllib3.exceptions import InsecureRequestWarning # 禁用安全请求警告 requests.packages.urllib3.disable_warnings(InsecureRequestWarning) def job(): headers = { 'Host': 'www.tzxm.gov.cn:8081', 'Connection': 'keep-alive', 'Content-Length': '158', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'Origin': 'https://www.tzxm.gov.cn:8081', 'Upgrade-Insecure-Requests': '1', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0
python 爬取投资项目在线审批监管平台
于 2020-09-19 00:55:41 首次发布