Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amazon link can not request success #281

Open
wanzhu13 opened this issue Mar 28, 2024 · 3 comments
Open

amazon link can not request success #281

wanzhu13 opened this issue Mar 28, 2024 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@wanzhu13
Copy link

wanzhu13 commented Mar 28, 2024

shortgoodslink='https://www.amazon.co.jp/dp/B00APWITG0/ref=olp-opf-redir?aod=1&ie=UTF8&condition=ALL'
modelInt=random.randint(0, 6)

impersonateList=['chrome107','chrome110','chrome116','chrome119','chrome120','safari17_0','safari17_2_ios']                            

async with AsyncSession() as s:
    response = await s.get(shortgoodslink,allow_redirects=False,verify=False,impersonate=impersonateList[modelInt])

Failed to perform, curl: (7) Failed to connect to www.amazon.co.jp port 443 after 14581 ms: Couldn't connect to server. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.

curl_cffi.curl.CurlError: Failed to perform, curl: (7) Failed to connect to www.amazon.co.jp port 443 after 14581 ms: Couldn't connect to server. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.
@wanzhu13 wanzhu13 added the bug Something isn't working label Mar 28, 2024
@wanzhu13
Copy link
Author

https://www.amazon.co.jp/dp/B00APWITG0/ref=olp-opf-redir?aod=1&ie=UTF8&condition=ALL
get above link ,can not find id 'aod-asin-block-asin' on right side web

@wanzhu13
Copy link
Author

屏幕截图 2024-03-29 113721

@yifeikong
Copy link
Owner

It's probably because that the element you would like to select is generated dynamically. You need a tool like playwright for this.

@yifeikong yifeikong added question Further information is requested and removed bug Something isn't working labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants