Пример #1
0
 def resumePostData(self):
     self.weiboapi = weiboApi.weiboApi()
     my_folder = self.selectFromFolder(self.OUTPUT_PATH)
     fetchInfo = self.resumeFetchData(self.OUTPUT_PATH, my_folder)
     print fetchInfo
     self.weiboapi.mainLoop(
         fetchInfo[0], fetchInfo[1], self.OUTPUT_PATH + os.sep + my_folder, since_page=fetchInfo[2]
     )
Пример #2
0
 def resumePostData(self):
     self.weiboapi = weiboApi.weiboApi()
     my_folder = self.selectFromFolder(self.OUTPUT_PATH)
     fetchInfo = self.resumeFetchData(self.OUTPUT_PATH, my_folder)
     print fetchInfo
     self.weiboapi.mainLoop(fetchInfo[0],
                            fetchInfo[1],
                            self.OUTPUT_PATH + os.sep + my_folder,
                            since_page=fetchInfo[2])
Пример #3
0
 def getPostData(self, command, uid, path, format):
     self.weiboapi = weiboApi.weiboApi()
     # self.weiboapi.read_tokens()
     self.weiboapi.mainLoop(command, uid, path, format)
Пример #4
0
 def getToken(self):
     self.weiboapi = weiboApi.weiboApi()
     self.weiboapi.create_token()
     return
Пример #5
0
 def getPostData(self, command, uid, path, format):
     self.weiboapi = weiboApi.weiboApi()
     # self.weiboapi.read_tokens()
     self.weiboapi.mainLoop(command, uid, path, format)
Пример #6
0
 def getToken(self):
     self.weiboapi = weiboApi.weiboApi()
     self.weiboapi.create_token()
     return