Esempio n. 1
0
 def __init__(self, sf='jobs'):
     BasicRequests.__init__(self)
     self._main_url = 'http://www.zjsfgkw.cn/Document/JudgmentBook'
     self._court_search_url = 'http://www.zjsfgkw.cn/Judges/GetCountByCountId'
     self._book_search_url = 'http://www.zjsfgkw.cn/document/JudgmentSearch'
     self.start_date = '19700101'
     self.end_date = time.strftime('%Y%m%d', time.localtime())
     self.save_file = sf
Esempio n. 2
0
 def __init__(self):
     BasicRequests.__init__(self)
     self.url = 'http://www.shenpan.cn/cpws/writopenlist.aspx?typeString='
     self.params = {}
     self.count = 0
Esempio n. 3
0
 def __init__(self):
     BasicRequests.__init__(self)
     self._url_format = 'http://gaokao.chsi.com.cn/zyk/pub/myd/schAppraisalTop.action?start=%d'
     self._url_format2 = 'http://gaokao.chsi.com.cn/zsgs/zhangcheng/listVerifedZszc--method-index,lb-1,start-%d.dhtml'
     self._schools = []
Esempio n. 4
0
 def __init__(self):
     BasicRequests.__init__(self)
     self.url = 'http://www.ftcourt.gov.cn/cpwspt/writopenlist.aspx?cls=0'
     self.params = {}
     self.count = 0
Esempio n. 5
0
 def __init__(self):
     BasicRequests.__init__(self)
     self.session = requests.Session()
Esempio n. 6
0
 def __init__(self, url):
     BasicRequests.__init__(self)
     self.url = url
Esempio n. 7
0
 def __init__(self):
     BasicRequests.__init__(self)
Esempio n. 8
0
 def __init__(self):
     BasicRequests.__init__(self)
     self.select_user_agent('firefox')
     self.mainpage = "https://s.nacao.org.cn/"
Esempio n. 9
0
 def __init__(self):
     BasicRequests.__init__(self)
     #self.info = "Developer=en1f6%2fhZ%2bU83YaiOGnLlpw%3d%3d"
     self.baseurl = "http://xapi.83r.com"
     self.token = ''
     self.balance = 0