# 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": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "linkedin message automation",
"author": "chandler song",
"author_email": "275737875@qq.com",
"download_url": "https://files.pythonhosted.org/packages/cf/ea/9902a6e99c5ac9f12c66d5407549c99a99e3bf1f032a20a7db930345ed3b/linkedin_cat-0.0.3.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.3",
"project_urls": {
"Homepage": "https://www.linkedin.com/in/chandlersong/"
},
"split_keywords": [
"linkedin",
"message",
"automation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cfea9902a6e99c5ac9f12c66d5407549c99a99e3bf1f032a20a7db930345ed3b",
"md5": "b78804aae508f5fc9c7dd7dbab7a15d7",
"sha256": "7a6adee29dca1b2621ea9fd1706c2929429c2d0faf50c6e548fe62e2a459cebb"
},
"downloads": -1,
"filename": "linkedin_cat-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "b78804aae508f5fc9c7dd7dbab7a15d7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7709,
"upload_time": "2024-11-02T11:48:47",
"upload_time_iso_8601": "2024-11-02T11:48:47.047147Z",
"url": "https://files.pythonhosted.org/packages/cf/ea/9902a6e99c5ac9f12c66d5407549c99a99e3bf1f032a20a7db930345ed3b/linkedin_cat-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-02 11:48:47",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "linkedin-cat"
}