Skip to content

Commit

Permalink
Update quickstart.py with better importing and with example of settin…
Browse files Browse the repository at this point in the history
…g custom workspace
  • Loading branch information
uluQulu committed Jan 11, 2019
1 parent 588e3a6 commit 5cf44e2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion quickstart.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
""" Quickstart script for InstaPy usage """
# imports
from instapy import InstaPy
from instapy.util import smart_run
from instapy import smart_run
from instapy import set_workspace

# login credentials
insta_username = ''
insta_password = ''

# set workspace folder at desired location (default is at your home folder)
set_workspace(path=None)

# get an InstaPy session!
# set headless_browser=True to run InstaPy in the background
session = InstaPy(username=insta_username,
Expand Down

0 comments on commit 5cf44e2

Please sign in to comment.