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

Error Loading Product Page (line 68 IndexError list index out of range). #148

Open
jmesfo0 opened this issue Sep 27, 2021 · 2 comments
Open

Comments

@jmesfo0
Copy link

jmesfo0 commented Sep 27, 2021

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\WINDOWS\system32> D:
PS D:> git clone https://github.com/Strip3s/PhoenixBot/
Cloning into 'PhoenixBot'...
remote: Enumerating objects: 571, done.
remote: Counting objects: 100% (147/147), done.
remote: Compressing objects: 100% (130/130), done.
89% (509/571)
Receiving objects: 100% (571/571), 1.58 MiB | 20.50 MiB/s, done.
Resolving deltas: 100% (348/348), done.
PS D:> cd PhoenixBot
PS D:\PhoenixBot> python -m venv ./env
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
PS D:\PhoenixBot> python -m venv ./env
PS D:\PhoenixBot> ./env/Scripts/activate
(env) PS D:\PhoenixBot> python -m pip install --upgrade pip
Requirement already satisfied: pip in d:\phoenixbot\env\lib\site-packages (21.2.3)
Collecting pip
Using cached pip-21.2.4-py3-none-any.whl (1.6 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.2.3
Uninstalling pip-21.2.3:
Successfully uninstalled pip-21.2.3
Successfully installed pip-21.2.4
(env) PS D:\PhoenixBot> pip install -r requirements.txt
Collecting certifi==2020.11.8
Using cached certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting chromedriver-py==92.0.4515.43
Using cached chromedriver_py-92.0.4515.43-py3-none-any.whl (20.1 MB)
Collecting click==7.1.2
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting colorama==0.4.4
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting configparser==5.0.1
Using cached configparser-5.0.1-py3-none-any.whl (22 kB)
Collecting crayons==0.4.0
Using cached crayons-0.4.0-py2.py3-none-any.whl (4.6 kB)
Collecting darkdetect==0.2.0
Using cached darkdetect-0.2.0-py3-none-any.whl (5.5 kB)
Collecting idna==2.10
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting js2py==0.70
Using cached Js2Py-0.70-py3-none-any.whl (605 kB)
Collecting lxml==4.6.3
Downloading lxml-4.6.3-cp39-cp39-win_amd64.whl (3.5 MB)
|████████████████████████████████| 3.5 MB 3.2 MB/s
Collecting pip-tools==5.5.0
Using cached pip_tools-5.5.0-py2.py3-none-any.whl (45 kB)
Collecting pycryptodome==3.9.9
Downloading pycryptodome-3.9.9-cp39-cp39-win_amd64.whl (14.1 MB)
|████████████████████████████████| 14.1 MB 3.3 MB/s
Collecting pyjsparser==2.7.1
Using cached pyjsparser-2.7.1.tar.gz (24 kB)
Collecting pyqt5-qt5==5.15.2
Downloading PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl (50.1 MB)
|████████████████████████████████| 50.1 MB 29 kB/s
Collecting pyqt5-sip==12.8.1
Downloading PyQt5_sip-12.8.1-cp39-cp39-win_amd64.whl (63 kB)
|████████████████████████████████| 63 kB 980 kB/s
Collecting pyqt5==5.15.4
Downloading PyQt5-5.15.4-cp36.cp37.cp38.cp39-none-win_amd64.whl (6.8 MB)
|████████████████████████████████| 6.8 MB 6.4 MB/s
Collecting pytz==2020.4
Downloading pytz-2020.4-py2.py3-none-any.whl (509 kB)
|████████████████████████████████| 509 kB ...
Collecting requests==2.25.1
Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 4.0 MB/s
Collecting selenium==3.141.0
Downloading selenium-3.141.0-py2.py3-none-any.whl (904 kB)
|████████████████████████████████| 904 kB 6.4 MB/s
Collecting six==1.15.0
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting tzlocal==2.1
Downloading tzlocal-2.1-py2.py3-none-any.whl (16 kB)
Collecting urllib3==1.26.5
Downloading urllib3-1.26.5-py2.py3-none-any.whl (138 kB)
|████████████████████████████████| 138 kB 6.4 MB/s
Collecting webdriver_manager==3.3.0
Downloading webdriver_manager-3.3.0-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: pip>=20.1 in d:\phoenixbot\env\lib\site-packages (from pip-tools==5.5.0->-r requirements.txt (line 87)) (21.2.4)
Using legacy 'setup.py install' for pyjsparser, since package 'wheel' is not installed.
Installing collected packages: urllib3, pytz, idna, colorama, chardet, certifi, tzlocal, six, requests, pyqt5-sip, pyqt5-qt5, pyjsparser, crayons, configparser, click, webdriver-manager, selenium, pyqt5, pycryptodome, pip-tools, lxml, js2py, darkdetect, chromedriver-py
Running setup.py install for pyjsparser ... done
Successfully installed certifi-2020.11.8 chardet-3.0.4 chromedriver-py-92.0.4515.43 click-7.1.2 colorama-0.4.4 configparser-5.0.1 crayons-0.4.0 darkdetect-0.2.0 idna-2.10 js2py-0.70 lxml-4.6.3 pip-tools-5.5.0 pycryptodome-3.9.9 pyjsparser-2.7.1 pyqt5-5.15.4 pyqt5-qt5-5.15.2 pyqt5-sip-12.8.1 pytz-2020.4 requests-2.25.1 selenium-3.141.0 six-1.15.0 tzlocal-2.1 urllib3-1.26.5 webdriver-manager-3.3.0
(env) PS D:\PhoenixBot> python app.py
Welcome To Phoenix Bot - In times of crisis, the wise build bridges while the foolish build barriers.
[2021-09-26 18:16:05][TASK Set-Settings-Data] No existing settings found to be parsed, creating new from default.
[2021-09-26 18:18:38][TASK 1] Starting in dev mode - Phoenix Bot will not actually checkout (dont_buy = True)
[2021-09-26 18:18:38][TASK 1] Loading Product Page
[2021-09-26 18:18:38][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:18:43][TASK 1] Loading Product Page
[2021-09-26 18:18:44][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:18:49][TASK 1] Loading Product Page
[2021-09-26 18:18:50][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:18:55][TASK 1] Loading Product Page
[2021-09-26 18:18:55][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:19:00][TASK 1] Loading Product Page
[2021-09-26 18:19:01][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:19:04][TASK 1] Stopped
[2021-09-26 18:19:17][TASK 1] Starting in dev mode - Phoenix Bot will not actually checkout (dont_buy = True)
[2021-09-26 18:19:17][TASK 1] Loading Product Page
[2021-09-26 18:19:18][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:19:23][TASK 1] Loading Product Page
[2021-09-26 18:19:24][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:19:29][TASK 1] Loading Product Page
[2021-09-26 18:19:29][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:19:34][TASK 1] Loading Product Page
[2021-09-26 18:19:35][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:19:40][TASK 1] Loading Product Page
[2021-09-26 18:19:40][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:19:44][TASK 1] Stopped
[2021-09-26 18:21:07][TASK 1] Starting in dev mode - Phoenix Bot will not actually checkout (dont_buy = True)
[2021-09-26 18:21:07][TASK 1] Loading Product Page
[2021-09-26 18:21:08][TASK 1] Error Loading Product Page (line 68 IndexError list index out of range)
[2021-09-26 18:21:10][TASK 1] Stopped

While trying to load:
https://www.walmart.com/ip/EVGA-GeForce-GTX-1660-Ti-XC-Ultra-06G-P4-1267-KR-Graphic-Card/960585882

@brycerohrer
Copy link

Was wondering why our bot wasn't working, but it seems like their is a anti-bot on walmart.com

@VoRCeK
Copy link

VoRCeK commented Dec 5, 2021

same is happening here too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants