instasele


Nameinstasele JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/sa3ed7asan/instasele
SummarySimple Instagram Accounts Controller Using Selenium
upload_time2024-08-28 00:22:56
maintainerNone
docs_urlNone
authorAl-Saeed Hasan
requires_python>=3.9
licenseMIT
keywords instagram-scraper instagram-bot instasele instagram-bot-using-selenium
VCS
bugtrack_url
requirements selenium webdriver-manager
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # instasele

**instasele** Simple Library To Control Instagram Accounts.

# Library Information
*Author :* [**Al-Saeed Hassan**](https://t.me/DEV_BEN)\
*Library :* [**instasele**](https://github.com/sa3ed7asan/instasele)\
*License:* [**MIT License**](https://github.com/sa3ed7asan/instasele/blob/main/LICENSE)\
*Release:* **28**/08/20**24**\
*Version :* **0.0.5**

If You Have Any Problem [Issues](https://github.com/sa3ed7asan/instasele/issues)

# Featurs:
- Available:
    - Login
    - Save Cookies File
    - Follow a user
    - Like a post
    - Add a comment on a post
- Comming:
    - Send DMs to users
    - Upload posts
    - Save posts
    - View user stories


# Usage

### Login into an `Instagram` account

#### Using credintials
```python
from instasele import Client
username = "account_username"
password = "account_password"
client = Client()
client.login(username, password, save_login=True)
```
`Cookies will be saved in cookies/account_username.json`

#### Using Cookies
```python
from instasele import Client
username = "account_username"
client = Client()
client.login(username, use_cookies=True)
```
*(opptional use_cookies)*.
*(opptional cookies_file)*.
*(opptional headless)*.

### Actions
#### Like
```python
from instasele import Client
username = "account_username"
password = "account_password"
client = Client()
login_response = client.login(username, password)
if response["ok"]:
    post_url = "instagram_post_url"
    client.like(post_url)
```

#### Comment
```python
from instasele import Client
username = "account_username"
password = "account_password"
client = Client()
login_response = client.login(username, password)
if response["ok"]:
    post_url = "instagram_post_url"
    client.comment(post_url, "comment")
```

#### Follow
```python
from instasele import Client
username = "account_username"
password = "account_password"
client = Client()
login_response = client.login(username, password)
if response["ok"]:
    account_url = "instagram_account_url"
    client.follow(account_url)
```

# Installation

**instasele** Available Now On PyPi

```console
python -m pip install instasele
```


**Note:** This is an unofficial library, created and maintained by [**Al-Saeed Hassan**](https://github.com/sa3ed7asan/). It is not supported or endorsed by Instagram.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sa3ed7asan/instasele",
    "name": "instasele",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "instagram-scraper, instagram-bot, instasele, instagram-bot-using-selenium",
    "author": "Al-Saeed Hasan",
    "author_email": "Sa3ed7asanOfficial@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5b/77/11486d8beca760c70b1be777c25e1e565d5dfdd8ffe048f3831109aae00c/instasele-1.0.0.tar.gz",
    "platform": null,
    "description": "# instasele\r\n\r\n**instasele** Simple Library To Control Instagram Accounts.\r\n\r\n# Library Information\r\n*Author :* [**Al-Saeed Hassan**](https://t.me/DEV_BEN)\\\r\n*Library :* [**instasele**](https://github.com/sa3ed7asan/instasele)\\\r\n*License:* [**MIT License**](https://github.com/sa3ed7asan/instasele/blob/main/LICENSE)\\\r\n*Release:* **28**/08/20**24**\\\r\n*Version :* **0.0.5**\r\n\r\nIf You Have Any Problem [Issues](https://github.com/sa3ed7asan/instasele/issues)\r\n\r\n# Featurs:\r\n- Available:\r\n    - Login\r\n    - Save Cookies File\r\n    - Follow a user\r\n    - Like a post\r\n    - Add a comment on a post\r\n- Comming:\r\n    - Send DMs to users\r\n    - Upload posts\r\n    - Save posts\r\n    - View user stories\r\n\r\n\r\n# Usage\r\n\r\n### Login into an `Instagram` account\r\n\r\n#### Using credintials\r\n```python\r\nfrom instasele import Client\r\nusername = \"account_username\"\r\npassword = \"account_password\"\r\nclient = Client()\r\nclient.login(username, password, save_login=True)\r\n```\r\n`Cookies will be saved in cookies/account_username.json`\r\n\r\n#### Using Cookies\r\n```python\r\nfrom instasele import Client\r\nusername = \"account_username\"\r\nclient = Client()\r\nclient.login(username, use_cookies=True)\r\n```\r\n*(opptional use_cookies)*.\r\n*(opptional cookies_file)*.\r\n*(opptional headless)*.\r\n\r\n### Actions\r\n#### Like\r\n```python\r\nfrom instasele import Client\r\nusername = \"account_username\"\r\npassword = \"account_password\"\r\nclient = Client()\r\nlogin_response = client.login(username, password)\r\nif response[\"ok\"]:\r\n    post_url = \"instagram_post_url\"\r\n    client.like(post_url)\r\n```\r\n\r\n#### Comment\r\n```python\r\nfrom instasele import Client\r\nusername = \"account_username\"\r\npassword = \"account_password\"\r\nclient = Client()\r\nlogin_response = client.login(username, password)\r\nif response[\"ok\"]:\r\n    post_url = \"instagram_post_url\"\r\n    client.comment(post_url, \"comment\")\r\n```\r\n\r\n#### Follow\r\n```python\r\nfrom instasele import Client\r\nusername = \"account_username\"\r\npassword = \"account_password\"\r\nclient = Client()\r\nlogin_response = client.login(username, password)\r\nif response[\"ok\"]:\r\n    account_url = \"instagram_account_url\"\r\n    client.follow(account_url)\r\n```\r\n\r\n# Installation\r\n\r\n**instasele** Available Now On PyPi\r\n\r\n```console\r\npython -m pip install instasele\r\n```\r\n\r\n\r\n**Note:** This is an unofficial library, created and maintained by [**Al-Saeed Hassan**](https://github.com/sa3ed7asan/). It is not supported or endorsed by Instagram.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simple Instagram Accounts Controller Using Selenium",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/sa3ed7asan/instasele"
    },
    "split_keywords": [
        "instagram-scraper",
        " instagram-bot",
        " instasele",
        " instagram-bot-using-selenium"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0b5b56cbc9180a7126b0e735c7218703feaaf204ef9f54a0a37b0d38bf75d434",
                "md5": "01dc60659d299f865c89ce9d0d97e6ad",
                "sha256": "ddffc460384ddd75ad98583a2afbb8e187143c58220da6bece9a50a5d70e62c9"
            },
            "downloads": -1,
            "filename": "instasele-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "01dc60659d299f865c89ce9d0d97e6ad",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10732,
            "upload_time": "2024-08-28T00:22:54",
            "upload_time_iso_8601": "2024-08-28T00:22:54.871116Z",
            "url": "https://files.pythonhosted.org/packages/0b/5b/56cbc9180a7126b0e735c7218703feaaf204ef9f54a0a37b0d38bf75d434/instasele-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5b7711486d8beca760c70b1be777c25e1e565d5dfdd8ffe048f3831109aae00c",
                "md5": "1a60ef366aecfc24ec253b270afd05f1",
                "sha256": "0cc1133c2fd53b8d8b332bd3969caba807f1ce8aebacf7f7c359422a45166bb8"
            },
            "downloads": -1,
            "filename": "instasele-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1a60ef366aecfc24ec253b270afd05f1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 8672,
            "upload_time": "2024-08-28T00:22:56",
            "upload_time_iso_8601": "2024-08-28T00:22:56.179292Z",
            "url": "https://files.pythonhosted.org/packages/5b/77/11486d8beca760c70b1be777c25e1e565d5dfdd8ffe048f3831109aae00c/instasele-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-28 00:22:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sa3ed7asan",
    "github_project": "instasele",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "selenium",
            "specs": [
                [
                    "==",
                    "4.9.1"
                ]
            ]
        },
        {
            "name": "webdriver-manager",
            "specs": []
        }
    ],
    "lcname": "instasele"
}
        
Elapsed time: 0.53377s