Add nbr of message on bottom too
This commit is contained in:
parent
5c1ccb82ef
commit
cb1703a554
|
@ -113,7 +113,8 @@ class ReadFromCesium:
|
||||||
continue
|
continue
|
||||||
print("Objet: " + self.title)
|
print("Objet: " + self.title)
|
||||||
print(self.content)
|
print(self.content)
|
||||||
# pp_json(hits)
|
|
||||||
|
print(colored(infoTotal.center(rows, '#'), "yellow"))
|
||||||
|
|
||||||
|
|
||||||
def read(self, nbrMsg, outbox):
|
def read(self, nbrMsg, outbox):
|
||||||
|
|
|
@ -118,7 +118,7 @@ class ReadLikes:
|
||||||
|
|
||||||
result = requests.post('{0}/user/profile/_search'.format(self.pod), headers=headers, data=data)
|
result = requests.post('{0}/user/profile/_search'.format(self.pod), headers=headers, data=data)
|
||||||
result = json.loads(result.text)['hits']['hits'][0]['_source']
|
result = json.loads(result.text)['hits']['hits'][0]['_source']
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def readLikes(self, profile=False):
|
def readLikes(self, profile=False):
|
||||||
|
|
Loading…
Reference in New Issue