Scrapes BStock inventory and extracts CSV files :)
this code doesn't work anymore, new login stuff got changed...
this is 105% against bstock TOS but ¯_(ツ)_/¯
- for the education!
- not exactly usable unless you can find a way to clone gitpod docker file then downloada all the dependencies manually (oracle doesn't use amd64 or sm)
- export data to webhook/readable format
- add a website to paste this data and download the data
- bypass cloudflare
- add GameStop functionality (read below if anyone is interested in fixing it)
- create a shell command to download all dependencies (nodejs, pip, chromemium)
- create an auto price comparison system
- webhook/POST integration (package maybe?)
- download deps from npm i index.js & puppeteer_login.js and pip install -r requirements.txt from Cloudflare-Bypass-local
- chmod +x run.sh
- ./run.sh
- check manifests for compilation of data and auction_details for prices, etc.
-
403 error code probably means you messed up the authorization or you got blocked by CloudFlare (yikes, it happened to me)
-
if on aarch64 (uname -m) sudo apt update sudo apt install chromium-browser -y
-
if you get an invalid link it's 105% your cookies are bad just saying.
add
const puppeteer = require('puppeteer-core'); const browser = await puppeteer.launch({ executablePath: '/usr/bin/chromium-browser', // Use installed Chromium headless: true }); or just the executablePath for the chrome browswer or on google-stable const puppeteer = require('puppeteer-core'); const browser = await puppeteer.launch({ executablePath: '/usr/bin/google-chrome', // Change this if the path is different headless: true });