everettsouthwick / amazon-auto-reload Goto Github PK
View Code? Open in Web Editor NEWNode script to iterate through a list of credit/debit cards and buy an Amazon.com gift cards of a specified amount.
License: GNU General Public License v3.0
Node script to iterate through a list of credit/debit cards and buy an Amazon.com gift cards of a specified amount.
License: GNU General Public License v3.0
Hello,
i'm getting this error when trying to launch the app.
SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 74
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Windows NT 10.0.17763 x86_64)
What is the easiest way to resolve?
after cloning the repo, and cp config/default-example.json5 to config/default.json5 without modify it since I would like to see what it in action first.
then "Execute npm install && npm run build && npm start" inside config or amazon-auto-reload, it just opens the chrome and freeze for more than 30 sec.
node -v
v13.9.0
Hi,
Wanted to ask; have you managed to test the Node.js code in Linux yet? I still haven't quite been able to get it running in Linux, but I have been using the Python successfully (I know the old python branch was written for windows).
If you haven't tested it in Linux, or you have and it isn't working for you either, I can update a branch with linux support in Python (I'm more familiar with Python anyways). If you have tested it in Linux and find that it works fine, I'll go back to figuring out what's going on with my Raspberry Pi (could just because it is ARM64 instead of x86-64).
Running off of master on:
Raspberry Pi 3B+
Ubuntu Mate 18.10 64-bit
Chromium v74.0.3729.169
Chromedriver v74.0.3729.169
Packages installed with node v8.10.0 and npm version 3.5.2
Seeing the following error when running "npm start":
(node:13719) UnhandledPromiseRejectionWarning: ReferenceError: URL is not defined
at new Site (.../repos/amazon-auto-reload/dist/lib/site.js:6:32)
at new Amazon (.../repos/amazon-auto-reload/dist/sites/amazon.js:10:9)
at start (.../repos/amazon-auto-reload/dist/index.js:79:20)
at Object. (.../repos/amazon-auto-reload/dist/index.js:235:1)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
(node:13719) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:13719) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I am able to run on the Pi 3B+ using the old Python branch. I looked into dist/lib/site.js, and didn't see any obvious definition of StartingURL, but my node is very very rusty and I don't know if the definition would be floating around somewhere else.
Hi,
First, thanks for the script. If you have time to look at this, I'd greatly appreciate it. Have you ever seen any issues with the selenium-webdriver throwing an error and crashing like so?
I am running on a Raspberry Pi 3B+ on a pretty quick connection, and have a pretty simple config with just one card and one reload time.
/home/pi/repos/amazon-auto-reload/node_modules/selenium-webdriver/lib/promise.js:2626
throw error;
^
Error: Server terminated early with status 2
at earlyTermination.catch.e (/home/pi/repos/amazon-auto-reload/node_modules/selenium-webdriver/remote/index.js:252:52)
at process._tickCallback (internal/process/next_tick.js:68:7)
From: Task: WebDriver.createSession()
at Function.createSession (/home/pi/repos/amazon-auto-reload/node_modules/selenium-webdriver/lib/webdriver.js:769:24)
at Function.createSession (/home/pi/repos/amazon-auto-reload/node_modules/selenium-webdriver/chrome.js:761:15)
at createDriver (/home/pi/repos/amazon-auto-reload/node_modules/selenium-webdriver/index.js:170:33)
at Builder.build (/home/pi/repos/amazon-auto-reload/node_modules/selenium-webdriver/index.js:642:16)
at start (/home/pi/repos/amazon-auto-reload/index.js:12:86)
at Object. (/home/pi/repos/amazon-auto-reload/index.js:21:1)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | @hapi/joi |
|
npm | @types/json5 |
|
npm | @types/table |
|
npm | tslint |
These updates are pending. To force PRs open, click the checkbox below.
inquirer
, @types/inquirer
)luxon
, @types/luxon
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
docker/docker-compose-not-maintained.yaml
Dockerfile
package.json
@hapi/joi ^17.0.0
@types/accounting ^0.4.1
@types/json5 0.0.30
@types/luxon ^3.0.0
@types/node ^20.0.0
@types/selenium-webdriver ^4.0.0
@types/table ^6.0.0
accounting ^0.4.1
chalk ^5.0.0
inquirer ^9.0.0
json5 ^2.2.2
luxon ^3.0.0
selenium-webdriver 4.18
table ^6.0.0
typescript ^5.0.0
winston 3.11
@types/hapi__joi ^17.0.0
@types/inquirer ^9.0.0
cross-conf-env ^1.1.2
html-to-text ^9.0.0
nodemailer ^6.6.1
tslint ^5.17.0
tslint-eslint-rules ^5.4.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.