Metadata-Version: 2.1
Name: instasele
Version: 0.0.1
Summary: Simple Instagram Accounts Controller Using Selenium
Home-page: https://github.com/sa3ed7asan/instasele
Author: Al-Saeed Hasan
Author-email: Sa3ed7asanOfficial@gmail.com
License: MIT
Keywords: instagram-scraper,instagram-bot,instasele,instagram-bot-using-selenium
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: Indonesian
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: selenium==4.9.1
Requires-Dist: webdriver-manager

# 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:* **08**/07/20**24**\
*Version :* **0.0.1**

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")
```


# 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.
