Automatically curates and posts content to LinkedIn. It can optionally use web scraping to gather data, which is then fed to ChatGPT to craft engaging LinkedIn posts.
When message requires a continuation, it posts twice, and the last message response includes something along the lines of "I appologize the previous message was cut off..."
Bot stops working when session expires. Currently, cookie value is only valid for about a week. Need to implement refresh. When server responds with set cookie in header, update cookie in config.json.
$ /bin/python /home/varun/auto/linkedin-post-automator/main.py
Traceback (most recent call last):
File "/home/varun/auto/linkedin-post-automator/main.py", line 2, in
from core.content_manager import ContentManager
File "/home/varun/auto/linkedin-post-automator/core/content_manager.py", line 2, in
from core.chatgpt import ChatGpt
File "/home/varun/auto/linkedin-post-automator/core/chatgpt.py", line 7, in
class IncompleteResponse(openai.error.OpenAIError):
^^^^^^^^^^^^
AttributeError: module 'openai' has no attribute 'error'