Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zaironjacobs committed Nov 28, 2020
1 parent 88e9fbe commit 3e96d65
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion instagram_scraper/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.8'
__version__ = '1.1.9'
2 changes: 2 additions & 0 deletions instagram_scraper/actions/scrape_multiple_content.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging
import time
from instagram_scraper import helper

from selenium.common.exceptions import NoSuchElementException
Expand Down Expand Up @@ -27,6 +28,7 @@ def click_next_control():

try:
self._web_driver.find_element_by_css_selector(constants.NEXT_CONTROL_CSS).click()
time.sleep(1)
except (NoSuchElementException, StaleElementReferenceException, ElementClickInterceptedException) as error:
logger.error(error)
self._scraper.stop()
Expand Down
2 changes: 1 addition & 1 deletion instagram_scraper/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def stop(self):
actions.Logout(self, self.__login_username).do()

try:
self.web_driver.quit()
self.__web_driver.quit()
except AttributeError as err:
logger.error(err)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
long_description = fh.read()

name = 'igscraper'
version = '1.1.8'
version = '1.1.9'

requires = [
'colorama>=0.4.3',
Expand Down

0 comments on commit 3e96d65

Please sign in to comment.