crawler_shopee
crawler_shopee copied to clipboard
Will this works on shopee.com.my ?
I tried changing the url to shopee.com.my and this is the error:
[main.py:138 - checkPopModal() ] 2020-09-14 10:12:55,390 root INFO pop modal not found
[main.py:153 - loginByCookie() ] 2020-09-14 10:12:57,155 root INFO Use cookie.pkl to login
[main.py:146 - checkLogin() ] 2020-09-14 10:13:02,575 root INFO Login Failed
[main.py:164 - loginByPass() ] 2020-09-14 10:13:03,648 root ERROR Login Modal not showingElementClickInterceptedException('element click intercepted: Element <a class="navbar__link navbar__link--account navbar__link--tappable navbar__link--hoverable navbar__link-text navbar__link-text--medium" href="/buyer/login?next=https%253A%252F%252Fshopee.com.my%252F">...</a> is not clickable at point (1174, 17). Other element would receive the click: <div class="shopee-popup__overlay"></div>\n (Session info: headless chrome=85.0.4183.102)', None, None)
[main.py:256 - close() ] 2020-09-14 10:13:03,763 root INFO Program exit
My suspect is that when you open https://shopee.com.my for the first time, it prompts a new modal that asks users to choose a language and the modal is blocking it from clicking the login button.
這專案做法看起來是去檢測是否存在某CSS的元素 存在才會繼續執行,我這邊也檢測不到導致無法work