Skip to content

Commit

Permalink
playwright stealth fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxxRK committed Sep 20, 2024
1 parent f3a43e9 commit 60b2fca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

setuptools.setup(
name="vanguard-api",
version="0.2.5",
version="0.2.6",
author="MaxxRK",
author_email="[email protected]",
description="An unofficial API for Vanguard Invest",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
url="https://github.com/MaxxRK/vanguard-api",
download_url="https://github.com/MaxxRK/vanguard-api/archive/refs/tags/v0.2.5.tar.gz",
download_url="https://github.com/MaxxRK/vanguard-api/archive/refs/tags/v0.2.6.tar.gz",
keywords=["VANGUARD", "API"],
install_requires=["playwright", "playwright-stealth"],
packages=["vanguard"],
Expand Down
6 changes: 3 additions & 3 deletions vanguard/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def __init__(self, title=None, headless=True, profile_path=".", debug=False):
self.page = None
self.playwright = sync_playwright().start()
self.stealth_config = StealthConfig(
navigator_languages=False,
navigator_user_agent=False,
navigator_vendor=False,
navigator_languages=True,
navigator_user_agent=True,
navigator_vendor=True,
)
self.get_browser()

Expand Down

0 comments on commit 60b2fca

Please sign in to comment.