# Introduction
## Install package
```shell
pip install linkedin_cat
```
## Preparation
- create file `linkedin_cookies.json`
- please use Chrome Extension `EditThisCookie` to export linkedin cookies to `linkedin_cookies.json`
## Example Usage:
```python
from linkedin_cat.message import LinkedinMessage
# linkedin cookie file path
linkedin_cookies_json='./linkedin_cookies.json'
# headless mode
headless = False
# Ininialized LinkedinMessage
bot = LinkedinMessage(linkedin_cookies_json,headless)
# message to sent, use FIRSTNAME or FULLNAME to customized the message
message = "Hello FIRSTNAME,hope you are doing well. Glad to e-meet with you on linkedin"
# Send single request by url
url = "https://www.linkedin.com/in/chandlersong/"
bot.send_single_request(url,message)
# Send multi request by linkedin url list
urls_list = [
"https://www.linkedin.com/in/chandlersong/",
"https://www.linkedin.com/in/chandlersong/",
]
bot.send_multi_request(urls_list,message)
```
Raw data
{
"_id": null,
"home_page": "https://www.linkedin.com/in/chandlersong/",
"name": "linkedin-cat",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "linkedin message automation",
"author": "chandler song",
"author_email": "275737875@qq.com",
"download_url": "https://files.pythonhosted.org/packages/9e/e6/bfd3aa4c40ba6fd734a6f4334cde07b7cd3dcc9cbb0f5be9546de75ae53c/linkedin_cat-0.0.2.tar.gz",
"platform": "all",
"description": "\r\n# Introduction\r\n## Install package\r\n```shell\r\npip install linkedin_cat\r\n```\r\n## Preparation\r\n\r\n- create file `linkedin_cookies.json`\r\n\r\n- please use Chrome Extension `EditThisCookie` to export linkedin cookies to `linkedin_cookies.json`\r\n\r\n\r\n\r\n## Example Usage:\r\n\r\n```python\r\nfrom linkedin_cat.message import LinkedinMessage\r\n\r\n# linkedin cookie file path\r\nlinkedin_cookies_json='./linkedin_cookies.json'\r\n# headless mode\r\nheadless = False\r\n# Ininialized LinkedinMessage\r\nbot = LinkedinMessage(linkedin_cookies_json,headless)\r\n\r\n# message to sent, use FIRSTNAME or FULLNAME to customized the message\r\nmessage = \"Hello FIRSTNAME,hope you are doing well. Glad to e-meet with you on linkedin\"\r\n\r\n# Send single request by url\r\nurl = \"https://www.linkedin.com/in/chandlersong/\"\r\nbot.send_single_request(url,message)\r\n\r\n# Send multi request by linkedin url list \r\nurls_list = [ \r\n \t\"https://www.linkedin.com/in/chandlersong/\",\r\n \t\"https://www.linkedin.com/in/chandlersong/\",\r\n ]\r\n\r\nbot.send_multi_request(urls_list,message)\r\n \r\n```\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "linkedin automation tool",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://www.linkedin.com/in/chandlersong/"
},
"split_keywords": [
"linkedin",
"message",
"automation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9ee6bfd3aa4c40ba6fd734a6f4334cde07b7cd3dcc9cbb0f5be9546de75ae53c",
"md5": "d5504b8a18fb9b861bdedb45fc89d16f",
"sha256": "1b62c1a69b4233f06097c478a52e3baed756674a931f21cb8b3f4d41eed3ac8d"
},
"downloads": -1,
"filename": "linkedin_cat-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "d5504b8a18fb9b861bdedb45fc89d16f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7133,
"upload_time": "2023-11-25T02:42:37",
"upload_time_iso_8601": "2023-11-25T02:42:37.579155Z",
"url": "https://files.pythonhosted.org/packages/9e/e6/bfd3aa4c40ba6fd734a6f4334cde07b7cd3dcc9cbb0f5be9546de75ae53c/linkedin_cat-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-25 02:42:37",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "linkedin-cat"
}