Skip to content

Commit

Permalink
fix orders
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxxRK committed Jan 12, 2025
1 parent 60b2fca commit 2a7e5e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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.6",
version="0.2.7",
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.6.tar.gz",
download_url="https://github.com/MaxxRK/vanguard-api/archive/refs/tags/v0.2.7.tar.gz",
keywords=["VANGUARD", "API"],
install_requires=["playwright", "playwright-stealth"],
packages=["vanguard"],
Expand Down
2 changes: 1 addition & 1 deletion vanguard/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def place_order(

try:
order_preview = self.session.page.wait_for_selector(
".col-lg-7 > tds-card:nth-child(1) > div:nth-child(1) > tds-card-body:nth-child(1)",
".col-lg-7 > div:nth-child(1) > twe-order-details:nth-child(2)",
timeout=5000,
)
order_preview_text = order_preview.text_content()
Expand Down

0 comments on commit 2a7e5e4

Please sign in to comment.