Reformat and set the net and channel for 4chan

This commit is contained in:
2022-09-05 07:20:30 +01:00
parent dcd648e1d2
commit 9c9d49dcd2
3 changed files with 14 additions and 13 deletions

8
db.py
View File

@@ -41,8 +41,8 @@ def store_message(msg):
# print(body_post)
try:
# Bulk index operations
api_instance.bulk(body_post, async_req=True)
# print(api_response)
api_response = api_instance.bulk(body_post) # , async_req=True
print(api_response)
except ApiException as e:
print("Exception when calling IndexApi->bulk: %s\n" % e)
@@ -82,8 +82,8 @@ def store_message_bulk(data):
# print(body_post)
try:
# Bulk index operations
api_instance.bulk(body_post, async_req=True)
# print(api_response)
api_response = api_instance.bulk(body_post) # , async_req=True
print(api_response)
except ApiException as e:
print("Exception when calling IndexApi->bulk: %s\n" % e)
print("FINISHED PROCESSING SPLIT")