![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python爬虫
文章平均质量分 71
ecust_gm
这个作者很懒,什么都没留下…
展开
-
自学PyQuery扎记
PyQuery解析HTML页面范例1.HTML简介:推荐参见W3school HTML教程 直接上例子:<html> <body> <h1> First Nesting <!--这是第一层嵌套--> <h2> Second Nesting <!--这是第二层嵌套--> <h3 id='原创 2017-07-22 21:22:12 · 492 阅读 · 0 评论 -
Python爬某Ecust教务处网站
1.背景:某ECUST高校的教务处网站现在查成绩需要验证码了。但是家长登陆的窗口还没有使用验证码,用这个漏子来爬去一下教务处的成绩:2.工具:Google chorme浏览器 Python 3.6.0 requests 库 PyQuery 库 lxml 库(代码中并未用到,只是因为PyQuery库调用了lxml库,姑且列入进来吧)3.解决方法:3.1寻找教务处家长查询的地址直接利用chorm原创 2017-07-24 01:18:33 · 1072 阅读 · 0 评论 -
Python爬内蒙古大学教务处并自动计算绩点(小窗体版)
直接上代码(可参考以前爬ecust的备注)from tkinter import *from time import ctimeimport requests as rqfrom pyquery import PyQuery as pqdef gpa(i):#定义绩点 if i=="优": return 3.7 if i=='合格': retu原创 2017-08-04 23:28:25 · 1604 阅读 · 0 评论