Skip to content

Commit

Permalink
Scraper only getting first image.
Browse files Browse the repository at this point in the history
When opening chrome in a custom resolution it does not let you see the tabs to change the photos.
  • Loading branch information
Arwiim authored Jun 30, 2022
1 parent 30e858b commit 1efa52f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tinderbotz/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def cleanup():

Path(f'{user_data}First Run').touch()
options.add_argument(f"--user-data-dir={user_data}")


options.add_argument("--start-maximized")
options.add_argument('--no-first-run --no-service-autorun --password-store=basic')
options.add_argument("--lang=en-GB")

Expand All @@ -110,7 +111,7 @@ def cleanup():
print("Getting ChromeDriver ...")
self.browser = uc.Chrome(options=options) #ChromeDriverManager().install(),
#self.browser = webdriver.Chrome(options=options)
self.browser.set_window_size(1250, 750)
#self.browser.set_window_size(1250, 750)

# clear the console based on the operating system you're using
os.system('cls' if os.name == 'nt' else 'clear')
Expand Down

0 comments on commit 1efa52f

Please sign in to comment.