Skip to content

Commit

Permalink
Merge pull request #138 from RileyXX/fix-issue-where-chromedriver-run…
Browse files Browse the repository at this point in the history
…ning-in-non-headless-mode

Fix issue where chromedriver runs in non-headless mode
  • Loading branch information
RileyXX authored Jan 17, 2025
2 parents b9de308 + 49378ae commit 583d027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion IMDBTraktSyncer/IMDBTraktSyncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def main():
options = Options()
options.binary_location = chrome_binary_path
options.add_argument(f"--user-data-dir={user_data_directory}")
#options.add_argument("--headless=new")
options.add_argument("--headless=new")
options.add_argument('--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36')
options.add_experimental_option("prefs", {
"download.default_directory": directory,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "IMDBTraktSyncer"
version = "3.2.9"
version = "3.3.0"
description = "A python script that syncs user watchlist, ratings and reviews for Movies, TV Shows and Episodes both ways between Trakt and IMDB."
authors = [
{name = "RileyXX"}
Expand Down

0 comments on commit 583d027

Please sign in to comment.