Ejemplo n.º 1
0
 def fetch(self):
     login_url = 'http://lib.ecjtu.jx.cn/gdweb/ReaderTable.aspx'
     history_url = 'http://lib.ecjtu.jx.cn/gdweb/HisdoryList.aspx?PageNo='+str(self._page)
     r = Request()
     r.setCookie(self.username,self.password).get(login_url)
     self._html = r.get(history_url)
     return self