Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
diezo committed Aug 7, 2023
1 parent a0fb5a7 commit 430d295
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ensta/AutoHost.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class AutoHost(Host):
load: any = None
file: str | None = None

def __init__(self, username: str, password: str, file: str = None, save: any = None, load: any = None) -> None:
def __init__(self, username: str, password: str, file: str = None, save: any = None, load: any = None, proxy: dict[str, str] | None = None) -> None:

self.username: str = username
self.password: str = password
Expand All @@ -36,7 +36,7 @@ def __init__(self, username: str, password: str, file: str = None, save: any = N
else: sessionid: str = self._new_session()

# Initialize Parent Class
super(AutoHost, self).__init__(sessionid)
super(AutoHost, self).__init__(sessionid, proxy)

# Load From File
else:
Expand All @@ -58,7 +58,7 @@ def __init__(self, username: str, password: str, file: str = None, save: any = N
else: sessionid: str = self._new_session()

# Initialize Parent Class
super(AutoHost, self).__init__(sessionid)
super(AutoHost, self).__init__(sessionid, proxy)

def _new_session(self) -> str:
# Generate New SessionID
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
setup(
name="ensta",
packages=["ensta", "ensta.lib", "ensta.containers"],
version="3.1",
version="3.2",
license="MIT",
description="🔥 Fastest & Simplest Python Package For Instagram Automation",
long_description=long_description,
long_description_content_type="text/markdown",
author="Deepak Soni",
author_email="[email protected]",
url="https://github.com/diezo/ensta",
download_url="https://github.com/diezo/ensta/archive/refs/tags/v3.1.tar.gz",
download_url="https://github.com/diezo/ensta/archive/refs/tags/v3.2.tar.gz",
keywords=["instagram-client", "instagram", "api-wrapper", "instagram-scraper", "instagram-api", "instagram-sdk", "instagram-photos", "instagram-api-python", "instabot", "instagram-stories", "instagram-bot", "instapy", "instagram-downloader", "instagram-account", "instagram-crawler", "instagram-private-api", "igtv", "instagram-automation", "reels", "instagram-feed"],
install_requires=["requests", "selenium", "fake-useragent"],
classifiers=[
Expand Down

0 comments on commit 430d295

Please sign in to comment.