python_金融_高

天之骄子的自我救赎之路...... 埋着头,向前走,寻找我自己......

博客园 首页 联系 订阅 管理

2019年7月5日

摘要: 1 import requests 2 from lxml import etree 3 4 '''访问“8684公交查询网”,抓取太原市公交路线:''' 5 6 headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) ' 7 'AppleWebKit... 阅读全文
posted @ 2019-07-05 10:53 Python_金融_Mr.Gao 阅读(855) 评论(0) 推荐(0) 编辑

摘要: 一、get请求 二、post请求 三、使用代理 四、cookie登录 阅读全文
posted @ 2019-07-05 10:51 Python_金融_Mr.Gao 阅读(295) 评论(0) 推荐(0) 编辑