mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 06:27:38 +00:00
Compare commits
228 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b97d581607 | |||
| eb700762a4 | |||
| 38630d478a | |||
| 2a5e2e8733 | |||
| 579cb97a0d | |||
| f70998f0d9 | |||
| 02825d009b | |||
| 0d75025cbb | |||
| db47827e6e | |||
| c3beedced8 | |||
| 0525119b9b | |||
| b6964b02f3 | |||
| 7329c6ede0 | |||
| cccfde245a | |||
| ad0b2fe525 | |||
| 064ce83f03 | |||
| ef452d8e58 | |||
| dca916b64e | |||
| e2bf5749c1 | |||
| da78362045 | |||
| c74ea28014 | |||
| 67b19a7a8b | |||
| 5786481b31 | |||
| 9b7c7e2881 | |||
| 7e3020a927 | |||
| 3386e8f50d | |||
| 7bfcc81fdc | |||
| 37962f00e5 | |||
| d92d58d235 | |||
| 9b3906ca00 | |||
| 0683430768 | |||
| b6ea0ea991 | |||
| 68eede5487 | |||
| 29175c77a8 | |||
| a44621f8f5 | |||
| 27cfb94de8 | |||
| b599c23b51 | |||
| 2115c0c906 | |||
| 4f60ad2a82 | |||
| 8d192317ba | |||
| 3841666d03 | |||
| 2632386a5b | |||
| 9dc04b3638 | |||
| b2738370b4 | |||
| 54ef0ef995 | |||
| ba5c50495b | |||
| 0e7de05fd2 | |||
| 578027a36b | |||
| 5e1dfc3568 | |||
| 5955d10a7f | |||
| 64f55c1b86 | |||
| 1538937661 | |||
| 46bed1ef3c | |||
| b56d214059 | |||
| 625ae0ee53 | |||
| d7602f3a0f | |||
| b806e1bb9c | |||
| 58f0a9c774 | |||
| 48a46d0217 | |||
| 53eeff0bfc | |||
| ac0bd2ac14 | |||
| 0072dda90b | |||
| d56bcddb05 | |||
| 5aa4fdc7b9 | |||
| 60508e2ddb | |||
| 4f7c9ed84f | |||
| e3eb38655a | |||
| b535b470ca | |||
| 30bed2ac01 | |||
| 84a6ff5973 | |||
| 84f2cb7d52 | |||
| d5bd7e3db2 | |||
| 1f63e99804 | |||
| 243109a4ff | |||
| bc2272e59a | |||
| 888b5225b8 | |||
| 0c59d1e232 | |||
| 15ec12b0a3 | |||
| f7b32e8ac5 | |||
| 9bf33eceda | |||
| 14cbd5a05b | |||
| ec0d9f50cb | |||
| 4616f60766 | |||
| 36e38068d8 | |||
| ca5553cb20 | |||
| 34a8fd475a | |||
| 0569629dc8 | |||
| 09f0236086 | |||
| e67d97fe93 | |||
| 75ee95b221 | |||
| 3c727f1c9a | |||
| 80e166c15d | |||
| 3b4fe78e95 | |||
| ac8785d1e9 | |||
| 06f3aafae6 | |||
| f2ae423fa8 | |||
| cbad0846af | |||
| a3a94c19d9 | |||
| 6fd023e81e | |||
| e836acf1e9 | |||
| 5bbdfa2abc | |||
| 1ed0593767 | |||
| cbc43304bf | |||
| feddac76d3 | |||
| 0e8774b1d0 | |||
| 0e5edee683 | |||
| 0b11238370 | |||
| 6de8c4a5ee | |||
| cf70f1ff4f | |||
| a0a961aa5b | |||
| 7d29ef80ba | |||
| e198e44613 | |||
| f7b753334f | |||
| 21e74cfe76 | |||
| ea456116da | |||
| a0a0ca8755 | |||
| c26bd8f06a | |||
| c5799fddc7 | |||
| af96c5f2e8 | |||
| 2fc018bbb2 | |||
| a72a35c755 | |||
| 202698f917 | |||
| d7f242780e | |||
| b2f5c1a3ed | |||
| 29478bff2d | |||
| beb50696fb | |||
| 490d44e1fd | |||
| 65df944973 | |||
| ce43654847 | |||
| e9a39c4092 | |||
| 4bccc6b407 | |||
| 37d62ebcd5 | |||
| af080f376d | |||
| 19eece18dc | |||
| 1774afc1c3 | |||
| 79a3f33150 | |||
| 796c2a52ac | |||
| 0b60d3cf9a | |||
| fb696bf85a | |||
| 0b8e0d498c | |||
| 8ecba2db96 | |||
| eb176d1735 | |||
| bea26450bf | |||
| 8c82705dd3 | |||
| feae978de9 | |||
| 5e6159b994 | |||
| 30a51a38be | |||
| de7036c7cc | |||
| a79ce6f406 | |||
| 0b4966e452 | |||
| be48520469 | |||
| d2efb91de4 | |||
| a519a79ee7 | |||
| 7db79345a0 | |||
| b28bf73157 | |||
| 11b6316371 | |||
| 10ce2db9ae | |||
| 364c6c25df | |||
| a8d9c033b6 | |||
| 7a441b4b65 | |||
| 09238da69c | |||
| 4d8700e856 | |||
| 1ee9d38b32 | |||
| db18157a49 | |||
| 3286d624a1 | |||
| f663579f3d | |||
| 20e8746748 | |||
| d0839beffe | |||
| 07b6b340f9 | |||
| a99eecb461 | |||
| f7f0b08e30 | |||
| efddd01aa9 | |||
| 0857b8a46e | |||
| 67605a6e28 | |||
| 80826ba0bd | |||
| 06214eb4a8 | |||
| a62bd2e587 | |||
| 4df57f578e | |||
| b4f34510d5 | |||
| 429effb544 | |||
| c2defe224a | |||
| e552c9102d | |||
| 292e3603fd | |||
| 85bbaf905e | |||
| 432d38bd5a | |||
| 2d01cfddff | |||
| 53739e05ab | |||
| 9ad9793dc1 | |||
| f6f5c6bfe7 | |||
| 28c965d653 | |||
| 4b689cb94e | |||
| c3f38fb2c9 | |||
| 239b5d3e8a | |||
| 7694829dd6 | |||
| d7921168cb | |||
| 9745190ee4 | |||
| b5435643da | |||
| af631c86f1 | |||
| 5eb36a6cb7 | |||
| 6f273305df | |||
| 6d292a11cd | |||
| 89a762e2f5 | |||
| f9b617dd69 | |||
| 7fea7d58f0 | |||
| f16a9fb331 | |||
| 777c31b420 | |||
| 229daabb34 | |||
| d0ebffd056 | |||
| 3feda151c5 | |||
| d41798ac23 | |||
| eb314afda5 | |||
| f377820894 | |||
| 8933896c5c | |||
| 88a1303f73 | |||
| 167713bb14 | |||
| 7c28c7f72b | |||
| b21b2440f7 | |||
| 63d550ca63 | |||
| 8e1744c6b1 | |||
| 0ed826fb5d | |||
| d47a3e064e | |||
| 501ea34a54 | |||
| b60ad12cf2 | |||
| ef2036b75d | |||
| c38bebb49d | |||
| 02d7c47c40 | |||
| efe0d64f06 | |||
| bd69e471f7 |
+8
-3
@@ -1,12 +1,17 @@
|
|||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
indent_style = tab
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
||||||
[*.{yml, json, md}]
|
[*.md]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.ts]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
name: "\U0001F41B Bug report"
|
||||||
|
about: Report a bug for this project
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: jef
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Expected Behavior
|
||||||
|
|
||||||
|
<!--- Tell us what should happen -->
|
||||||
|
|
||||||
|
## Current Behavior
|
||||||
|
|
||||||
|
<!--- Tell us what happens instead of the expected behavior -->
|
||||||
|
|
||||||
|
## Steps to Reproduce
|
||||||
|
|
||||||
|
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
|
||||||
|
<!--- reproduce this bug. Include code to reproduce, if relevant -->
|
||||||
|
1.
|
||||||
|
2.
|
||||||
|
3.
|
||||||
|
4.
|
||||||
|
|
||||||
|
## Environment
|
||||||
|
|
||||||
|
**OS:**
|
||||||
|
**dotenv file:**
|
||||||
|
|
||||||
|
```dotenv
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## Logs
|
||||||
|
|
||||||
|
<!--- Provide a brief log -->
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
---
|
|
||||||
name: 🐛 Bug report
|
|
||||||
about: Report a bug for this project
|
|
||||||
title: ''
|
|
||||||
labels: 'type: bug'
|
|
||||||
assignees: jef
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### Description
|
|
||||||
|
|
||||||
<!-- Describe the bug here. -->
|
|
||||||
<!-- Please be as detailed as possible. -->
|
|
||||||
<!-- Include OS, screenshots and console outputs. -->
|
|
||||||
|
|
||||||
### Possible solution
|
|
||||||
|
|
||||||
<!-- Describe the possible solution here. -->
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
|
contact_links:
|
||||||
|
- name: 💡 Have an idea for a new feature?
|
||||||
|
url: https://github.com/jef/streetmerchant/discussions
|
||||||
|
about: Create a new idea discussion!
|
||||||
|
- name: 🙇 Need help with streetmerchant?
|
||||||
|
url: https://github.com/jef/streetmerchant/discussions
|
||||||
|
about: Create a new help discussion if it hasn't been asked before!
|
||||||
|
- name: 💬 Want to talk with others that use streetmerchant?
|
||||||
|
url: https://discord.gg/gbVY4vB9JF
|
||||||
|
about: Join our Discord to hangout and talk shop!
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
name: 🚀 Feature request
|
|
||||||
about: Suggest a feature for this project
|
|
||||||
title: ''
|
|
||||||
labels: 'type: enhancement'
|
|
||||||
assignees: jef
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### Description
|
|
||||||
|
|
||||||
<!-- Describe the feature here. -->
|
|
||||||
|
|
||||||
### Possible solution
|
|
||||||
|
|
||||||
<!-- Describe the possible solution here. -->
|
|
||||||
@@ -4,17 +4,11 @@ updates:
|
|||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
labels:
|
|
||||||
- "dependencies"
|
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: "github-actions"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
labels:
|
|
||||||
- "dependencies"
|
|
||||||
- package-ecosystem: "npm"
|
- package-ecosystem: "npm"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
labels:
|
|
||||||
- "dependencies"
|
|
||||||
|
|||||||
@@ -3,30 +3,12 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- develop
|
|
||||||
paths-ignore:
|
|
||||||
- '**.md'
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-nightly:
|
publish:
|
||||||
if: contains(github.ref, 'develop')
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: login into github package registry
|
- uses: GoogleCloudPlatform/release-please-action@v2.10
|
||||||
run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
|
|
||||||
- name: build nightly docker image
|
|
||||||
run: |
|
|
||||||
docker build \
|
|
||||||
-t "ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_SHA:0:7}" \
|
|
||||||
-t "ghcr.io/${GITHUB_REPOSITORY}:nightly" .
|
|
||||||
- name: publish nightly
|
|
||||||
run: docker push "ghcr.io/${GITHUB_REPOSITORY}"
|
|
||||||
publish-latest:
|
|
||||||
if: contains(github.ref, 'main')
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: GoogleCloudPlatform/release-please-action@v2.6.0
|
|
||||||
id: release
|
id: release
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -42,6 +24,6 @@ jobs:
|
|||||||
-t "ghcr.io/${GITHUB_REPOSITORY}:latest" .
|
-t "ghcr.io/${GITHUB_REPOSITORY}:latest" .
|
||||||
env:
|
env:
|
||||||
TAG_NAME: ${{ steps.release.outputs.tag_name }}
|
TAG_NAME: ${{ steps.release.outputs.tag_name }}
|
||||||
- name: publish latest
|
- name: publish latest image
|
||||||
if: ${{ steps.release.outputs.release_created }}
|
if: ${{ steps.release.outputs.release_created }}
|
||||||
run: docker push "ghcr.io/${GITHUB_REPOSITORY}"
|
run: docker push "ghcr.io/${GITHUB_REPOSITORY}"
|
||||||
|
|||||||
@@ -2,15 +2,13 @@ name: ci
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- main
|
||||||
paths-ignore:
|
|
||||||
- '**.md'
|
|
||||||
jobs:
|
jobs:
|
||||||
build-lint:
|
build-and-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2.1.2
|
- uses: actions/setup-node@v2.1.3
|
||||||
with:
|
with:
|
||||||
node-version: 14.15.0
|
node-version: 14.15.0
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
@@ -29,12 +27,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: dorny/paths-filter@v2.5.2
|
- uses: dorny/paths-filter@v2.6.0
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
docker:
|
build:
|
||||||
- 'Dockerfile'
|
- 'Dockerfile'
|
||||||
|
- 'package*.json'
|
||||||
- name: Build image
|
- name: Build image
|
||||||
if: steps.filter.outputs.docker == 'true'
|
if: steps.filter.outputs.build == 'true'
|
||||||
run: docker build .
|
run: docker build .
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
name: documentation
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup Python runtime
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.x
|
||||||
|
- name: Install Python dependencies
|
||||||
|
run: pip install mkdocs-material mkdocs-git-revision-date-plugin mkdocs-macros-plugin
|
||||||
|
- name: Deploy documentation
|
||||||
|
run: mkdocs gh-deploy --force
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
name: nightly
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
workflow_dispatch: {}
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: login into github package registry
|
||||||
|
run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
|
||||||
|
- name: build nightly docker image
|
||||||
|
run: |
|
||||||
|
docker build \
|
||||||
|
-t "ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_SHA:0:7}" \
|
||||||
|
-t "ghcr.io/${GITHUB_REPOSITORY}:nightly" .
|
||||||
|
- name: publish nightly image
|
||||||
|
run: docker push "ghcr.io/${GITHUB_REPOSITORY}"
|
||||||
@@ -10,6 +10,6 @@ jobs:
|
|||||||
main:
|
main:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: amannn/action-semantic-pull-request@v2.1.0
|
- uses: amannn/action-semantic-pull-request@v2.1.1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
name: 'Close stale issues'
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v3
|
||||||
|
with:
|
||||||
|
close-issue-message: ${{ env.CLOSE_MESSAGE }}
|
||||||
|
close-pr-message: ${{ env.CLOSE_MESSAGE }}
|
||||||
|
days-before-stale: 30
|
||||||
|
days-before-close: 5
|
||||||
|
exempt-issue-labels: ${{ env.EXEMPT_LABEL }}
|
||||||
|
exempt-pr-labels: ${{ env.EXEMPT_LABEL }}
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
stale-issue-label: ${{ env.STALE_LABEL }}
|
||||||
|
stale-pr-label: ${{ env.STALE_LABEL }}
|
||||||
|
stale-issue-message: ${{ env.STALE_MESSAGE }}
|
||||||
|
stale-pr-message: ${{ env.STALE_MESSAGE }}
|
||||||
|
env:
|
||||||
|
CLOSE_MESSAGE: 'This issue has been closed because it is stale. Reopen if necessary.'
|
||||||
|
EXEMPT_LABEL: 'status: needs discussion'
|
||||||
|
STALE_LABEL: 'status: stale'
|
||||||
|
STALE_MESSAGE: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'
|
||||||
+3
-3
@@ -3,10 +3,10 @@
|
|||||||
.vscode/
|
.vscode/
|
||||||
build/
|
build/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
src/config/*.yaml
|
||||||
|
|
||||||
.env*
|
.env
|
||||||
.*env
|
dotenv
|
||||||
!.env-example
|
|
||||||
success-*.png
|
success-*.png
|
||||||
|
|
||||||
*.wav
|
*.wav
|
||||||
|
|||||||
+132
@@ -1,5 +1,137 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [3.3.0](https://www.github.com/jef/streetmerchant/compare/v3.2.0...v3.3.0) (2020-12-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **discord:** dynamic currency symbol ([#1328](https://www.github.com/jef/streetmerchant/issues/1328)) ([cccfde2](https://www.github.com/jef/streetmerchant/commit/cccfde245affc11506c69d1ef6c30c09953307d4))
|
||||||
|
* **docs:** add mkdocs ([243109a](https://www.github.com/jef/streetmerchant/commit/243109a4ffdfe1d1efe961af0b5cf28fd7e6ef1d))
|
||||||
|
* **docs:** add table sorting ([#1258](https://www.github.com/jef/streetmerchant/issues/1258)) ([5955d10](https://www.github.com/jef/streetmerchant/commit/5955d10a7f2106c5ae1275fadacf2945626ca008))
|
||||||
|
* **lookup:** use random user agents ([#1335](https://www.github.com/jef/streetmerchant/issues/1335)) ([b599c23](https://www.github.com/jef/streetmerchant/commit/b599c23b51735212e5369ce03a44bbd1bccafa42))
|
||||||
|
* **notification:** add discord groups ([#1211](https://www.github.com/jef/streetmerchant/issues/1211)) ([2632386](https://www.github.com/jef/streetmerchant/commit/2632386a5b99f3b23166e88f92af809f0036a6b7))
|
||||||
|
* **notification:** add sound player executable option ([#1301](https://www.github.com/jef/streetmerchant/issues/1301)) ([8d19231](https://www.github.com/jef/streetmerchant/commit/8d192317badfd71a7cd8f0115ba9e6fc951c1874))
|
||||||
|
* **playstation:** add queuing selector ([#1173](https://www.github.com/jef/streetmerchant/issues/1173)) ([67b19a7](https://www.github.com/jef/streetmerchant/commit/67b19a7a8b3dead5f5ab9575ee2b4f09924ce851))
|
||||||
|
* **store:** add darkhero motherboard to asus and microcenter ([#1336](https://www.github.com/jef/streetmerchant/issues/1336)) ([29175c7](https://www.github.com/jef/streetmerchant/commit/29175c77a8fcbc082c944b057a919dfcc22ba606))
|
||||||
|
* **store:** add EBGames ([#1281](https://www.github.com/jef/streetmerchant/issues/1281)) ([27cfb94](https://www.github.com/jef/streetmerchant/commit/27cfb94de8d9ccef3c7fc76b250aee17d7c80257))
|
||||||
|
* **store:** add Irish store variants ([#1373](https://www.github.com/jef/streetmerchant/issues/1373)) ([f70998f](https://www.github.com/jef/streetmerchant/commit/f70998f0d9a6cdfbc59fb31fecb87f801b0b3037))
|
||||||
|
* **store:** add Megekko ([#1216](https://www.github.com/jef/streetmerchant/issues/1216)) ([30bed2a](https://www.github.com/jef/streetmerchant/commit/30bed2ac016e9e543f67b1098819a484bc1394c3))
|
||||||
|
* **store:** add several Australian stores, add some 3080 brands/models ([#1367](https://www.github.com/jef/streetmerchant/issues/1367)) ([579cb97](https://www.github.com/jef/streetmerchant/commit/579cb97a0d151cc374a37493b043ba4a399b55db))
|
||||||
|
* **store:** add Toys R Us ([#1257](https://www.github.com/jef/streetmerchant/issues/1257)) ([ac0bd2a](https://www.github.com/jef/streetmerchant/commit/ac0bd2ac14d686a0f30931e885da65a1d7af6856))
|
||||||
|
* **store:** add Walmart (CA) ([#1253](https://www.github.com/jef/streetmerchant/issues/1253)) ([b535b47](https://www.github.com/jef/streetmerchant/commit/b535b470cad38af034889b4d27578b20136e166d))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **adblock:** proxy another function to produce less errors ([#1379](https://www.github.com/jef/streetmerchant/issues/1379)) ([eb70076](https://www.github.com/jef/streetmerchant/commit/eb700762a4eee3a802bd81f0fb62e76243027c42))
|
||||||
|
* **amazon-it:** maxPrice selector and links ([#1239](https://www.github.com/jef/streetmerchant/issues/1239)) ([84f2cb7](https://www.github.com/jef/streetmerchant/commit/84f2cb7d52fac7c3dbdd31318a51330e25808784))
|
||||||
|
* **amazon-nl:** inStock selector ([b6964b0](https://www.github.com/jef/streetmerchant/commit/b6964b02f38c947fd476d86de35d5983e5b229dd)), closes [#1366](https://www.github.com/jef/streetmerchant/issues/1366)
|
||||||
|
* **bestbuy-ca:** add outOfStock text ([58f0a9c](https://www.github.com/jef/streetmerchant/commit/58f0a9c7740c46f3d820c8765dee5b0fc8516353)), closes [#1269](https://www.github.com/jef/streetmerchant/issues/1269)
|
||||||
|
* **bestbuy-ca:** update selectors to help false positives ([#1278](https://www.github.com/jef/streetmerchant/issues/1278)) ([0525119](https://www.github.com/jef/streetmerchant/commit/0525119b9bae47425a6c01720d6a1ea6ab8e6a02)), closes [#895](https://www.github.com/jef/streetmerchant/issues/895)
|
||||||
|
* **ci:** mkdocs deps ([1f63e99](https://www.github.com/jef/streetmerchant/commit/1f63e9980499ac567845473dc48e51cab78c838e))
|
||||||
|
* **config:** disable docker by default ([dca916b](https://www.github.com/jef/streetmerchant/commit/dca916b64e9ac2d05d5e6af19e5466b8a0623ed5))
|
||||||
|
* **config:** remove quotes ([ef452d8](https://www.github.com/jef/streetmerchant/commit/ef452d8e586536a5039ee532d655d2951d551ac3))
|
||||||
|
* **discord:** notification groupings ([ad0b2fe](https://www.github.com/jef/streetmerchant/commit/ad0b2fe525d6403735ddcbf4ef55b91eb36ac10a))
|
||||||
|
* **docker:** run in docker, and build scripts for docker ([#1291](https://www.github.com/jef/streetmerchant/issues/1291)) ([c74ea28](https://www.github.com/jef/streetmerchant/commit/c74ea28014ee0d827ea216083844f92e30f142c9))
|
||||||
|
* **eprice:** inStock selector ([5e1dfc3](https://www.github.com/jef/streetmerchant/commit/5e1dfc35680029620a1de7bc7a523140f2dae8af)), closes [#1067](https://www.github.com/jef/streetmerchant/issues/1067)
|
||||||
|
* **newegg:** dedupe nitro+ models ([#1300](https://www.github.com/jef/streetmerchant/issues/1300)) ([7329c6e](https://www.github.com/jef/streetmerchant/commit/7329c6ede0a5ab6d644b30ac878f4e7da11e43a8)), closes [#1230](https://www.github.com/jef/streetmerchant/issues/1230)
|
||||||
|
* **newegg:** price selector and mobile inStock ([c3beedc](https://www.github.com/jef/streetmerchant/commit/c3beedced82141e6bbb0735b3edb7c573907aa7a)), closes [#1356](https://www.github.com/jef/streetmerchant/issues/1356)
|
||||||
|
* **pushover:** add `expire` and `retry` ([0072dda](https://www.github.com/jef/streetmerchant/commit/0072dda90b637b93647cf3a35dc612cf43d89445)), closes [#983](https://www.github.com/jef/streetmerchant/issues/983)
|
||||||
|
* **store:** update UK stores ([#1372](https://www.github.com/jef/streetmerchant/issues/1372)) ([02825d0](https://www.github.com/jef/streetmerchant/commit/02825d009bd028f6dcdca02e2c155e77a7df8654))
|
||||||
|
* `.env` backwards compatibility ([9b7c7e2](https://www.github.com/jef/streetmerchant/commit/9b7c7e2881d756909af191094bda435ca7ef7e9b))
|
||||||
|
* add setRequestInterception ([#1312](https://www.github.com/jef/streetmerchant/issues/1312)) ([a44621f](https://www.github.com/jef/streetmerchant/commit/a44621f8f50cac9ba6614b0f89320d210370047a)), closes [#826](https://www.github.com/jef/streetmerchant/issues/826)
|
||||||
|
* **store:** italian store checks ([#1212](https://www.github.com/jef/streetmerchant/issues/1212)) ([e3eb386](https://www.github.com/jef/streetmerchant/commit/e3eb38655a3cefb85c4dbd573494955e06c72f71))
|
||||||
|
|
||||||
|
|
||||||
|
### Reverts
|
||||||
|
|
||||||
|
* allow users to still use `USER_AGENT` ([3386e8f](https://www.github.com/jef/streetmerchant/commit/3386e8f50da27a800c5289c3b6bd7a1f76e77a49))
|
||||||
|
|
||||||
|
## [3.2.0](https://www.github.com/jef/streetmerchant/compare/v3.1.0...v3.2.0) (2020-12-06)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **bestbuy:** add 3060 series ([#1074](https://www.github.com/jef/streetmerchant/issues/1074)) ([e9a39c4](https://www.github.com/jef/streetmerchant/commit/e9a39c40925736a2126f6138c369710989904d1d))
|
||||||
|
* **bestbuy-ca:** add 3060ti cards ([29478bf](https://www.github.com/jef/streetmerchant/commit/29478bff2d27d780cc6142526f3970b4a87290bc))
|
||||||
|
* **notification:** add price to links ([#1209](https://www.github.com/jef/streetmerchant/issues/1209)) ([15ec12b](https://www.github.com/jef/streetmerchant/commit/15ec12b0a3a95716243bfd06f6d41959bff7c36e)), closes [#1188](https://www.github.com/jef/streetmerchant/issues/1188) [#673](https://www.github.com/jef/streetmerchant/issues/673) [#1187](https://www.github.com/jef/streetmerchant/issues/1187)
|
||||||
|
* **proxy:** socks5 support ([#933](https://www.github.com/jef/streetmerchant/issues/933)) ([364c6c2](https://www.github.com/jef/streetmerchant/commit/364c6c25dfe9dcbeb29cb20cb46e9e8dcc2fe86b))
|
||||||
|
* **store:** add 3060ti to newegg-ca, canadacomputer, memoryexpress ([#1172](https://www.github.com/jef/streetmerchant/issues/1172)) ([09f0236](https://www.github.com/jef/streetmerchant/commit/09f0236086c59b25ebe611041bf063d536e3cc3d))
|
||||||
|
* **store:** add amazon-de-warehouse ([#1102](https://www.github.com/jef/streetmerchant/issues/1102)) ([6de8c4a](https://www.github.com/jef/streetmerchant/commit/6de8c4a5eec8d66fb47d87e309866ba18f3e28c7))
|
||||||
|
* **store:** add antonline store ([#1042](https://www.github.com/jef/streetmerchant/issues/1042)) ([19eece1](https://www.github.com/jef/streetmerchant/commit/19eece18dccd4489e1e441b92061fc3b5743e4cd))
|
||||||
|
* **store:** add argos with ps5 ([b2f5c1a](https://www.github.com/jef/streetmerchant/commit/b2f5c1a3ed93cfd56e575ec634d235565a17b6bc))
|
||||||
|
* **store:** add awd(uk), add 3060ti link builders ([#1114](https://www.github.com/jef/streetmerchant/issues/1114)) ([36e3806](https://www.github.com/jef/streetmerchant/commit/36e38068d8cd284c741d4906d5ba5fe8cff85d24))
|
||||||
|
* **store:** add custom labels for links ([#1183](https://www.github.com/jef/streetmerchant/issues/1183)) ([f7b32e8](https://www.github.com/jef/streetmerchant/commit/f7b32e8ac56c29207c6b30b9168c34c021a5e227)), closes [#1132](https://www.github.com/jef/streetmerchant/issues/1132) [#1163](https://www.github.com/jef/streetmerchant/issues/1163)
|
||||||
|
* **store:** add el corte ingles ([#1107](https://www.github.com/jef/streetmerchant/issues/1107)) ([75ee95b](https://www.github.com/jef/streetmerchant/commit/75ee95b2217fb4bf667869011a009210ff8c22e7))
|
||||||
|
* **store:** add ePrice store ([#1016](https://www.github.com/jef/streetmerchant/issues/1016)) ([30a51a3](https://www.github.com/jef/streetmerchant/commit/30a51a38bee1c399276466e5db457bbe702edd5c))
|
||||||
|
* **store:** add Euronics DE ([#1045](https://www.github.com/jef/streetmerchant/issues/1045)) ([1774afc](https://www.github.com/jef/streetmerchant/commit/1774afc1c3010bd0b183907baa4f3486dc9e8c23))
|
||||||
|
* **store:** add expert ([#1105](https://www.github.com/jef/streetmerchant/issues/1105)) ([202698f](https://www.github.com/jef/streetmerchant/commit/202698f9179b081bd4214979f054e5ff7c805621))
|
||||||
|
* **store:** add Gamestop DE ([#1046](https://www.github.com/jef/streetmerchant/issues/1046)) ([79a3f33](https://www.github.com/jef/streetmerchant/commit/79a3f33150188c7ff0228a38f276ae1fe88b9714))
|
||||||
|
* **store:** add Medimax ([#1057](https://www.github.com/jef/streetmerchant/issues/1057)) ([7d29ef8](https://www.github.com/jef/streetmerchant/commit/7d29ef80ba1ae6682b486ac0b65a516b15a19f93))
|
||||||
|
* **store:** add Otto ([#1096](https://www.github.com/jef/streetmerchant/issues/1096)) ([af96c5f](https://www.github.com/jef/streetmerchant/commit/af96c5f2e808af7496f3c3299e4cf173105de48b))
|
||||||
|
* **store:** add smythstoys ([1ed0593](https://www.github.com/jef/streetmerchant/commit/1ed05937676c3b6961fcbbb1f3aa80afc3411ac3))
|
||||||
|
* **store:** add some italian stores with ps5 links ([#976](https://www.github.com/jef/streetmerchant/issues/976)) ([f663579](https://www.github.com/jef/streetmerchant/commit/f663579f3d744a5270878975407ad30b31ee0c0a))
|
||||||
|
* **store:** add spielegrotte ([#1056](https://www.github.com/jef/streetmerchant/issues/1056)) ([cf70f1f](https://www.github.com/jef/streetmerchant/commit/cf70f1ff4f942922bfa52adcd5b905e0b39c812a))
|
||||||
|
* **store:** add wipoid store ([#1018](https://www.github.com/jef/streetmerchant/issues/1018)) ([feae978](https://www.github.com/jef/streetmerchant/commit/feae978de9e90b96f542d2e53807144d82e380a4))
|
||||||
|
* **store:** update the italian store links ([#1002](https://www.github.com/jef/streetmerchant/issues/1002)) ([de7036c](https://www.github.com/jef/streetmerchant/commit/de7036c7cc6dd7e436ad1d31b988d9d56ad31f76))
|
||||||
|
* **topachat:** add `maxPrice` ([d7f2427](https://www.github.com/jef/streetmerchant/commit/d7f242780ef1a0a06d5b65ccfc0999e36a87d49d)), closes [#1097](https://www.github.com/jef/streetmerchant/issues/1097)
|
||||||
|
* add proxy rotation (settable per store) ([#1026](https://www.github.com/jef/streetmerchant/issues/1026)) ([490d44e](https://www.github.com/jef/streetmerchant/commit/490d44e1fdfdf91db7344dd3050ba8fd8d069631))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **amazon:** price and cart buttons ([6fd023e](https://www.github.com/jef/streetmerchant/commit/6fd023e81e0c54e8fb53b45817b63cb49b8a37ce)), closes [#1125](https://www.github.com/jef/streetmerchant/issues/1125)
|
||||||
|
* **amazon-de:** `inStock` selector ([14cbd5a](https://www.github.com/jef/streetmerchant/commit/14cbd5a05b6f9c3a3ebbc5978156ff2b090efd32)), closes [#1178](https://www.github.com/jef/streetmerchant/issues/1178)
|
||||||
|
* **amazon-de:** remove xbox cart links ([cbc4330](https://www.github.com/jef/streetmerchant/commit/cbc43304bf49863000f422fbff4ed200ea610914)), closes [#1095](https://www.github.com/jef/streetmerchant/issues/1095)
|
||||||
|
* **bestbuy-ca:** model always indicating in stock ([#1145](https://www.github.com/jef/streetmerchant/issues/1145)) ([06f3aaf](https://www.github.com/jef/streetmerchant/commit/06f3aafae6ec460c6227a92e6105639be71fc9b3))
|
||||||
|
* **bestbuy-ca:** replace old evga xc3 ultra ([#1058](https://www.github.com/jef/streetmerchant/issues/1058)) ([65df944](https://www.github.com/jef/streetmerchant/commit/65df9449730bce2acb82f5edac25a91bdddd94db))
|
||||||
|
* **canadacomputers:** add `inStock` selector, use english links ([#889](https://www.github.com/jef/streetmerchant/issues/889)) ([06214eb](https://www.github.com/jef/streetmerchant/commit/06214eb4a8a5c2d8a180e8dcf846f828d5cce2ed))
|
||||||
|
* **memoryexpress:** add backorder to `outOfStock` selector ([#890](https://www.github.com/jef/streetmerchant/issues/890)) ([67605a6](https://www.github.com/jef/streetmerchant/commit/67605a6e280af35f210c536bc03571a84ea1a7e9))
|
||||||
|
* **newegg:** maxPrice selector using used price ([feddac7](https://www.github.com/jef/streetmerchant/commit/feddac76d3824e947b0a96524cd940e6b45ffe70)), closes [#1052](https://www.github.com/jef/streetmerchant/issues/1052)
|
||||||
|
* **newegg:** typo in 5800x url([#903](https://www.github.com/jef/streetmerchant/issues/903)) ([a99eecb](https://www.github.com/jef/streetmerchant/commit/a99eecb4613bc136e65afe4e5e8788316beae39e))
|
||||||
|
* **scan:** links builder ([#1161](https://www.github.com/jef/streetmerchant/issues/1161)) ([ca5553c](https://www.github.com/jef/streetmerchant/commit/ca5553cb2044c00857412a2af009e5e7f2c1aabf))
|
||||||
|
* **smythstoys:** add out of stock label ([5bbdfa2](https://www.github.com/jef/streetmerchant/commit/5bbdfa2abc23c2e1fb1c606227754a1701cab194))
|
||||||
|
* **store:** add backoffStatusCodes and new captcha container ([#1110](https://www.github.com/jef/streetmerchant/issues/1110)) ([0b11238](https://www.github.com/jef/streetmerchant/commit/0b11238370040e9cd31e793e9a782ad384c22abf))
|
||||||
|
* **store:** removes unnecessary newegg links from bestbuy ([#1126](https://www.github.com/jef/streetmerchant/issues/1126)) ([f2ae423](https://www.github.com/jef/streetmerchant/commit/f2ae423fa83d1671a98b9cf3733e587d33727a59)), closes [#1119](https://www.github.com/jef/streetmerchant/issues/1119)
|
||||||
|
* **store:** update euroFormat for expert and otto ([#1108](https://www.github.com/jef/streetmerchant/issues/1108)) ([e198e44](https://www.github.com/jef/streetmerchant/commit/e198e44613cda27c0e67dc7e42ca514e66e9cf48))
|
||||||
|
* **walmart:** instock container and add test:series ([21e74cf](https://www.github.com/jef/streetmerchant/commit/21e74cfe76a5ccf82247315c9951a25e44bb1ce5)), closes [#1106](https://www.github.com/jef/streetmerchant/issues/1106)
|
||||||
|
* related products being picked up on scan ([#954](https://www.github.com/jef/streetmerchant/issues/954)) ([db18157](https://www.github.com/jef/streetmerchant/commit/db18157a490b9c9672c32de3372bff0b472a48f3))
|
||||||
|
|
||||||
|
## [3.1.0](https://www.github.com/jef/streetmerchant/compare/v3.0.0...v3.1.0) (2020-11-22)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **asus:** add backoff codes ([#790](https://www.github.com/jef/streetmerchant/issues/790)) ([501ea34](https://www.github.com/jef/streetmerchant/commit/501ea34a54e877600050d5a99fd3b71ec799e96a))
|
||||||
|
* **canadacomputers:** add ryzen 5000 series ([#842](https://www.github.com/jef/streetmerchant/issues/842)) ([6f27330](https://www.github.com/jef/streetmerchant/commit/6f273305df69ac7b420b5446b4c6824866821a7e))
|
||||||
|
* **coolmod:** add `maxPrice` ([#862](https://www.github.com/jef/streetmerchant/issues/862)) ([4b689cb](https://www.github.com/jef/streetmerchant/commit/4b689cb94e99b83c8829c11d1bfe4cd6db9fbd7a))
|
||||||
|
* **newegg-ca:** add big navi links ([#843](https://www.github.com/jef/streetmerchant/issues/843)) ([6d292a1](https://www.github.com/jef/streetmerchant/commit/6d292a11cd53bd3893d4a0ff5d13eb2ce3319faa))
|
||||||
|
* **notification:** add product link to email and telegram ([#816](https://www.github.com/jef/streetmerchant/issues/816)) ([777c31b](https://www.github.com/jef/streetmerchant/commit/777c31b420a38cab860d98bc6bd8b7ba990c55e7))
|
||||||
|
* **playstation:** add `outOfStock` label ([#812](https://www.github.com/jef/streetmerchant/issues/812)) ([eb314af](https://www.github.com/jef/streetmerchant/commit/eb314afda557369dd27266429ac991c47ecc6375))
|
||||||
|
* **store:** add `PlayStation` store ([#806](https://www.github.com/jef/streetmerchant/issues/806)) ([7c28c7f](https://www.github.com/jef/streetmerchant/commit/7c28c7f72b171ce914aba770d88e8b1213c41233))
|
||||||
|
* **store:** add 3070 models to pccomponentes & coolmod ([#820](https://www.github.com/jef/streetmerchant/issues/820)) ([d0ebffd](https://www.github.com/jef/streetmerchant/commit/d0ebffd056dc166e3557ccf694379bf8c10148b5))
|
||||||
|
* **store:** add amd rx 6000 series model ([#832](https://www.github.com/jef/streetmerchant/issues/832)) ([89a762e](https://www.github.com/jef/streetmerchant/commit/89a762e2f5cd2ebd56c2586b1ebead4171b67153))
|
||||||
|
* **store:** add captcha check to saturn and mediamarkt ([#876](https://www.github.com/jef/streetmerchant/issues/876)) ([2d01cfd](https://www.github.com/jef/streetmerchant/commit/2d01cfddff557f112c6d53473dad25eb299f2fc0))
|
||||||
|
* **store:** add corsair sfx PSUs ([#881](https://www.github.com/jef/streetmerchant/issues/881)) ([e552c91](https://www.github.com/jef/streetmerchant/commit/e552c9102dd9801dcfc35652f2aaa0b1eea18ebb))
|
||||||
|
* **store:** add topachat ([#776](https://www.github.com/jef/streetmerchant/issues/776)) ([c38bebb](https://www.github.com/jef/streetmerchant/commit/c38bebb49dbe8243d0e3f1205150a33f9ce745aa))
|
||||||
|
* **store:** add vsgamers ([#767](https://www.github.com/jef/streetmerchant/issues/767)) ([53739e0](https://www.github.com/jef/streetmerchant/commit/53739e05abf50bbaddb8079087339c9f353096c8))
|
||||||
|
* add amazon-fr to stores. ([#766](https://www.github.com/jef/streetmerchant/issues/766)) ([02d7c47](https://www.github.com/jef/streetmerchant/commit/02d7c47c4093ad71dfab31f93a9b1390f4cad8a0))
|
||||||
|
* **store:** support for canadacomputers ([#772](https://www.github.com/jef/streetmerchant/issues/772)) ([bd69e47](https://www.github.com/jef/streetmerchant/commit/bd69e471f7b47e7faf1d9858992d4157145518aa))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **amazon:** add 5800x and 5600x ([#802](https://www.github.com/jef/streetmerchant/issues/802)) ([167713b](https://www.github.com/jef/streetmerchant/commit/167713bb14080e5e1d2f77c7ee933918b6fd5cfc))
|
||||||
|
* **bestbuy-ca:** use proper selector ([#801](https://www.github.com/jef/streetmerchant/issues/801)) ([63d550c](https://www.github.com/jef/streetmerchant/commit/63d550ca63b9bfd534f37b7747a1fae057abedb4))
|
||||||
|
* **config:** correcting newline split for multiple user agents ([#824](https://www.github.com/jef/streetmerchant/issues/824)) ([f16a9fb](https://www.github.com/jef/streetmerchant/commit/f16a9fb331fd38590325f399bde369ffa17dbe10))
|
||||||
|
* **store:** generate links only for selected stores ([292e360](https://www.github.com/jef/streetmerchant/commit/292e3603fd527a4454639c9abb73bd80a8a95fae)), closes [#694](https://www.github.com/jef/streetmerchant/issues/694)
|
||||||
|
|
||||||
|
|
||||||
|
### Reverts
|
||||||
|
|
||||||
|
* correcting newline split for multiple user agents ([af631c8](https://www.github.com/jef/streetmerchant/commit/af631c86f1a74d810cabf2d0de1b7bb31d350095)), closes [#824](https://www.github.com/jef/streetmerchant/issues/824)
|
||||||
|
* pipeline changes ([efe0d64](https://www.github.com/jef/streetmerchant/commit/efe0d64f060e812fd9846073a13837a3f2a27862))
|
||||||
|
|
||||||
## [3.0.0](https://www.github.com/jef/streetmerchant/compare/v2.0.0...v3.0.0) (2020-11-12)
|
## [3.0.0](https://www.github.com/jef/streetmerchant/compare/v2.0.0...v3.0.0) (2020-11-12)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
FROM node:14.15.0-alpine3.12 AS builder
|
FROM node:14.15.0-alpine3.12 AS builder
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source=https://github.com/jef/streetmerchant
|
LABEL org.opencontainers.image.source="https://github.com/jef/streetmerchant"
|
||||||
|
|
||||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
.DEFAULT_GOAL := run
|
||||||
|
|
||||||
|
.PHONY: build
|
||||||
|
build:
|
||||||
|
docker-compose build streetmerchant
|
||||||
|
|
||||||
|
.PHONY: run
|
||||||
|
run:
|
||||||
|
docker-compose up
|
||||||
|
|
||||||
|
.PHONY: run-detached
|
||||||
|
run-detached:
|
||||||
|
docker-compose up -d
|
||||||
|
|
||||||
|
.PHONY: stop
|
||||||
|
stop:
|
||||||
|
docker-compose down
|
||||||
@@ -1,508 +1,48 @@
|
|||||||
<p align="center"><a href="https://github.com/jef/streetmerchant#readme"><img src="https://raw.githubusercontent.com/jef/streetmerchant/main/media/streetmerchant.png" alt="streetmerchant" /></a></p>
|
<p align="center">
|
||||||
<p align="center">The world's easiest, most powerful stock checker
|
<a href="https://jef.codes/streetmerchant"
|
||||||
<br/><br/>
|
><img
|
||||||
<a href="https://github.com/jef/streetmerchant/actions?query=workflow%3Aci"><img src="https://github.com/jef/streetmerchant/workflows/ci/badge.svg" /></a>
|
src="https://raw.githubusercontent.com/jef/streetmerchant/main/docs/assets/images/streetmerchant-banner.png"
|
||||||
<a href="https://discord.gg/gbVY4vB9JF"><img src="https://img.shields.io/discord/773913070665859073.svg?label=chat&logo=discord&logoColor=ffffff&color=7389D8" alt="Tweet" /></a>
|
alt="streetmerchant"
|
||||||
<a href="https://twitter.com/intent/tweet?text=Beat%20the%20masses%20with%20streetmerchant&url=https://github.com/jef/streetmerchant&hashtags=typescript,opensource,bot,shopping"><img src="https://img.shields.io/badge/twitter-share-green?logo=twitter&style=social" alt="Tweet" /></a>
|
/></a>
|
||||||
<br/><br/>
|
</p>
|
||||||
<a href="https://github.com/jef/streetmerchant#faq">FAQ</a> |
|
<p align="center">
|
||||||
<a href="https://github.com/jef/streetmerchant/issues">Issues</a> |
|
<strong>The world's easiest, most powerful stock checker</strong>
|
||||||
<a href="https://github.com/jef/streetmerchant/wiki">Wiki</a>
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://github.com/jef/streetmerchant/actions?query=workflow%3Aci"
|
||||||
|
><img src="https://github.com/jef/streetmerchant/workflows/ci/badge.svg"
|
||||||
|
/></a>
|
||||||
|
<a href="https://discord.gg/gbVY4vB9JF"
|
||||||
|
><img
|
||||||
|
src="https://img.shields.io/discord/773913070665859073.svg?label=chat&logo=discord&logoColor=ffffff&color=7389D8"
|
||||||
|
alt="Tweet"
|
||||||
|
/></a>
|
||||||
|
<a
|
||||||
|
href="https://twitter.com/intent/tweet?text=Beat%20the%20masses%20with%20streetmerchant&url=https://github.com/jef/streetmerchant&hashtags=typescript,opensource,bot,shopping"
|
||||||
|
><img
|
||||||
|
src="https://img.shields.io/badge/twitter-share-green?logo=twitter&style=social"
|
||||||
|
alt="Tweet"
|
||||||
|
/></a>
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<em>To get started, visit <a href="https://jef.codes/streetmerchant">jef.codes/streetmerchant</a></em>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Scrapes multiple websites for patterns of being stocked via API and Chromium
|
First and foremost, this service _will not_ automatically buy for you.
|
||||||
- Opens browser when stock is available
|
|
||||||
- Ability to send notifications when stock is available
|
|
||||||
|
|
||||||
> :point_right: The bot _will not_ automatically buy for you
|
- **Checks stock continuously** -- runs 24/7, 365, looking for the items you want.
|
||||||
|
- **Ready for checkout** -- ability to add to cart when available and even opens the browser for you.
|
||||||
|
- **Notifications galore** -- when you're not by your computer, worry free with notifications to most platforms and devices when an item comes in stock.
|
||||||
|
|
||||||
## Installation overview
|
## Quick start
|
||||||
|
|
||||||
Linux, macOS, and Windows are all capable operating systems.
|
streetmerchant runs on Node.js 14:
|
||||||
|
|
||||||
You do not need any computer skills, smarts, or anything of that nature. You are very capable as you have made it this
|
```shell
|
||||||
far. Some basic understanding how a terminal, git, and or Node.js is a bonus, but that does not limit you to
|
git clone https://github.com/jef/streetmerchant.git
|
||||||
getting `streetmerchant` running!
|
cd streetmerchant && npm i && npm run start
|
||||||
|
|
||||||
### Installation: native
|
|
||||||
|
|
||||||
| Branch | Note |
|
|
||||||
|:---:|---|
|
|
||||||
| `main` | Latest release; usually tagged, stable |
|
|
||||||
| `develop` | Latest HEAD; not tagged, could be unstable |
|
|
||||||
|
|
||||||
- [Node.js 14](https://nodejs.org/en/)
|
|
||||||
- [git](https://git-scm.com/)
|
|
||||||
- Clone this project `git clone https://github.com/jef/streetmerchant.git`
|
|
||||||
- To checkout a particular branch, use `git checkout <branch name>` after cloning
|
|
||||||
- Run `npm install`
|
|
||||||
- Copy `.env-example` to a new file `.env` and edit the `.env` file to your liking using
|
|
||||||
your [favorite text editor](https://code.visualstudio.com/)
|
|
||||||
- More on this in [customization](#Customization)
|
|
||||||
- Run `npm run start` to start
|
|
||||||
|
|
||||||
At any point you want the program to stop, use <kbd>Ctrl</kbd> + <kbd>C</kbd>.
|
|
||||||
|
|
||||||
> :point_right: Please visit the [wiki](https://github.com/jef/streetmerchant/wiki) if you need more help with installation.
|
|
||||||
|
|
||||||
### Installation: Docker
|
|
||||||
|
|
||||||
Available via GitHub Container Registry.
|
|
||||||
|
|
||||||
| Tag | Note |
|
|
||||||
|:---:|---|
|
|
||||||
| `latest` | Latest release; usually tagged, stable |
|
|
||||||
| `nightly` | Latest HEAD; not tagged, could be unstable |
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# to run
|
|
||||||
docker run --cap-add=SYS_ADMIN \
|
|
||||||
-it --rm --env-file ./.env \
|
|
||||||
ghcr.io/jef/streetmerchant:nightly
|
|
||||||
|
|
||||||
# to test notifications
|
|
||||||
docker run --cap-add=SYS_ADMIN \
|
|
||||||
-it --rm --env-file ./.env \
|
|
||||||
ghcr.io/jef/streetmerchant:nightly test:notification:production
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Developer notes
|
For more information and customization, visit [jef.codes/streetmerchant/getting-started](https://jef.codes/streetmerchant/getting-started).
|
||||||
|
|
||||||
The command `npm run start:dev` can be used instead of `npm run start` to automatically restart the project when
|
|
||||||
filesystem changes are detected in the `src/` folder or `.env` file.
|
|
||||||
|
|
||||||
## Customization
|
|
||||||
|
|
||||||
To customize `streetmerchant`, make a copy of `.env-example` as `.env` and make any changes to your liking. _All
|
|
||||||
environment variables are **optional**._
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Expand to see all available options</summary>
|
|
||||||
|
|
||||||
### Application
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `AUTO_ADD_TO_CART` | Enable auto add to cart on support stores | Default: `true` |
|
|
||||||
| `BROWSER_TRUSTED` | Skip Chromium Sandbox | Useful for containerized environments, default: `false` |
|
|
||||||
| `HEADLESS` | Puppeteer to run headless or not | Debugging related, default: `true` |
|
|
||||||
| `INCOGNITO` | Puppeteer to run incognito or not | Debugging related, default: `false` |
|
|
||||||
| `IN_STOCK_WAIT_TIME` | Time to wait between requests to the same link if it has that card in stock | In seconds, default: `0` |
|
|
||||||
| `LOG_LEVEL` | [Logging levels](https://github.com/winstonjs/winston#logging-levels) | Debugging related, default: `info` |
|
|
||||||
| `LOW_BANDWIDTH` | Blocks images/fonts to reduce traffic | Disables ad blocker, default: `false` |
|
|
||||||
| `OPEN_BROWSER` | Toggle for whether or not the browser should open when item is found | Default: `true` |
|
|
||||||
| `PAGE_BACKOFF_MIN` | Minimum backoff time between retrying requests for the same store when a forbidden response is received | Default: `10000` |
|
|
||||||
| `PAGE_BACKOFF_MAX` | Maximum backoff time between retrying requests for the same store when a forbidden response is received | Default: `3600000` |
|
|
||||||
| `PAGE_SLEEP_MIN` | Minimum sleep time between queries of the same product page | In milliseconds, default: `5000` |
|
|
||||||
| `PAGE_SLEEP_MAX` | Maximum sleep time between queries of the same product page | In milliseconds, default: `10000` |
|
|
||||||
| `PAGE_TIMEOUT` | Navigation Timeout in milliseconds | `0` for infinite, default: `30000` |
|
|
||||||
| `PROXY_ADDRESS` | IP Address or fqdn of proxy server |
|
|
||||||
| `PROXY_PORT` | TCP Port number on which the proxy is listening for connections | Default: `80` |
|
|
||||||
| `SCREENSHOT` | Capture screenshot of page if a card is found | Default: `true` |
|
|
||||||
| `USER_AGENT` | Custom User-Agents headers for HTTP requests | Newline separated, e.g.: `USER_AGENT_STRING1 \n USER_AGENT_STRING2` | | Default: `Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36` |
|
|
||||||
| `WEB_PORT` | Starts a webserver to be able to control the bot while it is running; optional | Default: disabled |
|
|
||||||
|
|
||||||
> :point_right: You can find your computer's user agent by [searching google for "my user agent"](http://google.com/search?q=my+user+agent)
|
|
||||||
|
|
||||||
> :point_right: Data usage is [known to be high](https://github.com/jef/streetmerchant/issues?q=is%3Aissue+sort%3Aupdated-desc+bandwidth). This is expected as the program scrapes many websites in parallel 24/7. To help reduce this, use `LOW_BANDWIDTH="true"`. We are looking into other solutions as well, but is low priority.
|
|
||||||
|
|
||||||
### Filters
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `COUNTRY` | [Supported country](#supported-countries) you want to be scraped | Currently only used by Nvidia, default: `usa` |
|
|
||||||
| `MAX_PRICE_SERIES_3070` | Maximum price allowed for a match, applies 3070 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. |
|
|
||||||
| `MAX_PRICE_SERIES_3080` | Maximum price allowed for a match, applies 3080 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. |
|
|
||||||
| `MAX_PRICE_SERIES_3090` | Maximum price allowed for a match, applies 3090 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. |
|
|
||||||
| `MAX_PRICE_SERIES_RYZEN5600` | Maximum price allowed for a match, applies AMD 5600 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
|
||||||
| `MAX_PRICE_SERIES_RYZEN5800` | Maximum price allowed for a match, applies AMD 5800 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
|
||||||
| `MAX_PRICE_SERIES_RYZEN5900` | Maximum price allowed for a match, applies AMD 5900 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
|
||||||
| `MAX_PRICE_SERIES_RYZEN5950` | Maximum price allowed for a match, applies AMD 5950 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
|
||||||
| `MICROCENTER_LOCATION` | Specific MicroCenter location(s) to search | Comma separated, e.g.: `marietta,duluth`, default: `web` |
|
|
||||||
| `NVIDIA_ADD_TO_CART_ATTEMPTS` | The maximum number of times the `nvidia-api` add to cart feature will be attempted before failing | Default: `10` |
|
|
||||||
| `NVIDIA_SESSION_TTL` | The time in milliseconds to keep the cart active while using `nvidia-api` | Default: `60000` |
|
|
||||||
| `SHOW_ONLY_BRANDS` | Filter to show specified brands | Comma separated, e.g.: `evga,zotac` |
|
|
||||||
| `SHOW_ONLY_MODELS` | Filter to show specified models | Both supported formats are comma separated <br/><br/>1. Standard E.g.: `founders edition,rog strix` <br/><br/> 2. Advanced E.g: `MODEL:SERIES`, E.g: `founders edition:3090,rog strix` |
|
|
||||||
| `SHOW_ONLY_SERIES` | Filter to show specified series | Comma separated, e.g.: `3080,ryzen5900` |
|
|
||||||
| `STORES` | [Supported stores](#supported-stores) you want to be scraped | Both supported formats are comma separated <br/><br/>1. Standard E.g.: `"nvidia"` <br/><br/> 2. Advanced E.g: `STORE:PAGE_SLEEP_MIN:PAGE_SLEEP_MAX`, E.g: `nvidia:10000:30000` <br/><br/>Default: `nvidia` |
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Supported stores</summary>
|
|
||||||
|
|
||||||
> :point_right: Used with the `STORES` variable.
|
|
||||||
|
|
||||||
| Stores | Environment variable |
|
|
||||||
|:---:|:---:|
|
|
||||||
| Adorama | `adorama`|
|
|
||||||
| Alternate (DE) | `alternate`|
|
|
||||||
| Alternate (NL) | `alternate-nl`|
|
|
||||||
| Amazon | `amazon`|
|
|
||||||
| Amazon (CA) | `amazon-ca`|
|
|
||||||
| Amazon (DE) | `amazon-de`|
|
|
||||||
| Amazon (ES) | `amazon-es`|
|
|
||||||
| Amazon (NL) | `amazon-nl`|
|
|
||||||
| Amazon (UK) | `amazon-uk`|
|
|
||||||
| AMD | `amd`|
|
|
||||||
| AMD (DE) | `amd-de`|
|
|
||||||
| Aria PC (UK) | `aria`|
|
|
||||||
| ARLT (DE) | `arlt`|
|
|
||||||
| ASUS | `asus` |
|
|
||||||
| ASUS (DE) | `asus-de` |
|
|
||||||
| Azerty (NL) | `azerty`|
|
|
||||||
| B&H | `bandh`|
|
|
||||||
| Best Buy | `bestbuy`|
|
|
||||||
| Best Buy (CA) | `bestbuy-ca`|
|
|
||||||
| Box (UK) | `box`|
|
|
||||||
| Caseking (DE) | `caseking`|
|
|
||||||
| CCL (UK) | `ccl`|
|
|
||||||
| Computeruniverse (DE) | `computeruniverse` |
|
|
||||||
| Coolblue (NL) | `coolblue`|
|
|
||||||
| Coolmod (ES) | `coolmod`|
|
|
||||||
| Currys (UK) | `currys`|
|
|
||||||
| Cyberport (DE) | `cyberport` |
|
|
||||||
| eBuyer (UK) | `ebuyer`|
|
|
||||||
| EVGA | `evga`|
|
|
||||||
| EVGA (EU) | `evga-eu`|
|
|
||||||
| Galaxus (DE) | `galaxus`|
|
|
||||||
| Game (UK) | `game`|
|
|
||||||
| Gamestop | `gamestop`|
|
|
||||||
| Kabum (BR) | `kabum`|
|
|
||||||
| Mediamarkt (DE) | `mediamarkt`|
|
|
||||||
| MemoryExpress (CA) | `memoryexpress`|
|
|
||||||
| Micro Center | `microcenter`|
|
|
||||||
| Mindfactory (DE) | `mindfactory` |
|
|
||||||
| Newegg | `newegg`|
|
|
||||||
| Newegg (CA) | `newegg-ca`|
|
|
||||||
| Notebooksbilliger (DE) |`notebooksbilliger`|
|
|
||||||
| Novatech (UK) | `novatech`|
|
|
||||||
| Nvidia | `nvidia`|
|
|
||||||
| Nvidia (API) | `nvidia-api`|
|
|
||||||
| Office Depot | `officedepot`|
|
|
||||||
| Overclockers (UK) | `overclockers`|
|
|
||||||
| PCComponentes (ES) | `pccomponentes`|
|
|
||||||
| PNY | `pny`|
|
|
||||||
| Proshop (DE) | `proshop-de`|
|
|
||||||
| Proshop (DK) | `proshop-dk`|
|
|
||||||
| Saturn (DE) | `saturn`|
|
|
||||||
| Scan (UK) | `scan`|
|
|
||||||
| Target | `target`|
|
|
||||||
| Very (UK) | `very`|
|
|
||||||
| Walmart | `walmart`|
|
|
||||||
| Zotac | `zotac`|
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Micro Center stores</summary>
|
|
||||||
|
|
||||||
> :point_right: Used with the `MICROCENTER_LOCATION` variable.
|
|
||||||
|
|
||||||
> :point_right: Before using `web`, please review [this issue comment](https://github.com/jef/streetmerchant/issues/442#issuecomment-703297393).
|
|
||||||
|
|
||||||
| Store name |
|
|
||||||
|:---:|
|
|
||||||
| `brooklyn` |
|
|
||||||
| `brentwood` |
|
|
||||||
| `cambridge` |
|
|
||||||
| `chicago` |
|
|
||||||
| `columbus` |
|
|
||||||
| `dallas` |
|
|
||||||
| `denver` |
|
|
||||||
| `duluth` |
|
|
||||||
| `fairfax` |
|
|
||||||
| `flushing` |
|
|
||||||
| `houston` |
|
|
||||||
| `madison-heights` |
|
|
||||||
| `marietta` |
|
|
||||||
| `mayfield-heights` |
|
|
||||||
| `north-jersey` |
|
|
||||||
| `overland-park` |
|
|
||||||
| `parkville` |
|
|
||||||
| `rockville` |
|
|
||||||
| `sharonville` |
|
|
||||||
| `st-davids` |
|
|
||||||
| `st-louis-park` |
|
|
||||||
| `tustin` |
|
|
||||||
| `westbury` |
|
|
||||||
| `westmont` |
|
|
||||||
| `yonkers` |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Supported brands and models</summary>
|
|
||||||
|
|
||||||
> :point_right: Used with the `SHOW_ONLY_BRANDS` and `SHOW_ONLY_MODELS` variables.
|
|
||||||
|
|
||||||
| Brand | Model |
|
|
||||||
|:---:|---|
|
|
||||||
| `amd` | `5600x`, `5800x`, `5900x`, `5950x` |
|
|
||||||
| `asus` | `dual`, `dual oc`, `strix`, `strix oc`, `tuf`, `tuf oc` |
|
|
||||||
| `evga` | `ftw3`, `ftw3 ultra`, `xc3`, `xc3 black`, `xc3 ultra` |
|
|
||||||
| `gainward` | `phantom gs`, `phoenix`, `phoenix gs`, `phoenix gs oc` |
|
|
||||||
| `gigabyte` | `aorus master`, `aorus xtreme`, `eagle`, `eagle oc`, `gaming`, `gaming oc`, `turbo`, `vision`, `vision oc` |
|
|
||||||
| `inno3d` | `gaming x3`, `ichill x3`, `ichill x4`, `twin x2 oc` |
|
|
||||||
| `kfa2` | `sg oc` |
|
|
||||||
| `microsoft` | `xboxsx` , `xboxss` |
|
|
||||||
| `msi` | `gaming x trio`, `ventus 2x oc`, `ventus 3x`, `ventus 3x oc` |
|
|
||||||
| `nvidia` | `founders edition` |
|
|
||||||
| `palit` | `gamerock oc`, `gaming pro`, `gaming pro oc` |
|
|
||||||
| `pny` | `dual fan`, `xlr8 revel`, `xlr8 uprising` |
|
|
||||||
| `sony` | `ps5 console`, `ps5 digital` |
|
|
||||||
| `zotac` | `amp holo`, `amp extreme holo`, `trinity`, `trinity oc`, `twin edge`, `twin edge oc` |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Supported countries (used with nvidia and nvidia-api)</summary>
|
|
||||||
|
|
||||||
> :point_right: Used with the `COUNTRY` variable.
|
|
||||||
|
|
||||||
| Country | 3080 FE | 3090 FE | Test Card | Notes |
|
|
||||||
|:---:|:---:|:---:|:---:|:---:|
|
|
||||||
| austria | `✔` | `✔` | `✔` | |
|
|
||||||
| belgium | `✔` | `✔` | `✔` | |
|
|
||||||
| canada | `✔` | `✔` | `✔` | |
|
|
||||||
| czechia | `✔` | `✔` | `✔` | |
|
|
||||||
| denmark | `✔` | | `✔` | Missing RTX 3090 |
|
|
||||||
| finland | `✔` | | `✔` | Missing RTX 3090 |
|
|
||||||
| france | `✔` | `✔` | `✔` | |
|
|
||||||
| germany | `✔` | `✔` | `✔` | |
|
|
||||||
| great_britain | `✔` | `✔` | `✔` | |
|
|
||||||
| ireland | `✔` | `✔` | `✔` | |
|
|
||||||
| italy | `✔` | `✔` | `✔` | |
|
|
||||||
| luxembourg | `✔` | `✔` | `✔` | |
|
|
||||||
| netherlands | `✔` | `✔` | `✔` | |
|
|
||||||
| norway | `✔` | `✔` | `✔` | |
|
|
||||||
| poland | `✔` | `✔` | `✔` | |
|
|
||||||
| portugal | `✔` | | | RTX 3080 only |
|
|
||||||
| spain | `✔` | `✔` | `✔` | |
|
|
||||||
| sweden | `✔` | `✔` | `✔` | |
|
|
||||||
| usa | `✔` | `✔` | `✔` | |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
### Notifications
|
|
||||||
|
|
||||||
> :point_right: You can test your notification configuration by running `npm run test:notification`.
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Desktop</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `DESKTOP_NOTIFICATIONS` | Display desktop notifications using [node-notifier](https://www.npmjs.com/package/node-notifier) | Default: `false` |
|
|
||||||
| `PLAY_SOUND` | Play this sound notification if a card is found | Relative path accepted, valid formats: wav, mp3, flac, E.g.: `path/to/notification.wav`, [free sounds available](https://notificationsounds.com/) |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Discord</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `DISCORD_NOTIFY_GROUP` | Discord group you would like to notify | Can be comma separated, use role ID, E.g.: `<@&2834729847239842>` |
|
|
||||||
| `DISCORD_WEB_HOOK` | Discord Web Hook URL | Can be comma separated, use whole webhook URL |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Email and SMS</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `EMAIL_PASSWORD` | Gmail password | See below if you have MFA |
|
|
||||||
| `EMAIL_TO` | Destination Email | Defaults to username if not set. Can be comma separated |
|
|
||||||
| `EMAIL_USERNAME` | Gmail address | E.g.: `jensen.robbed.us@gmail.com` |
|
|
||||||
| `PHONE_CARRIER` | [Supported carriers](#supported-carriers) for SMS | E.g.: `att` or `att,verizon,google`, email configuration required. If multiple phone numbers are listed, enter a carrier for each phone number |
|
|
||||||
| `PHONE_NUMBER` | 10 digit phone number(s) | E.g.: `1234567890` or `1234567890,0987654321,11112223333`, email configuration required |
|
|
||||||
| `SMTP_ADDRESS` | IP Address or fqdn of smtp server |
|
|
||||||
| `SMTP_PORT` | TCP Port number on which the smtp server is listening for connections | Default: `25` |
|
|
||||||
|
|
||||||
> :point_right: If you have multi-factor authentication (MFA), you will need to create an [app password](https://myaccount.google.com/apppasswords) and use this instead of your Gmail password.
|
|
||||||
|
|
||||||
#### Supported carriers
|
|
||||||
|
|
||||||
| Carrier | Environment variable | Notes |
|
|
||||||
|:---:|:---:|:---:|
|
|
||||||
| AT&T | `att` | |
|
|
||||||
| AT&T Prepaid | `attgo` | |
|
|
||||||
| Bell | `bell` | |
|
|
||||||
| Fido | `fido` | |
|
|
||||||
| Google | `google`| |
|
|
||||||
| Koodo | `koodo` | |
|
|
||||||
| Mint | `mint`| |
|
|
||||||
| Rogers | `rogers` | |
|
|
||||||
| Sprint | `sprint`| |
|
|
||||||
| Telus | `telus`| |
|
|
||||||
| T-Mobile | `tmobile`| |
|
|
||||||
| Verizon | `verizon`| Works with Visible |
|
|
||||||
| Virgin | `virgin`| |
|
|
||||||
| Virgin (CA) | `virgin-ca`| |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>MQTT</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `MQTT_BROKER_ADDRESS` | IP address or URL of MQTT Broker | e.g 192.168.1.xxx or broker.hivemq.com |
|
|
||||||
| `MQTT_BROKER_PORT` | Network port of MQTT Broker | Default: 1883 |
|
|
||||||
| `MQTT_CLIENT_ID` | Unique ClientID (only if required by MQTT Broker), typically not required when only publishing alerts | eg. client-123456 |
|
|
||||||
| `MQTT_PASSWORD` | MQTT password - only use with MQTT brokers on private networks, if required. Will not be sent over public networks for safety. | e.g mysecret |
|
|
||||||
| `MQTT_QOS` | QoS level for published alerts to broker (https://www.npmjs.com/package/mqtt#about-qos) | Default: 0, Can be 0, 1, or 2 |
|
|
||||||
| `MQTT_TOPIC` | Topic to publish alerts to. Can include %store%, %series%, %brand%, %model% for dynamic topics | Default: streetmerchant/alert e.g nv-alert/%store%/%series%/%brand%/%model%/alert |
|
|
||||||
| `MQTT_USERNAME` | MQTT username - (only if required by MQTT Broker) | e.g myusername |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>PagerDuty</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `PAGERDUTY_INTEGRATION_KEY` | PagerDuty Events API v2 Integration Key. Obtain one in PagerDuty - <Service you want to use> - Integrations | |
|
|
||||||
| `PAGERDUTY_SEVERITY` | Severity of PagerDuty events | Default: `info` |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Philips Hue</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `PHILIPS_HUE_API_KEY` | Hue Bridge API Key | **Required**, generate key using instructions [here](https://developers.meethue.com/develop/get-started-2/). This will be used for both LAN and cloud access over the official Remote Hue API. |
|
|
||||||
| `PHILIPS_HUE_LAN_BRIDGE_IP` | LAN IP Address of your Hue Bridge | LAN only, e.g. `192.168.x.x`|
|
|
||||||
| `PHILIPS_HUE_LIGHT_IDS` | Light IDs | Optional (all if not supplied). Comma seperated, e.g.: `1`, `2` |See Hue App → About for IDs |
|
|
||||||
| `PHILIPS_HUE_LIGHT_COLOR` | Color in RGB Format | Optional (NVIDIA green if not supplied). Comma separated, e.g.: `255`, `255`, `255`|
|
|
||||||
| `PHILIPS_HUE_LIGHT_PATTERN` | `blink` or empty | Optional - lights will flash for 30 seconds if `blink` is supplied. |
|
|
||||||
| `PHILIPS_HUE_CLOUD_ACCESS_TOKEN` | Remote Access Token | Cloud only, the access token obtained from Philips's Remote Hue API. Instructions to generate [here](https://developers.meethue.com/develop/hue-api/remote-authentication/). |
|
|
||||||
| `PHILIPS_HUE_CLOUD_REFRESH_TOKEN` | Remote Refresh Token | Cloud only, the refresh token obtained from Philips's Remote Hue API. |
|
|
||||||
| `PHILIPS_HUE_CLOUD_CLIENT_ID` | Remote Client ID | Cloud only, the client ID to use when accessing the Remote Hue API. |
|
|
||||||
| `PHILIPS_HUE_CLOUD_CLIENT_SECRET` | Remote Client Secret | Cloud only, the client secret to use when accessing the Remote Hue API. |
|
|
||||||
|
|
||||||
> :point_right: [Video demonstration](https://vimeo.com/476083242)
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Pushbullet</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `PUSHBULLET` | PushBullet API key | Generate at https://www.pushbullet.com/#settings/account | |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Pushover</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `PUSHOVER_TOKEN` | Pushover access token | Generate at https://pushover.net/apps/build | |
|
|
||||||
| `PUSHOVER_USER` | Pushover username | |
|
|
||||||
| `PUSHOVER_PRIORITY` | Pushover message priority |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Slack</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `SLACK_CHANNEL` | Slack channel for posting | E.g.: `update`, no need for `#` |
|
|
||||||
| `SLACK_TOKEN` | Slack API token | |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Telegram</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `TELEGRAM_ACCESS_TOKEN` | Telegram access token | |
|
|
||||||
| `TELEGRAM_CHAT_ID` | Telegram chat ID | Comma seperated, e.g.: `123456789`, `123456789,987654321` |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Twilio</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `TWILIO_ACCOUNT_SID` | Twilio Account SID | Can be found on twilio.com/console |
|
|
||||||
| `TWILIO_AUTH_TOKEN` | Twilio Auth Token | Can be found on twilio.com/console |
|
|
||||||
| `TWILIO_FROM_NUMBER` | Twilio provided phone number to send messages from | Include country code e.g +4401234567890 |
|
|
||||||
| `TWILIO_TO_NUMBER` | Mobile number to send SMS to | Include country code e.g +4401234567890 |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Twitter</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `TWITTER_ACCESS_TOKEN_KEY` | Twitter Token Key | |
|
|
||||||
| `TWITTER_ACCESS_TOKEN_SECRET` | Twitter Token Secret | |
|
|
||||||
| `TWITTER_CONSUMER_KEY` | Twitter Consumer Key | Generate all Twitter keys at: https://developer.twitter.com/ |
|
|
||||||
| `TWITTER_CONSUMER_SECRET` | Twitter Consumer Secret | |
|
|
||||||
| `TWITTER_TWEET_TAGS` | Optional list of hashtags to append to the tweet message | E.g.: `#nvidia #nvidiastock` |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Twitch</summary>
|
|
||||||
|
|
||||||
| Environment variable | Description | Notes |
|
|
||||||
|:---:|---|---|
|
|
||||||
| `TWITCH_CLIENT_ID` | Twitch client ID | |
|
|
||||||
| `TWITCH_CLIENT_SECRET`| Twitch client secret | |
|
|
||||||
| `TWITCH_ACCESS_TOKEN` | Twitch access token | |
|
|
||||||
| `TWITCH_REFRESH_TOKEN` | Twitch refresh token | |
|
|
||||||
| `TWITCH_CHANNEL` | Twitch channel | |
|
|
||||||
|
|
||||||
</details>
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## FAQ
|
|
||||||
|
|
||||||
**Q: What's Node.js and how do I install it?** Visit [their website](https://nodejs.org/en/) and download and install
|
|
||||||
it. Very straight forward. Otherwise, Google more information related to your system needs.
|
|
||||||
|
|
||||||
**Q: Will this harm my computer?** No.
|
|
||||||
|
|
||||||
**Q: Have you gotten a card yet?** YES! :tada: :rocket:
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Screenshot</summary>
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
**Q: Will I get banned from of the stores?** Perhaps, but getting a card is a nice outcome.
|
|
||||||
|
|
||||||
**Q: I got a problem and need help!** File an [issue](https://github.com/jef/streetmerchant/issues/new/choose). I'll do
|
|
||||||
my best to get to you. I work a full time job and this is only a hobby of mine.
|
|
||||||
|
|
||||||
**Q: How do I get the latest code?** Take look at
|
|
||||||
this [wiki page](https://github.com/jef/streetmerchant/wiki/Troubleshoot:-General:-Getting-the-latest-code).
|
|
||||||
|
|
||||||
**Q: Why don't my notifications work?** There is probably
|
|
||||||
an [issue](https://github.com/jef/streetmerchant/issues?q=is%3Aissue+sort%3Aupdated-desc+sound+is%3Aclosed) that
|
|
||||||
has [already](https://github.com/jef/streetmerchant/issues/182) [been](https://github.com/jef/streetmerchant/issues/116) [resolved](https://github.com/jef/streetmerchant/issues/155)
|
|
||||||
.
|
|
||||||
|
|
||||||
**Q: I'd love to contribute, how do I do that?** Make
|
|
||||||
a [pull request](https://github.com/jef/streetmerchant/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc)! All contributions
|
|
||||||
are welcome.
|
|
||||||
|
|
||||||
**Q: Why do I have to download all this stuff just to get this bot working?** Well, I would rather you didn't either.
|
|
||||||
See [#11](https://github.com/jef/streetmerchant/issues/11).
|
|
||||||
|
|
||||||
**Q: Why does Amazon show an error page (with a picture of an animal) instead of adding to cart or going to the detail page?** This is intended; see [#733](https://github.com/jef/streetmerchant/issues/733). This indicates that the item is out of stock and only available from a third-party seller (often at a markup).
|
|
||||||
|
|
||||||
<p align="center"><a href="https://github.com/jef/streetmerchant#readme"><img src="https://raw.githubusercontent.com/jef/streetmerchant/main/media/terminal.gif" /></a></p>
|
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
version: '3.0'
|
||||||
|
services:
|
||||||
|
streetmerchant:
|
||||||
|
image: ghcr.io/jef/streetmerchant:latest
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
container_name: streetmerchant
|
||||||
|
env_file:
|
||||||
|
- dotenv
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# About
|
||||||
|
|
||||||
|
## Background
|
||||||
|
|
||||||
|
Remember on September 17th, 2020 at 9 AM EST the Nvidia site went from **Notify Me** to **Out of Stock** instantly? Well, they didn't sell any cards. The real reason was that they weren't ready to sell them to us yet. That's right, they turned off their third party storefronts because they were being overloaded with our clicks. They still kept the other cards that use those APIs online, but they removed that one. It was re-enabled at some point for a brief moment, but the same thing happened -- servers overloaded with API requests.
|
||||||
|
|
||||||
|
This is where streetmerchant comes in. It doesn't buy anything for you, but it makes it more of a stress free job to refresh and check sites while you go about your daily business. People took off work, missed appointments, and gave up other lively needs in hopes to buy a _graphics card_. Now we reach beyond graphics cards in hopes for other products!
|
||||||
|
|
||||||
|
Please enjoy,
|
||||||
|
|
||||||
|
jef
|
||||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 77 KiB |
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../CHANGELOG.md
|
||||||
+67
@@ -0,0 +1,67 @@
|
|||||||
|
# FAQ
|
||||||
|
|
||||||
|
## What's Node.js and how do I install it?
|
||||||
|
|
||||||
|
Visit [their website](https://nodejs.org/en/) and download and install it. Very straight forward. Otherwise, Google more information related to your system needs.
|
||||||
|
|
||||||
|
## Will this harm my computer?
|
||||||
|
|
||||||
|
No.
|
||||||
|
|
||||||
|
## Have you gotten a card yet?
|
||||||
|
|
||||||
|
[Sure did!](https://i.imgur.com/59CRzGq.png)
|
||||||
|
|
||||||
|
## Will I get banned from of the stores?
|
||||||
|
|
||||||
|
Perhaps, but it's the risk we're willing to take! To help minimize this, take a look at [#1050](https://github.com/jef/streetmerchant/issues/1050).
|
||||||
|
|
||||||
|
## I got a problem and need help
|
||||||
|
|
||||||
|
File an [issue](https://github.com/jef/streetmerchant/issues/new/choose). I'll do my best to get to you. I work a full time job and this is only a hobby of mine.
|
||||||
|
|
||||||
|
## How do I get the latest code?
|
||||||
|
|
||||||
|
Run the following commands:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git pull origin main
|
||||||
|
npm install
|
||||||
|
npm run start
|
||||||
|
```
|
||||||
|
|
||||||
|
If you changed the code at all, this will most likely fail. You can clear out your changes by doing:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git checkout .
|
||||||
|
git pull origin main
|
||||||
|
npm install
|
||||||
|
npm run start
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also to [git-stash](https://git-scm.com/docs/git-stash), but we won't expand on that here.
|
||||||
|
|
||||||
|
|
||||||
|
## Why don't my notifications work?
|
||||||
|
|
||||||
|
There is probably an [issue](https://github.com/jef/streetmerchant/issues?q=is%3Aissue+sort%3Aupdated-desc+sound+is%3Aclosed) that has [already](https://github.com/jef/streetmerchant/issues/182) [been](https://github.com/jef/streetmerchant/issues/116) [resolved](https://github.com/jef/streetmerchant/issues/155).
|
||||||
|
|
||||||
|
## I'd love to contribute, how do I do that?
|
||||||
|
|
||||||
|
Make a [pull request](https://github.com/jef/streetmerchant/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc)! All contributions are welcome.
|
||||||
|
|
||||||
|
## How do I add a store?
|
||||||
|
|
||||||
|
Here's a little write-up I did: [Adding a store](help/general.md#adding-a-store).
|
||||||
|
|
||||||
|
## Why do I have to download all this stuff just to get this bot working?
|
||||||
|
|
||||||
|
Well, I would rather you didn't either. See [#11](https://github.com/jef/streetmerchant/issues/11).
|
||||||
|
|
||||||
|
## Why does Amazon show an error page (with a picture of an animal) instead of adding to cart or going to the detail page?
|
||||||
|
|
||||||
|
This is intended; see [#733](https://github.com/jef/streetmerchant/issues/733). This indicates that the item is out of stock and only available from a third-party seller (often at a markup).
|
||||||
|
|
||||||
|
## I'm using streetmerchant in the cloud and X isn't working.
|
||||||
|
|
||||||
|
There is _a lot_ of undefined behavior with using streetmerchant in the cloud. Some sites may block IPs from your cloud provider. It is possible that a VPN will help circumvent these problems.
|
||||||
@@ -0,0 +1,105 @@
|
|||||||
|
# Getting started
|
||||||
|
|
||||||
|
You do not need any computer skills, smarts, or anything of that nature. You are very capable as you have made it this far. Some basic understanding how a terminal, git, and or Node.js is a bonus, but that does not limit you to getting streetmerchant running!
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
- [git](https://git-scm.com/)
|
||||||
|
- Either [Node.js 14](https://nodejs.org/en/) or [Docker (1.13.0+)](https://docs.docker.com/get-docker/) (advanced users)
|
||||||
|
|
||||||
|
## Using Node.js
|
||||||
|
|
||||||
|
| Reference | Note |
|
||||||
|
|:---:|---|
|
||||||
|
| tag | Example, `v1.0.0`; stable |
|
||||||
|
| `main` | Latest HEAD; not tagged, could be unstable |
|
||||||
|
|
||||||
|
1. Download [Node.js 14](https://nodejs.org/en/)
|
||||||
|
1. Clone this project `git clone https://github.com/jef/streetmerchant.git`.
|
||||||
|
1. To checkout a particular reference, use `git checkout <ref name>` after cloning.
|
||||||
|
1. Navigate to this project by entering `cd streetmerchant`.
|
||||||
|
1. Run `npm install`.
|
||||||
|
1. Make a copy of `dotenv-example` and name it `dotenv`.
|
||||||
|
1. Edit the `dotenv` file to your liking using a text editor (like [vscode](https://code.visualstudio.com/)).
|
||||||
|
1. Run `npm run start` to start.
|
||||||
|
|
||||||
|
At any point you want the program to stop, use ++ctrl+c++.
|
||||||
|
|
||||||
|
???+ tip
|
||||||
|
Community based help can also be found on the [wiki](https://github.com/jef/streetmerchant/wiki). Feel free to check that out if you're having problems running. If you're still having problems running, you're probably not the first. Make some searches through the [GitHub issues](https://github.com/jef/streetmerchant/issues) before making one.
|
||||||
|
|
||||||
|
## Using Docker
|
||||||
|
|
||||||
|
Available via GitHub Container Registry.
|
||||||
|
|
||||||
|
| Tag | Note |
|
||||||
|
|:---:|---|
|
||||||
|
| `latest` | Latest release; stable |
|
||||||
|
| `nightly` | Latest HEAD each day at midnight UTC; could be unstable |
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# to run docker nightly
|
||||||
|
docker run -it --rm \
|
||||||
|
--env-file ./dotenv \
|
||||||
|
ghcr.io/jef/streetmerchant:nightly
|
||||||
|
|
||||||
|
# to test notifications
|
||||||
|
docker run -it --rm \
|
||||||
|
--env-file ./dotenv \
|
||||||
|
ghcr.io/jef/streetmerchant:nightly test:notification:production
|
||||||
|
```
|
||||||
|
|
||||||
|
See [Developing in docker](#developing-in-docker) for more information
|
||||||
|
|
||||||
|
## Customization
|
||||||
|
|
||||||
|
To customize streetmerchant, make a copy of `dotenv-example` as `dotenv` and make any changes to your liking. View [Reference](reference/application.md) for more information on variables and their usage.
|
||||||
|
|
||||||
|
???+ tip
|
||||||
|
All environment variables are optional.
|
||||||
|
|
||||||
|
## For developers
|
||||||
|
|
||||||
|
### Developing in Node.js
|
||||||
|
|
||||||
|
The command `npm run start:dev` can be used instead of `npm run start` to automatically restart the project when filesystem changes are detected in the `src/` folder or `dotenv` file.
|
||||||
|
|
||||||
|
Use `npm run lint` to see any linting uses and `npm run lint:fix` to automatically fix the issues it can.
|
||||||
|
|
||||||
|
### Developing in Docker
|
||||||
|
|
||||||
|
#### Prerequisites
|
||||||
|
|
||||||
|
- [Docker (1.13.0+)](https://docs.docker.com/get-docker/)
|
||||||
|
- [GNU Make](https://www.gnu.org/software/make/)
|
||||||
|
- Optional, but increases quality of life
|
||||||
|
- [Docker Compose](https://docs.docker.com/compose/install/)
|
||||||
|
- Depending on your system, you may already have this. Check before installing.
|
||||||
|
|
||||||
|
#### Starting with `docker-compose`
|
||||||
|
|
||||||
|
1. Make a copy of `dotenv-example` and name it `dotenv`.
|
||||||
|
1. Edit the `dotenv` file to your liking using a text editor (like [vscode](https://code.visualstudio.com/)).
|
||||||
|
1. If you're using `make`, you can run `make run` to start and `make stop` to stop.
|
||||||
|
1. There are more options in the `Makefile`, feel free to explore.
|
||||||
|
1. If you do not have `make`, you can run `docker-compose` directly:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
# To start
|
||||||
|
# Use `-d` if you want to run in detached mode
|
||||||
|
# Use `--build` if you want to build the image before running (default image is latest in GitHub Container Registry).
|
||||||
|
docker-compose up
|
||||||
|
|
||||||
|
# To break down
|
||||||
|
docker-compose down
|
||||||
|
```
|
||||||
|
|
||||||
|
???+ note
|
||||||
|
If you are using `WEB_PORT`, then you will need to add the following to docker-compose:
|
||||||
|
|
||||||
|
```
|
||||||
|
ports:
|
||||||
|
- "<WEB_PORT>:<WEB_PORT>"
|
||||||
|
```
|
||||||
|
|
||||||
|
Replace `<WEB_PORT>` with the value you gave in your `dotenv`.
|
||||||
@@ -0,0 +1,133 @@
|
|||||||
|
# General
|
||||||
|
|
||||||
|
## Adding a store
|
||||||
|
|
||||||
|
???+ note
|
||||||
|
This is subject to change in the future
|
||||||
|
|
||||||
|
In the following examples, I will be using "NewStore" as the store I'm wanting to add.
|
||||||
|
|
||||||
|
### Creating a store file
|
||||||
|
|
||||||
|
First, create a TypeScript file in `src/store/model`. In this example, I'll create a file named `new-store.ts`. At this point, you can copy and paste any of the other stores and change accordingly.
|
||||||
|
|
||||||
|
#### How to grab a container (aka selector)
|
||||||
|
|
||||||
|
For the containers, what you'll wanna do is use <kbd>F12</kbd> on the site you want to Inspect and click this button
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Hover over the item you want and it should give you the context:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
You can also right-click on any website element and select 'Inspect'. That should also give you the same results.
|
||||||
|
|
||||||
|
Some people will decide to choose a parent element as it can be unique. Like this case!
|
||||||
|
|
||||||
|
I'd rather use `.button.spin-button.prod-ProductCTA--primary.button--primary` instead of `.spin-button-children` as there are probably other elements on the page that are also `.spin-button-children`.
|
||||||
|
|
||||||
|
The reason why we use these selectors anyway is to wait for the webpage to load these specific elements, to help eliminate false positives.
|
||||||
|
|
||||||
|
For easily getting the selector, you can also copy it by right clicking on the tag, Copy > Copy selector.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Updating the models
|
||||||
|
|
||||||
|
You'll now want to add the new store to `src/store/model/index.ts`.
|
||||||
|
|
||||||
|
This is what it will look like:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
--- a/src/store/model/index.ts
|
||||||
|
+++ b/src/store/model/index.ts
|
||||||
|
@@ -48,6 +48,7 @@ import {MicroCenter} from './microcenter';
|
||||||
|
import {Mindfactory} from './mindfactory';
|
||||||
|
import {Newegg} from './newegg';
|
||||||
|
import {NeweggCa} from './newegg-ca';
|
||||||
|
+import {NewStore} from './new-store';
|
||||||
|
import {Notebooksbilliger} from './notebooksbilliger';
|
||||||
|
import {Novatech} from './novatech';
|
||||||
|
import {Nvidia} from './nvidia';
|
||||||
|
@@ -123,6 +124,7 @@ export const storeList = new Map([
|
||||||
|
[Mindfactory.name, Mindfactory],
|
||||||
|
[Newegg.name, Newegg],
|
||||||
|
[NeweggCa.name, NeweggCa],
|
||||||
|
+ [NewStore.name, NewStore],
|
||||||
|
[Notebooksbilliger.name, Notebooksbilliger],
|
||||||
|
[Novatech.name, Novatech],
|
||||||
|
[Nvidia.name, Nvidia],
|
||||||
|
```
|
||||||
|
|
||||||
|
After that, you're pretty much set. If you plan on adding new models or series, you will have to add them to `src/store/model/store.ts` and `src/config.ts`.
|
||||||
|
|
||||||
|
Here's an example:
|
||||||
|
|
||||||
|
```diff
|
||||||
|
--- a/src/store/model/store.ts
|
||||||
|
+++ b/src/store/model/store.ts
|
||||||
|
@@ -23,6 +23,7 @@ export type Brand =
|
||||||
|
| 'kfa2'
|
||||||
|
| 'microsoft'
|
||||||
|
| 'msi'
|
||||||
|
+ | 'new brand'
|
||||||
|
| 'nvidia'
|
||||||
|
| 'palit'
|
||||||
|
| 'pny'
|
||||||
|
@@ -37,6 +38,7 @@ export type Series =
|
||||||
|
| '3070'
|
||||||
|
| '3080'
|
||||||
|
| '3090'
|
||||||
|
+ | 'new series'
|
||||||
|
| 'rx6800'
|
||||||
|
| 'rx6800xt'
|
||||||
|
| 'rx6900xt'
|
||||||
|
@@ -83,6 +85,7 @@ export type Model =
|
||||||
|
| 'ichill x2'
|
||||||
|
| 'ichill x3'
|
||||||
|
| 'ichill x4'
|
||||||
|
+ | 'new model'
|
||||||
|
| 'nitro+'
|
||||||
|
| 'nitro oc se'
|
||||||
|
| 'nitro oc'
|
||||||
|
```
|
||||||
|
|
||||||
|
```diff
|
||||||
|
--- a/src/config.ts
|
||||||
|
+++ b/src/config.ts
|
||||||
|
@@ -308,6 +308,7 @@ const store = {
|
||||||
|
country: envOrString(process.env.COUNTRY, 'usa'),
|
||||||
|
maxPrice: {
|
||||||
|
series: {
|
||||||
|
+ 'new series': -1,
|
||||||
|
'3060ti': envOrNumber(process.env.MAX_PRICE_SERIES_3060TI),
|
||||||
|
3070: envOrNumber(process.env.MAX_PRICE_SERIES_3070),
|
||||||
|
3080: envOrNumber(process.env.MAX_PRICE_SERIES_3080),
|
||||||
|
@@ -337,6 +338,7 @@ const store = {
|
||||||
|
};
|
||||||
|
}),
|
||||||
|
showOnlySeries: envOrArray(process.env.SHOW_ONLY_SERIES, [
|
||||||
|
+ 'new series',
|
||||||
|
'3060ti',
|
||||||
|
'3070',
|
||||||
|
'3080',
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
And voila! You're done! If you'd like to contribute to the project, feel free to create a [Pull Request](https://github.com/jef/streetmerchant/compare)! Don't forget to add the store (and brand, model, and series if you added) to the `README.md`.
|
||||||
|
|
||||||
|
???+ tip
|
||||||
|
Here's an [example](https://github.com/jef/streetmerchant/commit/af96c5f2e808af7496f3c3299e4cf173105de48b). If you'd like to include a max price, you can add `MAX_PRICE_SERIES_NEW_SERIES` to the above instead of the `-1`.
|
||||||
|
|
||||||
|
## Creating a Discord webhook
|
||||||
|
|
||||||
|
Take a look at Discord's [Intro to Webhooks](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks), that should get you going.
|
||||||
|
|
||||||
|
This is the main portion:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Use the full URL that you just copied and set that value to `DISOCRD_WEB_HOOK`.
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
# Troubleshoot
|
||||||
|
|
||||||
|
## Captcha issues
|
||||||
|
|
||||||
|
### Option 1
|
||||||
|
|
||||||
|
If you're running into problems, try running in headful mode: `HEADLESS="false"`.
|
||||||
|
|
||||||
|
This will open a browser and run streetmerchant. Note that this isn't a great solution for those running in a headless environment, i.e.: VPS, cloud, docker. Instead, it would be a good solution for those running on separate computer that won't be blocked by running in the background.
|
||||||
|
|
||||||
|
### Option 2
|
||||||
|
|
||||||
|
As a last case scenario, use `PUPPETEER_EXECUTABLE_PATH`. This will use your computer's Chrome browser. You can run this is headless or headful mode.
|
||||||
|
|
||||||
|
> From the puppeteer doc:
|
||||||
|
>
|
||||||
|
> `PUPPETEER_EXECUTABLE_PATH` - specify an executable path to be used in `puppeteer.launch`. See [puppeteer.launch([options])](https://github.com/puppeteer/puppeteer/blob/main/docs/api.md#puppeteerlaunchoptions) on how the executable path is inferred. **BEWARE**: Puppeteer is only [guaranteed to work](https://github.com/puppeteer/puppeteer/#q-why-doesnt-puppeteer-vxxx-work-with-chromium-vyyy) with the bundled Chromium, use at your own risk.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
`dotenv`:
|
||||||
|
|
||||||
|
```
|
||||||
|
PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome-stable
|
||||||
|
```
|
||||||
|
|
||||||
|
This will vary depending on your operating system and install path. Please use full paths.
|
||||||
|
|
||||||
|
## macOS code signing
|
||||||
|
|
||||||
|
If you're getting a popup like this:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Then run this command:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo codesign --force --deep --sign - ./node_modules/puppeteer/.local-chromium/mac-800071/chrome-mac/Chromium.app
|
||||||
|
```
|
||||||
|
|
||||||
|
???+ tip
|
||||||
|
The `mac-800071` may be different on your machine, so I would start from `./node_modules/puppeteer/.local-chromium` and auto complete from there.
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
[](https://jef.codes/streetmerchant)
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
First and foremost, this service _will not_ automatically buy for you.
|
||||||
|
|
||||||
|
- **Checks stock continuously** -- runs 24/7, 365, looking for the items you want.
|
||||||
|
- **Ready for checkout** -- ability to add to cart when available and even opens the browser for you.
|
||||||
|
- **Notifications galore** -- when you're not by your computer, worry free with notifications to most platforms and devices when an item comes in stock.
|
||||||
|
|
||||||
|
## Getting started
|
||||||
|
|
||||||
|
You'll find most of the content on the left sidebar. The right sidebar will help you navigate a page.
|
||||||
|
|
||||||
|
### Contributing
|
||||||
|
|
||||||
|
- Give helpful tips and tricks to the [community based wiki](https://github.com/jef/streetmerchant/wiki).
|
||||||
|
- Add to the documentation through [pull requests](https://github.com/jef/streetmerchant/pulls).
|
||||||
|
- Fork and make a pull request to the repository.
|
||||||
|
|
||||||
|
### Looking for help
|
||||||
|
|
||||||
|
- Have an idea, question, or need help? Visit our [GitHub discussion board](https://github.com/jef/streetmerchant/discussions).
|
||||||
|
- Ran into a bug? File a [GitHub issue](https://github.com/jef/streetmerchant/issues/new/choose).
|
||||||
|
- Looking to hang out and talk shop? Join us on [Discord](https://discord.gg/gbVY4vB9JF).
|
||||||
|
|
||||||
|
### Supporting the project
|
||||||
|
|
||||||
|
The best way to support me is to donate to [Diabetes Research Institute](https://www.diabetesresearch.org/Give).
|
||||||
|
|
||||||
|
> The Diabetes Research Institute leads the world in cure-focused diabetes research.
|
||||||
|
>
|
||||||
|
> [diabetesresearch.org](https://www.diabetesresearch.org/about-DRI)
|
||||||
|
|
||||||
|
If you feel inclined to support me directly, here are those options:
|
||||||
|
|
||||||
|
- [GitHub Sponsors](https://github.com/sponsors/jef)
|
||||||
|
- [Paypal](https://www.paypal.me/jxf)
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
app.document$.subscribe(function() {
|
||||||
|
var tables = document.querySelectorAll("article table")
|
||||||
|
tables.forEach(function(table) {
|
||||||
|
new Tablesort(table)
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# Application
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `AUTO_ADD_TO_CART` | Enable auto add to cart on support stores, default: `true` |
|
||||||
|
| `BROWSER_TRUSTED` | Skip Chromium Sandbox. Useful for containerized environments, default: `false` |
|
||||||
|
| `HEADLESS` | Puppeteer to run headless or not. Debugging related, default: `true` |
|
||||||
|
| `INCOGNITO` | Puppeteer to run incognito or not. Debugging related, default: `false` |
|
||||||
|
| `IN_STOCK_WAIT_TIME` | Time to wait between requests to the same link if it has that card in stock. In seconds, default: `0` |
|
||||||
|
| `LOG_LEVEL` | [Logging levels](https://github.com/winstonjs/winston#logging-levels). Debugging related, default: `info` |
|
||||||
|
| `LOW_BANDWIDTH` | Blocks images/fonts to reduce traffic. Disables ad blocker, default: `false` |
|
||||||
|
| `OPEN_BROWSER` | Toggle for whether or not the browser should open when item is found. Default: `true` |
|
||||||
|
| `PAGE_BACKOFF_MIN` | Minimum backoff time between retrying requests for the same store when a forbidden response is received. Default: `10000` |
|
||||||
|
| `PAGE_BACKOFF_MAX` | Maximum backoff time between retrying requests for the same store when a forbidden response is received. Default: `3600000` |
|
||||||
|
| `PAGE_SLEEP_MIN` | Minimum sleep time between queries of the same product page. In milliseconds, default: `5000` |
|
||||||
|
| `PAGE_SLEEP_MAX` | Maximum sleep time between queries of the same product page. In milliseconds, default: `10000` |
|
||||||
|
| `PAGE_TIMEOUT` | Navigation Timeout in milliseconds. `0` for infinite, default: `30000` |
|
||||||
|
| `PROXY_PROTOCOL` | Protocol of proxy server, such as `socks5`. Default: `http` |
|
||||||
|
| `PROXY_ADDRESS` | IP Address or fqdn of proxy server |
|
||||||
|
| `PROXY_PORT` | TCP Port number on which the proxy is listening for connections. Default: `80` |
|
||||||
|
| `SCREENSHOT` | Capture screenshot of page if a card is found. Default: `true` |
|
||||||
|
| `WEB_PORT` | Starts a webserver to be able to control the bot while it is running. Setting this value starts this service. |
|
||||||
|
|
||||||
|
???+ info
|
||||||
|
You can also have a list of proxies that are rotated while searching stores. Proxies can be read from a file named `STORENAME.proxies` in the format of `socks5://username:password@ip`; one per line. In this case, there is no need to use the `PROXY_*` environments.
|
||||||
|
|
||||||
|
???+ tip
|
||||||
|
- You can also have a list of proxies that are rotated while searching stores. Proxies can be read from a file named `STORENAME.proxies` in the format of `socks5://username:password@ip`; one per line.
|
||||||
|
- Data usage is [known to be high](https://github.com/jef/streetmerchant/issues?q=is%3Aissue+sort%3Aupdated-desc+bandwidth). This is expected as the program scrapes many websites in parallel 24/7. To help reduce this, use `LOW_BANDWIDTH="true"`. We are looking into other solutions as well, but is low priority.
|
||||||
@@ -0,0 +1,224 @@
|
|||||||
|
# Filter
|
||||||
|
|
||||||
|
| Environment variable | Description | Notes |
|
||||||
|
|:---:|---|---|
|
||||||
|
| `COUNTRY` | [Supported country](#supported-countries) you want to be scraped | Only used with `nvidia-api`, default: `usa` |
|
||||||
|
| `MAX_PRICE_SERIES_3060TI` | Maximum price allowed for a match, applies 3060 Ti series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_3070` | Maximum price allowed for a match, applies 3070 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_3080` | Maximum price allowed for a match, applies 3080 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_3090` | Maximum price allowed for a match, applies 3090 series cards (does not apply to these sites: Nvidia, Asus, EVGA) | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - Cards above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_CORSAIR_SF` | Maximum price allowed for a match, applies to Corsair PSUs | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - PSUs above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_DARKHERO` | Maximum price allowed for a match, applies to ASUS Dark Hero motherboards | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - PSUs above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_RYZEN5600` | Maximum price allowed for a match, applies AMD 5600 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_RYZEN5800` | Maximum price allowed for a match, applies AMD 5800 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_RYZEN5900` | Maximum price allowed for a match, applies AMD 5900 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_RYZEN5950` | Maximum price allowed for a match, applies AMD 5950 series cpus | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - CPUs above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_SONYPS5C` | Maximum price allowed for a match, applies PS5 console | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - PS5 above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_SONYPS5DE` | Maximum price allowed for a match, applies PS5 digital edition | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - PS5 above `1234` will be skipped. |
|
||||||
|
| `MAX_PRICE_SERIES_TEST` | Maximum price allowed for a match, applies `test:series` | Default: leave empty for no limit, otherwise enter a price (enter whole dollar amounts only, avoid use of: dollar symbols, commas, and periods.) e.g.: `1234` - PS5 above `1234` will be skipped. |
|
||||||
|
| `MICROCENTER_LOCATION` | Specific MicroCenter location(s) to search | Comma separated, e.g.: `marietta,duluth`, default: `web` |
|
||||||
|
| `NVIDIA_ADD_TO_CART_ATTEMPTS` | The maximum number of times the `nvidia-api` add to cart feature will be attempted before failing | Default: `10` |
|
||||||
|
| `NVIDIA_SESSION_TTL` | The time in milliseconds to keep the cart active while using `nvidia-api` | Default: `60000` |
|
||||||
|
| `SHOW_ONLY_BRANDS` | Filter to show specified brands | Comma separated, e.g.: `evga,zotac` |
|
||||||
|
| `SHOW_ONLY_MODELS` | Filter to show specified models | Both supported formats are comma separated <br/><br/>1. Standard E.g.: `founders edition,rog strix` <br/><br/> 2. Advanced E.g: `MODEL:SERIES`, E.g: `founders edition:3090,rog strix` |
|
||||||
|
| `SHOW_ONLY_SERIES` | Filter to show specified series | Comma separated, e.g.: `3080,ryzen5900` |
|
||||||
|
| `STORES` | [Supported stores](#supported-stores) you want to be scraped | Both supported formats are comma separated <br/><br/>1. Standard E.g.: `"nvidia"` <br/><br/> 2. Advanced E.g: `STORE:PAGE_SLEEP_MIN:PAGE_SLEEP_MAX`, E.g: `nvidia:10000:30000` <br/><br/>Default: `nvidia` |
|
||||||
|
|
||||||
|
## Supported stores
|
||||||
|
|
||||||
|
Used with the `STORES` variable.
|
||||||
|
|
||||||
|
| Stores | Country | Environment variable |
|
||||||
|
|---|---|---|
|
||||||
|
| Adorama | US | `adorama`|
|
||||||
|
| Alternate | DE | `alternate`|
|
||||||
|
| Alternate | NL | `alternate-nl`|
|
||||||
|
| Amazon | US | `amazon`|
|
||||||
|
| Amazon | CA | `amazon-ca`|
|
||||||
|
| Amazon | DE | `amazon-de`|
|
||||||
|
| Amazon Warehouse | DE | `amazon-de-warehouse`|
|
||||||
|
| Amazon | ES | `amazon-es`|
|
||||||
|
| Amazon | FR | `amazon-fr`|
|
||||||
|
| Amazon | IT | `amazon-it`|
|
||||||
|
| Amazon | NL | `amazon-nl`|
|
||||||
|
| Amazon | UK | `amazon-uk`|
|
||||||
|
| AMD | US | `amd`|
|
||||||
|
| AMD | CA | `amd-ca`|
|
||||||
|
| AMD | DE | `amd-de`|
|
||||||
|
| AMD | IT | `amd-it`|
|
||||||
|
| AntOnline | US | `antonline`|
|
||||||
|
| Argos | UK | `argos`|
|
||||||
|
| Argos | IE | `argos-ie`|
|
||||||
|
| Aria PC | UK | `aria`|
|
||||||
|
| ARLT | DE | `arlt`|
|
||||||
|
| ASUS | US | `asus` |
|
||||||
|
| ASUS | DE | `asus-de` |
|
||||||
|
| Azerty | NL | `azerty`|
|
||||||
|
| B&H | US | `bandh`|
|
||||||
|
| Best Buy | US | `bestbuy`|
|
||||||
|
| Best Buy | CA | `bestbuy-ca`|
|
||||||
|
| Box | UK | `box`|
|
||||||
|
| BPCTech | AU | `bpctech`|
|
||||||
|
| CanadaComputers | CA | `canadacomputers` |
|
||||||
|
| Caseking | DE | `caseking`|
|
||||||
|
| CCL | UK | `ccl`|
|
||||||
|
| Centrecom | AU | `centrecom`|
|
||||||
|
| Comet | IT | `comet`|
|
||||||
|
| Computeruniverse | DE | `computeruniverse` |
|
||||||
|
| Coolblue | NL | `coolblue`|
|
||||||
|
| Coolmod | ES | `coolmod`|
|
||||||
|
| Corsair | US | `corsair`|
|
||||||
|
| CPL | AU | `cpl`|
|
||||||
|
| Currys | UK | `currys`|
|
||||||
|
| Cyberport | DE | `cyberport` |
|
||||||
|
| EBGames | CA | `ebgames`|
|
||||||
|
| eBuyer | UK | `ebuyer`|
|
||||||
|
| El Corte Inglés | ES | `elcorteingles`|
|
||||||
|
| ePrice | IT | `eprice`|
|
||||||
|
| Euronics | IT | `euronics`|
|
||||||
|
| Euronics | DE | `euronics-de`|
|
||||||
|
| EVGA | US | `evga`|
|
||||||
|
| EVGA | EU | `evga-eu`|
|
||||||
|
| Expert | DE | `expert`|
|
||||||
|
| Galaxus | DE | `galaxus`|
|
||||||
|
| Game | UK | `game`|
|
||||||
|
| Gamestop | US | `gamestop`|
|
||||||
|
| Gamestop | DE | `gamestop-de`|
|
||||||
|
| Gamestop | IE | `gamestop-ie`|
|
||||||
|
| Harvey Normans | IE | | `harveynorman-ie` |
|
||||||
|
| Kabum | BR | `kabum`|
|
||||||
|
| Mediamarkt | DE | `mediamarkt`|
|
||||||
|
| Medimax | DE | `medimax`|
|
||||||
|
| Megekko | NL | `megekko`|
|
||||||
|
| MemoryExpress | CA | `memoryexpress`|
|
||||||
|
| Micro Center | US | `microcenter`|
|
||||||
|
| Mindfactory | DE | `mindfactory` |
|
||||||
|
| Mwave | AU | `mwave`|
|
||||||
|
| Newegg | US | `newegg`|
|
||||||
|
| Newegg | CA | `newegg-ca`|
|
||||||
|
| Notebooksbilliger | DE |`notebooksbilliger`|
|
||||||
|
| Novatech | UK | `novatech`|
|
||||||
|
| Nvidia | US | `nvidia`|
|
||||||
|
| Nvidia API | | `nvidia-api`|
|
||||||
|
| Office Depot | US | `officedepot`|
|
||||||
|
| Otto | DE | `otto`|
|
||||||
|
| Overclockers | UK | `overclockers`|
|
||||||
|
| PCCG | AU | `pccg`|
|
||||||
|
| PCComponentes | ES | `pccomponentes`|
|
||||||
|
| PlayStation | US | `playstation`|
|
||||||
|
| PNY | US | `pny`|
|
||||||
|
| Proshop | DE | `proshop-de`|
|
||||||
|
| Proshop | DK | `proshop-dk`|
|
||||||
|
| Saturn | DE | `saturn`|
|
||||||
|
| Scan | UK | `scan`|
|
||||||
|
| Scorptec | AU | `scorptec`|
|
||||||
|
| Smyths Toys | UK | `smythstoys`|
|
||||||
|
| Smyths Toys | IE | `smythstoys-ie`|
|
||||||
|
| Spielegrotte | DE | `spielegrotte`|
|
||||||
|
| Target | US | `target`|
|
||||||
|
| Tesco | IE | `tesco-ie`|
|
||||||
|
| Toys R Us | US | `toysrus` |
|
||||||
|
| Umart | AU | `umart`|
|
||||||
|
| Unieuro | IT | `unieuro`|
|
||||||
|
| Very | UK | `very`|
|
||||||
|
| Walmart | US | `walmart`|
|
||||||
|
| Walmart | CA | `walmart-ca`|
|
||||||
|
| Wipoid | ES | `wipoid`|
|
||||||
|
| Zotac | US | `zotac`|
|
||||||
|
| TopAchat | GR | `topachat`|
|
||||||
|
|
||||||
|
### Micro Center stores
|
||||||
|
|
||||||
|
Used with the `MICROCENTER_LOCATION` variable.
|
||||||
|
|
||||||
|
???+ note
|
||||||
|
Before using `web`, please review [this issue comment](https://github.com/jef/streetmerchant/issues/442#issuecomment-703297393).
|
||||||
|
|
||||||
|
| | | | |
|
||||||
|
|---|---|---|---|
|
||||||
|
| `brooklyn` | `brentwood` | `cambridge` | `chicago` |
|
||||||
|
| `columbus` | `dallas` | `denver` | `duluth` |
|
||||||
|
| `fairfax` | `flushing` | `houston` | `madison-heights` |
|
||||||
|
| `marietta` | `mayfield-heights` | `north-jersey` | `overland-park` |
|
||||||
|
| `parkville` | `rockville` | `sharonville` | `st-davids` |
|
||||||
|
| `st-louis-park` | `tustin` | `westbury` | `westmont` |
|
||||||
|
| `yonkers` |
|
||||||
|
|
||||||
|
## Supported brands and models
|
||||||
|
|
||||||
|
Used with the `SHOW_ONLY_BRANDS` and `SHOW_ONLY_MODELS` variables.
|
||||||
|
|
||||||
|
| Brand | Model |
|
||||||
|
|:---:|---|
|
||||||
|
| `amd` | `5600x`, `5800x`, `5900x`, `5950x`, `amd reference` |
|
||||||
|
| `asus` | `crosshair viii`, `dual`, `dual oc`, `strix`, `strix oc`, `tuf`, `tuf oc` |
|
||||||
|
| `corsair` | `750 platinum`, `600 platinum` |
|
||||||
|
| `colorful` | `igame advanced oc`, `igame vulcan oc` |
|
||||||
|
| `evga` | `ftw3`, `ftw3 ultra`, `ftw3 ultra hydro copper`, `xc3`, `xc3 black`, `xc3 ultra` |
|
||||||
|
| `gainward` | `phantom gs`, `phoenix`, `phoenix gs`, `phoenix gs oc` |
|
||||||
|
| `gigabyte` | `aorus master`, `aorus xtreme`, `aorus xtreme waterforce`, `aorus xtreme waterforce wb`, `eagle`, `eagle oc`, `gaming`, `gaming oc`, `turbo`, `vision`, `vision oc` |
|
||||||
|
| `galax` | `sg`, `sg oc` |
|
||||||
|
| `inno3d` | `gaming x3`, `ichill x3`, `ichill x4`, `ichill frostbite`, `twin x2 oc` |
|
||||||
|
| `kfa2` | `sg`, `sg oc` |
|
||||||
|
| `leadtek` | `hurricane` |
|
||||||
|
| `microsoft` | `xbox series x`, `xbox series s` |
|
||||||
|
| `msi` | `gaming x trio`, `suprim x`, `ventus 2x oc`, `ventus 3x`, `ventus 3x oc` |
|
||||||
|
| `nvidia` | `founders edition` |
|
||||||
|
| `palit` | `gamerock oc`, `gaming pro`, `gaming pro oc` |
|
||||||
|
| `pny` | `dual fan`, `xlr8 revel`, `xlr8 uprising` |
|
||||||
|
| `sony` | `ps5 console`, `ps5 digital` |
|
||||||
|
| `xfx` | `merc`, `amd reference` |
|
||||||
|
| `zotac` | `amp holo`, `amp extreme holo`, `trinity`, `trinity oc`, `twin edge`, `twin edge oc` |
|
||||||
|
|
||||||
|
## Supported series
|
||||||
|
|
||||||
|
Used with the `SHOW_ONLY_SERIES` variable.
|
||||||
|
|
||||||
|
| Series | Value |
|
||||||
|
|:---:|:---:|
|
||||||
|
| AMD Ryzen 5600x | `ryzen5600` |
|
||||||
|
| AMD Ryzen 5800x | `ryzen5800` |
|
||||||
|
| AMD Ryzen 5900x | `ryzen5900` |
|
||||||
|
| AMD Ryzen 5950x | `ryzen5950` |
|
||||||
|
| AMD RX 6800 | `rx6800` |
|
||||||
|
| AMD RX 6800XT | `rx6800xt` |
|
||||||
|
| AMD RX 6900XT | `rx6900xt` |
|
||||||
|
| Nvidia RTX 3060 Ti | `3060ti` |
|
||||||
|
| Nvidia RTX 3070 | `3070` |
|
||||||
|
| Nvidia RTX 3080 | `3080` |
|
||||||
|
| Nvidia RTX 3090 | `3090` |
|
||||||
|
| Corsair SFX PSU | `sf` |
|
||||||
|
| Crosshair VIII | `darkhero` |
|
||||||
|
| Sony PS5 | `sonyps5c` |
|
||||||
|
| Sony PS5 Digital Edition | `sonyps5de` |
|
||||||
|
| Xbox Series S | `xboxss` |
|
||||||
|
| Xbox Series X | `xboxsx` |
|
||||||
|
|
||||||
|
## Supported countries
|
||||||
|
|
||||||
|
Used with the `COUNTRY` variable.
|
||||||
|
|
||||||
|
???+ attention
|
||||||
|
Used _only_ with `nvidia` and `nvidia-api`.
|
||||||
|
|
||||||
|
| Country | 3080 FE | 3090 FE | Test Card | Notes |
|
||||||
|
|:---:|:---:|:---:|:---:|:---:|
|
||||||
|
| `austria` | `✔` | `✔` | `✔` | |
|
||||||
|
| `belgium` | `✔` | `✔` | `✔` | |
|
||||||
|
| `canada` | `✔` | `✔` | `✔` | |
|
||||||
|
| `czechia` | `✔` | `✔` | `✔` | |
|
||||||
|
| `denmark` | `✔` | | `✔` | Missing RTX 3090 |
|
||||||
|
| `finland` | `✔` | | `✔` | Missing RTX 3090 |
|
||||||
|
| `france` | `✔` | `✔` | `✔` | |
|
||||||
|
| `germany` | `✔` | `✔` | `✔` | |
|
||||||
|
| `great_britain` | `✔` | `✔` | `✔` | |
|
||||||
|
| `ireland` | `✔` | `✔` | `✔` | |
|
||||||
|
| `italy` | `✔` | `✔` | `✔` | |
|
||||||
|
| `luxembourg` | `✔` | `✔` | `✔` | |
|
||||||
|
| `netherlands` | `✔` | `✔` | `✔` | |
|
||||||
|
| `norway` | `✔` | `✔` | `✔` | |
|
||||||
|
| `poland` | `✔` | `✔` | `✔` | |
|
||||||
|
| `portugal` | `✔` | | | RTX 3080 only |
|
||||||
|
| `spain` | `✔` | `✔` | `✔` | |
|
||||||
|
| `sweden` | `✔` | `✔` | `✔` | |
|
||||||
|
| `usa` | `✔` | `✔` | `✔` | |
|
||||||
@@ -0,0 +1,193 @@
|
|||||||
|
# Notification
|
||||||
|
|
||||||
|
You can test your notification configuration by running `npm run test:notification`.
|
||||||
|
|
||||||
|
## Desktop
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|---|---|
|
||||||
|
| `DESKTOP_NOTIFICATIONS` | Display desktop notifications using [node-notifier](https://www.npmjs.com/package/node-notifier). |
|
||||||
|
| `PLAY_SOUND` | Play this sound notification if a product is found. Relative path accepted, valid formats: wav, mp3, flac, E.g.: `path/to/notification.wav`, [free sounds available](https://notificationsounds.com/) |
|
||||||
|
| `SOUND_PLAYER` | Override the default sound player using the specified executable. |
|
||||||
|
|
||||||
|
???+ attention
|
||||||
|
If you're on Windows, you must have the proper library to run.
|
||||||
|
|
||||||
|
## Discord
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `DISCORD_NOTIFY_GROUP` | Discord group you would like to notify |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_3060TI` | Discord group to notify on 3060 Ti stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_3070` | Discord group to notify on 3070 stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_3080` | Discord group to notify on 3080 stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_3090` | Discord group to notify on 3090 stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_RYZEN5600` | Discord group to notify on 5600X stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_RYZEN5800` | Discord group to notify on 5800X stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_RYZEN5900` | Discord group to notify on 5900X stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_RYZEN5950` | Discord group to notify on 5950X stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_DARKHERO` | Discord group to notify on Dark Hero stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_CORSAIR_SF` | Discord group to notify on Corsair SF stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_SONYPS5C` | Discord group to notify on Sony PS5 stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_SONYPS5DE` | Discord group to notify on Sony PS5 Digital stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_XBOXSX` | Discord group to notify on Xbox Series X stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_XBOXSS` | Discord group to notify on Xbox Series S stock |
|
||||||
|
| `DISCORD_NOTIFY_GROUP_TEST` | Discord group to notify on test stock |
|
||||||
|
| `DISCORD_WEB_HOOK` | Discord Web Hook URL. Can be comma separated. Use whole webhook URL |
|
||||||
|
|
||||||
|
???+ note
|
||||||
|
All ground can be comma separated. `DISCORD_NOTIFY_GROUP` is always used if set.
|
||||||
|
|
||||||
|
- If you're using a role, please use `<@&2834729847239842>`
|
||||||
|
- If you're using a user, please use `<@2834729847239842>`
|
||||||
|
|
||||||
|
## Email and SMS
|
||||||
|
|
||||||
|
Default provider is Gmail. If you use a different email provider, you must provide SMTP settings.
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `EMAIL_PASSWORD` | Email password. (See below for Gmail MFA users) |
|
||||||
|
| `EMAIL_TO` | Destination Email. Defaults to username if not set. Can be comma separated |
|
||||||
|
| `EMAIL_USERNAME` | Email address |
|
||||||
|
| `PHONE_CARRIER` | [Supported carriers](#supported-carriers) for SMS. E.g.: `att` or `att,verizon,google`, email configuration required. If multiple phone numbers are listed, enter a carrier for each phone number |
|
||||||
|
| `PHONE_NUMBER` | 10 digit phone number(s). E.g.: `1234567890` or `1234567890,0987654321,11112223333`, email configuration required |
|
||||||
|
| `SMTP_ADDRESS` | IP Address or FQDN of SMTP server |
|
||||||
|
| `SMTP_PORT` | TCP Port number on which the smtp server is listening for connections. Default: `25` |
|
||||||
|
|
||||||
|
???+ attention
|
||||||
|
If you use Gmail and have multi-factor authentication (MFA), you will need to create an [app password](https://myaccount.google.com/apppasswords) and use this instead of your Gmail password.
|
||||||
|
|
||||||
|
### Supported carriers
|
||||||
|
|
||||||
|
| Carrier | Environment variable |
|
||||||
|
|:---:|:---:|
|
||||||
|
| AT&T | `att` |
|
||||||
|
| AT&T Prepaid | `attgo` |
|
||||||
|
| Bell | `bell` |
|
||||||
|
| Fido | `fido` |
|
||||||
|
| Google | `google`|
|
||||||
|
| Koodo | `koodo` |
|
||||||
|
| Mint | `mint`|
|
||||||
|
| Rogers | `rogers` |
|
||||||
|
| Sprint | `sprint`|
|
||||||
|
| Telus | `telus`|
|
||||||
|
| T-Mobile | `tmobile`|
|
||||||
|
| Verizon | `verizon`|
|
||||||
|
| Virgin | `virgin`|
|
||||||
|
| Virgin (CA) | `virgin-ca`|
|
||||||
|
| Visible | `visible`|
|
||||||
|
|
||||||
|
## MQTT
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `MQTT_BROKER_ADDRESS` | IP address or URL of MQTT Broker, e.g.: `192.168.1.xxx` or `broker.hivemq.com` |
|
||||||
|
| `MQTT_BROKER_PORT` | Network port of MQTT Broker. Default: `1883` |
|
||||||
|
| `MQTT_CLIENT_ID` | Unique Client ID (only if required by MQTT Broker), typically not required when only publishing alerts |
|
||||||
|
| `MQTT_PASSWORD` | MQTT password - only use with MQTT brokers on private networks, if required. Will not be sent over public networks for safety |
|
||||||
|
| `MQTT_QOS` | QoS level for published alerts to broker (https://www.npmjs.com/package/mqtt#about-qos). Default: `0`, Can be `0`, `1`, or `2` |
|
||||||
|
| `MQTT_TOPIC` | Topic to publish alerts to. Can include `%store%`, `%series%`, `%brand%`, `%model%` for dynamic topics. Default: `streetmerchant/alert`. E.g.: `nv-alert/%store%/%series%/%brand%/%model%/alert` |
|
||||||
|
| `MQTT_USERNAME` | MQTT username - (only if required by MQTT Broker) |
|
||||||
|
|
||||||
|
## PagerDuty
|
||||||
|
|
||||||
|
Obtained in PagerDuty - <Service you want to use> - Integrations
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `PAGERDUTY_INTEGRATION_KEY` | PagerDuty Events API v2 Integration Key. |
|
||||||
|
| `PAGERDUTY_SEVERITY` | Severity of PagerDuty events |
|
||||||
|
|
||||||
|
## Philips Hue
|
||||||
|
|
||||||
|
Generate required keys using [instructions](https://developers.meethue.com/develop/get-started-2/). This will be used for both LAN and cloud access over the official Remote Hue API.
|
||||||
|
|
||||||
|
For cloud only usage, instructions to generate are located [here](https://developers.meethue.com/develop/hue-api/remote-authentication/).
|
||||||
|
|
||||||
|
> :point_right: Here's a [video demonstration](https://vimeo.com/476083242).
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `PHILIPS_HUE_API_KEY` | Hue Bridge API Key |
|
||||||
|
| `PHILIPS_HUE_LAN_BRIDGE_IP` | LAN IP Address of your Hue Bridge. LAN only, e.g. `192.168.x.x` |
|
||||||
|
| `PHILIPS_HUE_LIGHT_IDS` | Light IDs. All lights if not supplied. Can be comma separated, e.g.: `1,2`. See Hue App -> About for IDs |
|
||||||
|
| `PHILIPS_HUE_LIGHT_COLOR` | Color in RGB Format. Nvidia green if not supplied. Can be comma separated, e.g.: `255,255,255` |
|
||||||
|
| `PHILIPS_HUE_LIGHT_PATTERN` | Lights will flash for 30 seconds if `blink` is given |
|
||||||
|
| `PHILIPS_HUE_CLOUD_ACCESS_TOKEN` | Cloud Access Token. Cloud only |
|
||||||
|
| `PHILIPS_HUE_CLOUD_REFRESH_TOKEN` | Cloud Refresh Token. Cloud only |
|
||||||
|
| `PHILIPS_HUE_CLOUD_CLIENT_ID` | Cloud Client ID. Cloud only |
|
||||||
|
| `PHILIPS_HUE_CLOUD_CLIENT_SECRET` | Cloud Client Secret. Cloud only |
|
||||||
|
|
||||||
|
## Pushbullet
|
||||||
|
|
||||||
|
Generate token at https://www.pushbullet.com/#settings/account.
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `PUSHBULLET` | API key |
|
||||||
|
|
||||||
|
## Pushover
|
||||||
|
|
||||||
|
Generate token at https://pushover.net/apps/build.
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `PUSHOVER_EXPIRE` | How many seconds your notification will continue to be retried for (every `PUSHOVER_RETRY` seconds) |
|
||||||
|
| `PUSHOVER_RETRY` | How often (in seconds) the Pushover servers will send the same notification to the user |
|
||||||
|
| `PUSHOVER_PRIORITY` | Message priority |
|
||||||
|
| `PUSHOVER_TOKEN` | API token |
|
||||||
|
| `PUSHOVER_USER` | Username |
|
||||||
|
|
||||||
|
???+ note
|
||||||
|
`PUSHOVER_EXPIRE` and `PUSHOVER_RETRY` are only used when `PUSHOVER_PRIORITY="2"`
|
||||||
|
|
||||||
|
## Slack
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `SLACK_CHANNEL` | Channel for posting |
|
||||||
|
| `SLACK_TOKEN` | API token |
|
||||||
|
|
||||||
|
## Telegram
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `TELEGRAM_ACCESS_TOKEN` | Access token |
|
||||||
|
| `TELEGRAM_CHAT_ID` | Chat ID. Can be comma separated, e.g.: `123456789,987654321` |
|
||||||
|
|
||||||
|
## Twilio
|
||||||
|
|
||||||
|
Token generation can be found at https://twilio.com/console.
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `TWILIO_ACCOUNT_SID` | Account SID |
|
||||||
|
| `TWILIO_AUTH_TOKEN` | Auth Token |
|
||||||
|
| `TWILIO_FROM_NUMBER` | Provided phone number to send messages from |
|
||||||
|
| `TWILIO_TO_NUMBER` | Mobile number to send SMS to |
|
||||||
|
|
||||||
|
???+ note
|
||||||
|
Include country codes in phone numbers. Example: `+4401234567890`
|
||||||
|
|
||||||
|
## Twitter
|
||||||
|
|
||||||
|
Generate all Twitter keys at: https://developer.twitter.com/
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `TWITTER_ACCESS_TOKEN_KEY` | Twitter Token Key |
|
||||||
|
| `TWITTER_ACCESS_TOKEN_SECRET` | Twitter Token Secret |
|
||||||
|
| `TWITTER_CONSUMER_KEY` | Twitter Consumer Key |
|
||||||
|
| `TWITTER_CONSUMER_SECRET` | Twitter Consumer Secret |
|
||||||
|
| `TWITTER_TWEET_TAGS` | List of hashtags to append to the tweet message, e.g.: `#nvidia #nvidiastock` |
|
||||||
|
|
||||||
|
## Twitch
|
||||||
|
|
||||||
|
| Environment variable | Description |
|
||||||
|
|:---:|---|
|
||||||
|
| `TWITCH_CLIENT_ID` | Twitch client ID |
|
||||||
|
| `TWITCH_CLIENT_SECRET`| Twitch client secret |
|
||||||
|
| `TWITCH_ACCESS_TOKEN` | Twitch access token |
|
||||||
|
| `TWITCH_REFRESH_TOKEN` | Twitch refresh token |
|
||||||
|
| `TWITCH_CHANNEL` | Twitch channel |
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
# ** All configuration variables are optional **
|
# ** All configuration variables are optional **
|
||||||
# Read https://github.com/jef/streetmerchant#customization for help on customizing this file
|
# Copy this file and name it as `dotenv` (without backticks)
|
||||||
#############################################################################################
|
# Read https://jef.codes/streetmerchant/getting-started/#customization for help on customizing this file
|
||||||
|
########################################################################################################
|
||||||
|
|
||||||
ASCII_BANNER=
|
ASCII_BANNER=
|
||||||
ASCII_COLOR=
|
ASCII_COLOR=
|
||||||
@@ -9,6 +10,23 @@ BROWSER_TRUSTED=
|
|||||||
COUNTRY=
|
COUNTRY=
|
||||||
DESKTOP_NOTIFICATIONS=
|
DESKTOP_NOTIFICATIONS=
|
||||||
DISCORD_NOTIFY_GROUP=
|
DISCORD_NOTIFY_GROUP=
|
||||||
|
DISCORD_NOTIFY_GROUP_3060TI=
|
||||||
|
DISCORD_NOTIFY_GROUP_3070=
|
||||||
|
DISCORD_NOTIFY_GROUP_3080=
|
||||||
|
DISCORD_NOTIFY_GROUP_3090=
|
||||||
|
DISCORD_NOTIFY_GROUP_CORSAIR_SF=
|
||||||
|
DISCORD_NOTIFY_GROUP_RX6800=
|
||||||
|
DISCORD_NOTIFY_GROUP_RX6800XT=
|
||||||
|
DISCORD_NOTIFY_GROUP_RX6900XT=
|
||||||
|
DISCORD_NOTIFY_GROUP_RYZEN5600=
|
||||||
|
DISCORD_NOTIFY_GROUP_RYZEN5800=
|
||||||
|
DISCORD_NOTIFY_GROUP_RYZEN5900=
|
||||||
|
DISCORD_NOTIFY_GROUP_RYZEN5950=
|
||||||
|
DISCORD_NOTIFY_GROUP_SONYPS5C=
|
||||||
|
DISCORD_NOTIFY_GROUP_SONYPS5DE=
|
||||||
|
DISCORD_NOTIFY_GROUP_XBOXSX=
|
||||||
|
DISCORD_NOTIFY_GROUP_XBOXSS=
|
||||||
|
DISCORD_NOTIFY_GROUP_TEST=
|
||||||
DISCORD_WEB_HOOK=
|
DISCORD_WEB_HOOK=
|
||||||
EMAIL_PASSWORD=
|
EMAIL_PASSWORD=
|
||||||
EMAIL_TO=
|
EMAIL_TO=
|
||||||
@@ -17,13 +35,21 @@ HEADLESS=
|
|||||||
IN_STOCK_WAIT_TIME=
|
IN_STOCK_WAIT_TIME=
|
||||||
LOG_LEVEL=
|
LOG_LEVEL=
|
||||||
LOW_BANDWIDTH=
|
LOW_BANDWIDTH=
|
||||||
|
MAX_PRICE_SERIES_3060TI=
|
||||||
MAX_PRICE_SERIES_3070=
|
MAX_PRICE_SERIES_3070=
|
||||||
MAX_PRICE_SERIES_3080=
|
MAX_PRICE_SERIES_3080=
|
||||||
MAX_PRICE_SERIES_3090=
|
MAX_PRICE_SERIES_3090=
|
||||||
|
MAX_PRICE_SERIES_CORSAIR_SF=
|
||||||
|
MAX_PRICE_SERIES_RX6800=
|
||||||
|
MAX_PRICE_SERIES_RX6800XT=
|
||||||
|
MAX_PRICE_SERIES_RX6900XT=
|
||||||
MAX_PRICE_SERIES_RYZEN5600=
|
MAX_PRICE_SERIES_RYZEN5600=
|
||||||
MAX_PRICE_SERIES_RYZEN5800=
|
MAX_PRICE_SERIES_RYZEN5800=
|
||||||
MAX_PRICE_SERIES_RYZEN5900=
|
MAX_PRICE_SERIES_RYZEN5900=
|
||||||
MAX_PRICE_SERIES_RYZEN5950=
|
MAX_PRICE_SERIES_RYZEN5950=
|
||||||
|
MAX_PRICE_SERIES_SONYPS5C=
|
||||||
|
MAX_PRICE_SERIES_SONYPS5DE=
|
||||||
|
MAX_PRICE_SERIES_TEST=
|
||||||
MICROCENTER_LOCATION=
|
MICROCENTER_LOCATION=
|
||||||
MQTT_BROKER_ADDRESS=
|
MQTT_BROKER_ADDRESS=
|
||||||
MQTT_BROKER_PORT=
|
MQTT_BROKER_PORT=
|
||||||
@@ -55,8 +81,11 @@ PHONE_CARRIER=
|
|||||||
PHONE_NUMBER=
|
PHONE_NUMBER=
|
||||||
PLAY_SOUND=
|
PLAY_SOUND=
|
||||||
PROXY_ADDRESS=
|
PROXY_ADDRESS=
|
||||||
|
PROXY_PROTOCOL=
|
||||||
PROXY_PORT=
|
PROXY_PORT=
|
||||||
PUSHBULLET=
|
PUSHBULLET=
|
||||||
|
PUSHOVER_EXPIRE=
|
||||||
|
PUSHOVER_RETRY=
|
||||||
PUSHOVER_TOKEN=
|
PUSHOVER_TOKEN=
|
||||||
PUSHOVER_USER=
|
PUSHOVER_USER=
|
||||||
PUSHOVER_PRIORITY=
|
PUSHOVER_PRIORITY=
|
||||||
@@ -85,5 +114,4 @@ TWITTER_ACCESS_TOKEN_SECRET=
|
|||||||
TWITTER_CONSUMER_KEY=
|
TWITTER_CONSUMER_KEY=
|
||||||
TWITTER_CONSUMER_SECRET=
|
TWITTER_CONSUMER_SECRET=
|
||||||
TWITTER_TWEET_TAGS=
|
TWITTER_TWEET_TAGS=
|
||||||
USER_AGENT=
|
|
||||||
WEB_PORT=
|
WEB_PORT=
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 358 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 865 KiB |
+91
@@ -0,0 +1,91 @@
|
|||||||
|
# Project information
|
||||||
|
site_name: streetmerchant
|
||||||
|
site_url: https://jef.codes/streetmerchant
|
||||||
|
site_author: Jef LeCompte
|
||||||
|
site_description: The world's easiest, most powerful stock checker
|
||||||
|
|
||||||
|
# Repository
|
||||||
|
repo_name: jef/streetmerchant
|
||||||
|
repo_url: https://github.com/jef/streetmerchant
|
||||||
|
|
||||||
|
# Copyright
|
||||||
|
copyright: Copyright © 2016 - 2020 Jef LeCompte
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
theme:
|
||||||
|
favicon: https://raw.githubusercontent.com/jef/streetmerchant/main/docs/assets/images/streetmerchant-logo.png
|
||||||
|
features:
|
||||||
|
- search.suggest
|
||||||
|
font:
|
||||||
|
text: Noto Sans
|
||||||
|
code: JetBrains Mono
|
||||||
|
icon:
|
||||||
|
repo: octicons/octoface-24
|
||||||
|
logo: assets/images/streetmerchant-logo.png
|
||||||
|
language: en
|
||||||
|
name: material
|
||||||
|
palette:
|
||||||
|
scheme: default
|
||||||
|
primary: indigo
|
||||||
|
accent: indigo
|
||||||
|
|
||||||
|
# Plugins
|
||||||
|
plugins:
|
||||||
|
- git-revision-date
|
||||||
|
- macros
|
||||||
|
- search
|
||||||
|
|
||||||
|
# Customization
|
||||||
|
extra:
|
||||||
|
social:
|
||||||
|
- icon: fontawesome/brands/github
|
||||||
|
link: https://github.com/jef
|
||||||
|
- icon: fontawesome/brands/twitter
|
||||||
|
link: https://twitter.com/hijxf
|
||||||
|
- icon: fontawesome/brands/linkedin
|
||||||
|
link: https://www.linkedin.com/in/jeflecompte/
|
||||||
|
|
||||||
|
extra_javascript:
|
||||||
|
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js
|
||||||
|
- javascripts/tables.js
|
||||||
|
|
||||||
|
# Extensions
|
||||||
|
markdown_extensions:
|
||||||
|
- admonition
|
||||||
|
- attr_list
|
||||||
|
- footnotes
|
||||||
|
- meta
|
||||||
|
- toc:
|
||||||
|
permalink: true
|
||||||
|
- pymdownx.caret
|
||||||
|
- pymdownx.critic
|
||||||
|
- pymdownx.details
|
||||||
|
- pymdownx.emoji:
|
||||||
|
emoji_index: !!python/name:materialx.emoji.twemoji
|
||||||
|
emoji_generator: !!python/name:materialx.emoji.to_svg
|
||||||
|
- pymdownx.highlight:
|
||||||
|
linenums: true
|
||||||
|
- pymdownx.inlinehilite
|
||||||
|
- pymdownx.keys
|
||||||
|
- pymdownx.mark
|
||||||
|
- pymdownx.smartsymbols
|
||||||
|
- pymdownx.superfences
|
||||||
|
- pymdownx.tabbed
|
||||||
|
- pymdownx.tasklist:
|
||||||
|
custom_checkbox: true
|
||||||
|
- pymdownx.tilde
|
||||||
|
|
||||||
|
# Page tree
|
||||||
|
nav:
|
||||||
|
- Home: index.md
|
||||||
|
- Getting started: getting-started.md
|
||||||
|
- Reference:
|
||||||
|
- Application: reference/application.md
|
||||||
|
- Filter: reference/filter.md
|
||||||
|
- Notification: reference/notification.md
|
||||||
|
- Help:
|
||||||
|
- General: help/general.md
|
||||||
|
- Troubleshoot: help/troubleshoot.md
|
||||||
|
- FAQ: faq.md
|
||||||
|
- Changelog: changelog.md
|
||||||
|
- About: about.md
|
||||||
+1
-1
@@ -3,6 +3,6 @@
|
|||||||
"ext": "ts",
|
"ext": "ts",
|
||||||
"watch": [
|
"watch": [
|
||||||
"src/",
|
"src/",
|
||||||
".env"
|
"dotenv"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+1736
-1192
File diff suppressed because it is too large
Load Diff
+24
-25
@@ -26,60 +26,59 @@
|
|||||||
"homepage": "https://github.com/jef/streetmerchant#readme",
|
"homepage": "https://github.com/jef/streetmerchant#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@jef/pushbullet": "^2.4.3",
|
"@jef/pushbullet": "^2.4.3",
|
||||||
"@slack/web-api": "^5.13.0",
|
"@slack/web-api": "^5.14.0",
|
||||||
|
"@types/random-useragent": "^0.3.0",
|
||||||
"chalk": "^4.1.0",
|
"chalk": "^4.1.0",
|
||||||
"cheerio": "^1.0.0-rc.3",
|
"cheerio": "^1.0.0-rc.3",
|
||||||
"discord-webhook-node": "^1.1.8",
|
"discord.js": "^12.5.1",
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"messaging-api-telegram": "^1.0.1",
|
"messaging-api-telegram": "^1.0.1",
|
||||||
"mqtt": "^4.2.4",
|
"mqtt": "^4.2.6",
|
||||||
"node-fetch": "^2.6.1",
|
"node-fetch": "^2.6.1",
|
||||||
"node-hue-api": "^4.0.9",
|
"node-hue-api": "^4.0.9",
|
||||||
"node-notifier": "^8.0.0",
|
"node-notifier": "^8.0.0",
|
||||||
"node-pagerduty": "^1.3.5",
|
"node-pagerduty": "^1.3.6",
|
||||||
"nodemailer": "^6.4.15",
|
"nodemailer": "^6.4.16",
|
||||||
"open": "^7.3.0",
|
"open": "^7.3.0",
|
||||||
"play-sound": "^1.1.3",
|
"play-sound": "^1.1.3",
|
||||||
"puppeteer": "^5.4.1",
|
"puppeteer": "^5.5.0",
|
||||||
"puppeteer-extra": "^3.1.15",
|
"puppeteer-extra": "^3.1.15",
|
||||||
"puppeteer-extra-plugin-adblocker": "^2.11.8",
|
"puppeteer-extra-plugin-adblocker": "^2.11.9",
|
||||||
"puppeteer-extra-plugin-block-resources": "^2.2.7",
|
"puppeteer-extra-plugin-block-resources": "^2.2.7",
|
||||||
"puppeteer-extra-plugin-stealth": "^2.6.5",
|
"puppeteer-extra-plugin-stealth": "^2.6.5",
|
||||||
|
"puppeteer-page-proxy": "^1.2.8",
|
||||||
"pushover-notifications": "^1.2.2",
|
"pushover-notifications": "^1.2.2",
|
||||||
"twilio": "^3.51.0",
|
"random-useragent": "^0.5.0",
|
||||||
"twitch": "^4.2.7",
|
"twilio": "^3.54.0",
|
||||||
"twitch-auth": "^4.2.7",
|
"twitch": "^4.3.5",
|
||||||
"twitch-chat-client": "^4.2.7",
|
"twitch-auth": "^4.3.5",
|
||||||
|
"twitch-chat-client": "^4.3.6",
|
||||||
"twitter": "^1.7.1",
|
"twitter": "^1.7.1",
|
||||||
"winston": "^3.3.3"
|
"winston": "^3.3.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/async": "^3.2.3",
|
"@types/async": "^3.2.5",
|
||||||
"@types/cheerio": "^0.22.22",
|
"@types/cheerio": "^0.22.23",
|
||||||
"@types/node": "^14.14.7",
|
"@types/node": "^14.14.12",
|
||||||
"@types/node-fetch": "^2.5.7",
|
"@types/node-fetch": "^2.5.7",
|
||||||
"@types/node-notifier": "^8.0.0",
|
"@types/node-notifier": "^8.0.0",
|
||||||
"@types/nodemailer": "^6.4.0",
|
"@types/nodemailer": "^6.4.0",
|
||||||
"@types/puppeteer": "^5.4.0",
|
"@types/puppeteer": "^5.4.2",
|
||||||
"@types/twitter": "^1.7.0",
|
"@types/twitter": "^1.7.0",
|
||||||
"husky": "^4.3.0",
|
|
||||||
"nodemon": "^2.0.6",
|
"nodemon": "^2.0.6",
|
||||||
"ts-node": "^9.0.0",
|
"ts-node": "^9.1.1",
|
||||||
"typescript": "^4.0.5",
|
"typescript": "^4.1.2",
|
||||||
"webpack": "^5.4.0",
|
"webpack": "^5.10.0",
|
||||||
"xo": "^0.33.1"
|
"xo": "^0.36.1"
|
||||||
},
|
},
|
||||||
"xo": {
|
"xo": {
|
||||||
"prettier": true,
|
"prettier": true,
|
||||||
|
"ignores": "docs/javascripts",
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"no-warning-comments": "off",
|
||||||
"sort-imports": "error",
|
"sort-imports": "error",
|
||||||
"sort-keys": "error",
|
"sort-keys": "error",
|
||||||
"sort-vars": "error"
|
"sort-vars": "error"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"pre-commit": "npm run all"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,11 +5,13 @@ const link: Link = {
|
|||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
cartUrl: 'https://www.example.com/cartUrl',
|
cartUrl: 'https://www.example.com/cartUrl',
|
||||||
model: 'test:model',
|
model: 'test:model',
|
||||||
|
price: 100,
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.example.com/url'
|
url: 'https://www.example.com/url'
|
||||||
};
|
};
|
||||||
|
|
||||||
const store: Store = {
|
const store: Store = {
|
||||||
|
currency: '',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: 'test:container',
|
container: 'test:container',
|
||||||
|
|||||||
+13
-2
@@ -5,9 +5,20 @@ export const adBlocker = new PuppeteerExtraPluginAdblocker({
|
|||||||
blockTrackers: true
|
blockTrackers: true
|
||||||
});
|
});
|
||||||
|
|
||||||
export async function disableBlockerInPage(page: Page) {
|
export async function enableBlockerInPage(page: Page) {
|
||||||
const blockerObject = await adBlocker.getBlocker();
|
const blockerObject = await adBlocker.getBlocker();
|
||||||
if (blockerObject.isBlockingEnabled(page)) {
|
if (blockerObject.isBlockingEnabled(page)) {
|
||||||
await blockerObject.disableBlockingInPage(page);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await blockerObject.enableBlockingInPage(page);
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function disableBlockerInPage(page: Page) {
|
||||||
|
const blockerObject = await adBlocker.getBlocker();
|
||||||
|
if (!blockerObject.isBlockingEnabled(page)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
await blockerObject.disableBlockingInPage(page);
|
||||||
}
|
}
|
||||||
|
|||||||
+69
-21
@@ -1,9 +1,13 @@
|
|||||||
|
import {existsSync, readFileSync} from 'fs';
|
||||||
import {banner} from './banner';
|
import {banner} from './banner';
|
||||||
|
import dotenv from 'dotenv';
|
||||||
import {config as config_} from 'dotenv';
|
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
config_({path: path.resolve(__dirname, '../.env')});
|
if (existsSync(path.resolve(__dirname, '../dotenv'))) {
|
||||||
|
dotenv.config({path: path.resolve(__dirname, '../dotenv')});
|
||||||
|
} else {
|
||||||
|
dotenv.config({path: path.resolve(__dirname, '../.env')});
|
||||||
|
}
|
||||||
|
|
||||||
console.info(
|
console.info(
|
||||||
banner.render(
|
banner.render(
|
||||||
@@ -65,8 +69,8 @@ function envOrNumber(environment: string | undefined, number?: number): number {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns environment variable, given number, or default number,
|
* Returns environment variable, given number, or default number,
|
||||||
* while handling .env input errors for a Min/Max pair.
|
* while handling dotenv input errors for a Min/Max pair.
|
||||||
* .env errors handled:
|
* dotenv errors handled:
|
||||||
* - Min/Max swapped (Min larger than Max, Max smaller than Min)
|
* - Min/Max swapped (Min larger than Max, Max smaller than Min)
|
||||||
* - Min larger than default Max when no Max defined
|
* - Min larger than default Max when no Max defined
|
||||||
* - Max smaller than default Min when no Min defined
|
* - Max smaller than default Min when no Min defined
|
||||||
@@ -105,8 +109,8 @@ function envOrNumberMin(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns environment variable, given number, or default number,
|
* Returns environment variable, given number, or default number,
|
||||||
* while handling .env input errors for a Min/Max pair.
|
* while handling dotenv input errors for a Min/Max pair.
|
||||||
* .env errors handled:
|
* dotenv errors handled:
|
||||||
* - Min/Max swapped (Min larger than Max, Max smaller than Min)
|
* - Min/Max swapped (Min larger than Max, Max smaller than Min)
|
||||||
* - Min larger than default Max when no Max defined
|
* - Min larger than default Max when no Max defined
|
||||||
* - Max smaller than default Min when no Min defined
|
* - Max smaller than default Min when no Min defined
|
||||||
@@ -168,10 +172,11 @@ const browser = {
|
|||||||
process.env.PAGE_SLEEP_MAX,
|
process.env.PAGE_SLEEP_MAX,
|
||||||
5000
|
5000
|
||||||
),
|
),
|
||||||
open: envOrBoolean(process.env.OPEN_BROWSER)
|
open: envOrBoolean(process.env.OPEN_BROWSER),
|
||||||
|
userAgent: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
const docker = envOrBoolean(process.env.DOCKER);
|
const docker = envOrBoolean(process.env.DOCKER, false);
|
||||||
|
|
||||||
const logLevel = envOrString(process.env.LOG_LEVEL, 'info');
|
const logLevel = envOrString(process.env.LOG_LEVEL, 'info');
|
||||||
|
|
||||||
@@ -179,7 +184,27 @@ const notifications = {
|
|||||||
desktop: process.env.DESKTOP_NOTIFICATIONS === 'true',
|
desktop: process.env.DESKTOP_NOTIFICATIONS === 'true',
|
||||||
discord: {
|
discord: {
|
||||||
notifyGroup: envOrArray(process.env.DISCORD_NOTIFY_GROUP),
|
notifyGroup: envOrArray(process.env.DISCORD_NOTIFY_GROUP),
|
||||||
webHookUrl: envOrArray(process.env.DISCORD_WEB_HOOK)
|
notifyGroupSeries: {
|
||||||
|
'3060ti': envOrArray(process.env.DISCORD_NOTIFY_GROUP_3060TI),
|
||||||
|
3070: envOrArray(process.env.DISCORD_NOTIFY_GROUP_3070),
|
||||||
|
3080: envOrArray(process.env.DISCORD_NOTIFY_GROUP_3080),
|
||||||
|
3090: envOrArray(process.env.DISCORD_NOTIFY_GROUP_3090),
|
||||||
|
darkhero: envOrArray(process.env.DISCORD_NOTIFY_GROUP_DARKHERO),
|
||||||
|
rx6800: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RX6800),
|
||||||
|
rx6800xt: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RX6800XT),
|
||||||
|
rx6900xt: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RX6900XT),
|
||||||
|
ryzen5600: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN5600),
|
||||||
|
ryzen5800: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN5800),
|
||||||
|
ryzen5900: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN5900),
|
||||||
|
ryzen5950: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RYZEN5950),
|
||||||
|
sf: envOrArray(process.env.DISCORD_NOTIFY_GROUP_CORSAIR_SF),
|
||||||
|
sonyps5c: envOrArray(process.env.DISCORD_NOTIFY_GROUP_SONYPS5C),
|
||||||
|
sonyps5de: envOrArray(process.env.DISCORD_NOTIFY_GROUP_SONYPS5DE),
|
||||||
|
'test:series': envOrArray(process.env.DISCORD_NOTIFY_GROUP_TEST),
|
||||||
|
xboxss: envOrArray(process.env.DISCORD_NOTIFY_GROUP_XBOXSS),
|
||||||
|
xboxsx: envOrArray(process.env.DISCORD_NOTIFY_GROUP_XBOXSX)
|
||||||
|
},
|
||||||
|
webhooks: envOrArray(process.env.DISCORD_WEB_HOOK)
|
||||||
},
|
},
|
||||||
email: {
|
email: {
|
||||||
password: envOrString(process.env.EMAIL_PASSWORD),
|
password: envOrString(process.env.EMAIL_PASSWORD),
|
||||||
@@ -231,7 +256,8 @@ const notifications = {
|
|||||||
['tmobile', 'tmomail.net'],
|
['tmobile', 'tmomail.net'],
|
||||||
['verizon', 'vtext.com'],
|
['verizon', 'vtext.com'],
|
||||||
['virgin', 'vmobl.com'],
|
['virgin', 'vmobl.com'],
|
||||||
['virgin-ca', 'vmobile.ca']
|
['virgin-ca', 'vmobile.ca'],
|
||||||
|
['visible', 'vtext.com']
|
||||||
]),
|
]),
|
||||||
carrier: envOrArray(process.env.PHONE_CARRIER),
|
carrier: envOrArray(process.env.PHONE_CARRIER),
|
||||||
number: envOrArray(process.env.PHONE_NUMBER)
|
number: envOrArray(process.env.PHONE_NUMBER)
|
||||||
@@ -239,7 +265,9 @@ const notifications = {
|
|||||||
playSound: envOrString(process.env.PLAY_SOUND),
|
playSound: envOrString(process.env.PLAY_SOUND),
|
||||||
pushbullet: envOrString(process.env.PUSHBULLET),
|
pushbullet: envOrString(process.env.PUSHBULLET),
|
||||||
pushover: {
|
pushover: {
|
||||||
|
expire: envOrNumber(process.env.PUSHOVER_EXPIRE),
|
||||||
priority: envOrNumber(process.env.PUSHOVER_PRIORITY),
|
priority: envOrNumber(process.env.PUSHOVER_PRIORITY),
|
||||||
|
retry: envOrNumber(process.env.PUSHOVER_RETRY),
|
||||||
token: envOrString(process.env.PUSHOVER_TOKEN),
|
token: envOrString(process.env.PUSHOVER_TOKEN),
|
||||||
username: envOrString(process.env.PUSHOVER_USER)
|
username: envOrString(process.env.PUSHOVER_USER)
|
||||||
},
|
},
|
||||||
@@ -247,6 +275,7 @@ const notifications = {
|
|||||||
channel: envOrString(process.env.SLACK_CHANNEL),
|
channel: envOrString(process.env.SLACK_CHANNEL),
|
||||||
token: envOrString(process.env.SLACK_TOKEN)
|
token: envOrString(process.env.SLACK_TOKEN)
|
||||||
},
|
},
|
||||||
|
soundPlayer: envOrString(process.env.SOUND_PLAYER),
|
||||||
telegram: {
|
telegram: {
|
||||||
accessToken: envOrString(process.env.TELEGRAM_ACCESS_TOKEN),
|
accessToken: envOrString(process.env.TELEGRAM_ACCESS_TOKEN),
|
||||||
chatId: envOrArray(process.env.TELEGRAM_CHAT_ID)
|
chatId: envOrArray(process.env.TELEGRAM_CHAT_ID)
|
||||||
@@ -283,15 +312,13 @@ const page = {
|
|||||||
inStockWaitTime: envOrNumber(process.env.IN_STOCK_WAIT_TIME),
|
inStockWaitTime: envOrNumber(process.env.IN_STOCK_WAIT_TIME),
|
||||||
screenshot: envOrBoolean(process.env.SCREENSHOT),
|
screenshot: envOrBoolean(process.env.SCREENSHOT),
|
||||||
timeout: envOrNumber(process.env.PAGE_TIMEOUT, 30000),
|
timeout: envOrNumber(process.env.PAGE_TIMEOUT, 30000),
|
||||||
userAgents: envOrArray(process.env.USER_AGENT, [
|
|
||||||
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36'
|
|
||||||
]),
|
|
||||||
width: 1920
|
width: 1920
|
||||||
};
|
};
|
||||||
|
|
||||||
const proxy = {
|
const proxy = {
|
||||||
address: envOrString(process.env.PROXY_ADDRESS),
|
address: envOrString(process.env.PROXY_ADDRESS),
|
||||||
port: envOrNumber(process.env.PROXY_PORT, 80)
|
port: envOrNumber(process.env.PROXY_PORT, 80),
|
||||||
|
protocol: envOrString(process.env.PROXY_PROTOCOL, 'http')
|
||||||
};
|
};
|
||||||
|
|
||||||
// Check for deprecated configuration values
|
// Check for deprecated configuration values
|
||||||
@@ -306,16 +333,22 @@ const store = {
|
|||||||
country: envOrString(process.env.COUNTRY, 'usa'),
|
country: envOrString(process.env.COUNTRY, 'usa'),
|
||||||
maxPrice: {
|
maxPrice: {
|
||||||
series: {
|
series: {
|
||||||
|
'3060ti': envOrNumber(process.env.MAX_PRICE_SERIES_3060TI),
|
||||||
3070: envOrNumber(process.env.MAX_PRICE_SERIES_3070),
|
3070: envOrNumber(process.env.MAX_PRICE_SERIES_3070),
|
||||||
3080: envOrNumber(process.env.MAX_PRICE_SERIES_3080),
|
3080: envOrNumber(process.env.MAX_PRICE_SERIES_3080),
|
||||||
3090: envOrNumber(process.env.MAX_PRICE_SERIES_3090),
|
3090: envOrNumber(process.env.MAX_PRICE_SERIES_3090),
|
||||||
|
darkhero: envOrNumber(process.env.MAX_PRICE_SERIES_DARKHERO),
|
||||||
|
rx6800: envOrNumber(process.env.MAX_PRICE_SERIES_RX6800),
|
||||||
|
rx6800xt: envOrNumber(process.env.MAX_PRICE_SERIES_RX6800XT),
|
||||||
|
rx6900xt: envOrNumber(process.env.MAX_PRICE_SERIES_RX6900XT),
|
||||||
ryzen5600: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN5600),
|
ryzen5600: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN5600),
|
||||||
ryzen5800: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN5800),
|
ryzen5800: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN5800),
|
||||||
ryzen5900: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN5900),
|
ryzen5900: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN5900),
|
||||||
ryzen5950: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN5950),
|
ryzen5950: envOrNumber(process.env.MAX_PRICE_SERIES_RYZEN5950),
|
||||||
sonyps5c: -1,
|
sf: envOrNumber(process.env.MAX_PRICE_SERIES_CORSAIR_SF),
|
||||||
sonyps5de: -1,
|
sonyps5c: envOrNumber(process.env.MAX_PRICE_SERIES_SONYPS5C),
|
||||||
'test:series': -1,
|
sonyps5de: envOrNumber(process.env.MAX_PRICE_SERIES_SONYPS5DE),
|
||||||
|
'test:series': envOrNumber(process.env.MAX_PRICE_SERIES_TEST),
|
||||||
xboxss: -1,
|
xboxss: -1,
|
||||||
xboxsx: -1
|
xboxsx: -1
|
||||||
}
|
}
|
||||||
@@ -330,20 +363,34 @@ const store = {
|
|||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
showOnlySeries: envOrArray(process.env.SHOW_ONLY_SERIES, [
|
showOnlySeries: envOrArray(process.env.SHOW_ONLY_SERIES, [
|
||||||
|
'3060ti',
|
||||||
'3070',
|
'3070',
|
||||||
'3080',
|
'3080',
|
||||||
'3090',
|
'3090',
|
||||||
|
'rx6800',
|
||||||
|
'rx6800xt',
|
||||||
|
'rx6900xt',
|
||||||
'ryzen5600',
|
'ryzen5600',
|
||||||
'ryzen5800',
|
'ryzen5800',
|
||||||
'ryzen5900',
|
'ryzen5900',
|
||||||
'ryzen5950',
|
'ryzen5950',
|
||||||
'sonyps5c',
|
'sonyps5c',
|
||||||
'sonyps5de',
|
'sonyps5de',
|
||||||
'xboxsx',
|
'xboxss',
|
||||||
'xboxss'
|
'xboxsx'
|
||||||
]),
|
]),
|
||||||
stores: envOrArray(process.env.STORES, ['nvidia']).map((entry) => {
|
stores: envOrArray(process.env.STORES, ['nvidia']).map((entry) => {
|
||||||
const [name, minPageSleep, maxPageSleep] = entry.match(/[^:]+/g) ?? [];
|
const [name, minPageSleep, maxPageSleep] = entry.match(/[^:]+/g) ?? [];
|
||||||
|
|
||||||
|
let proxyList;
|
||||||
|
try {
|
||||||
|
proxyList = readFileSync(`${name}.proxies`)
|
||||||
|
.toString()
|
||||||
|
.trim()
|
||||||
|
.split('\n')
|
||||||
|
.map((x) => x.trim());
|
||||||
|
} catch {}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
maxPageSleep: envOrNumberMax(
|
maxPageSleep: envOrNumberMax(
|
||||||
minPageSleep,
|
minPageSleep,
|
||||||
@@ -355,7 +402,8 @@ const store = {
|
|||||||
maxPageSleep,
|
maxPageSleep,
|
||||||
browser.minSleep
|
browser.minSleep
|
||||||
),
|
),
|
||||||
name: envOrString(name)
|
name: envOrString(name),
|
||||||
|
proxyList
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|||||||
+15
-16
@@ -1,25 +1,14 @@
|
|||||||
import {startAPIServer, stopAPIServer} from './web';
|
import {config} from './config'; // Needs to be loaded first
|
||||||
|
import {startAPIServer, stopAPIServer} from './web'; // eslint-disable-line sort-imports
|
||||||
import {Browser} from 'puppeteer';
|
import {Browser} from 'puppeteer';
|
||||||
import {adBlocker} from './adblocker';
|
|
||||||
import {config} from './config';
|
|
||||||
import {getSleepTime} from './util';
|
import {getSleepTime} from './util';
|
||||||
import {logger} from './logger';
|
import {logger} from './logger';
|
||||||
import puppeteer from 'puppeteer-extra';
|
import puppeteer from 'puppeteer-extra';
|
||||||
import resourceBlock from 'puppeteer-extra-plugin-block-resources';
|
|
||||||
import stealthPlugin from 'puppeteer-extra-plugin-stealth';
|
import stealthPlugin from 'puppeteer-extra-plugin-stealth';
|
||||||
import {storeList} from './store/model';
|
import {storeList} from './store/model';
|
||||||
import {tryLookupAndLoop} from './store';
|
import {tryLookupAndLoop} from './store';
|
||||||
|
|
||||||
puppeteer.use(stealthPlugin());
|
puppeteer.use(stealthPlugin());
|
||||||
if (config.browser.lowBandwidth) {
|
|
||||||
puppeteer.use(
|
|
||||||
resourceBlock({
|
|
||||||
blockedTypes: new Set(['image', 'font'] as const)
|
|
||||||
})
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
puppeteer.use(adBlocker);
|
|
||||||
}
|
|
||||||
|
|
||||||
let browser: Browser | undefined;
|
let browser: Browser | undefined;
|
||||||
|
|
||||||
@@ -37,19 +26,27 @@ async function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#tips
|
// https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#tips
|
||||||
|
// https://stackoverflow.com/questions/48230901/docker-alpine-with-node-js-and-chromium-headless-puppeter-failed-to-launch-c
|
||||||
if (config.docker) {
|
if (config.docker) {
|
||||||
args.push('--disable-dev-shm-usage');
|
args.push('--disable-dev-shm-usage');
|
||||||
|
args.push('--no-sandbox');
|
||||||
|
args.push('--disable-setuid-sandbox');
|
||||||
|
args.push('--headless');
|
||||||
|
args.push('--disable-gpu');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the address of the proxy server if defined
|
// Add the address of the proxy server if defined
|
||||||
if (config.proxy.address) {
|
if (config.proxy.address) {
|
||||||
args.push(
|
args.push(
|
||||||
`--proxy-server=http://${config.proxy.address}:${config.proxy.port}`
|
`--proxy-server=${config.proxy.protocol}://${config.proxy.address}:${config.proxy.port}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
await stop();
|
if (args.length > 0) {
|
||||||
|
logger.info('ℹ puppeteer config: ', args);
|
||||||
|
}
|
||||||
|
|
||||||
|
await stop();
|
||||||
browser = await puppeteer.launch({
|
browser = await puppeteer.launch({
|
||||||
args,
|
args,
|
||||||
defaultViewport: {
|
defaultViewport: {
|
||||||
@@ -59,6 +56,8 @@ async function main() {
|
|||||||
headless: config.browser.isHeadless
|
headless: config.browser.isHeadless
|
||||||
});
|
});
|
||||||
|
|
||||||
|
config.browser.userAgent = await browser.userAgent();
|
||||||
|
|
||||||
for (const store of storeList.values()) {
|
for (const store of storeList.values()) {
|
||||||
logger.debug('store links', {meta: {links: store.links}});
|
logger.debug('store links', {meta: {links: store.links}});
|
||||||
if (store.setupAction !== undefined) {
|
if (store.setupAction !== undefined) {
|
||||||
@@ -94,7 +93,7 @@ async function stopAndExit() {
|
|||||||
async function loopMain() {
|
async function loopMain() {
|
||||||
try {
|
try {
|
||||||
await main();
|
await main();
|
||||||
} catch (error) {
|
} catch (error: unknown) {
|
||||||
logger.error(
|
logger.error(
|
||||||
'✖ something bad happened, resetting streetmerchant in 5 seconds',
|
'✖ something bad happened, resetting streetmerchant in 5 seconds',
|
||||||
error
|
error
|
||||||
|
|||||||
+19
-8
@@ -20,7 +20,9 @@ const prettyJson = winston.format.printf((info) => {
|
|||||||
export const logger = winston.createLogger({
|
export const logger = winston.createLogger({
|
||||||
format: winston.format.combine(
|
format: winston.format.combine(
|
||||||
winston.format.colorize(),
|
winston.format.colorize(),
|
||||||
winston.format.metadata({fillExcept: ['level', 'message', 'timestamp']}),
|
winston.format.metadata({
|
||||||
|
fillExcept: ['level', 'message', 'timestamp']
|
||||||
|
}),
|
||||||
prettyJson
|
prettyJson
|
||||||
),
|
),
|
||||||
level: config.logLevel,
|
level: config.logLevel,
|
||||||
@@ -121,7 +123,6 @@ export const Print = {
|
|||||||
maxPrice(
|
maxPrice(
|
||||||
link: Link,
|
link: Link,
|
||||||
store: Store,
|
store: Store,
|
||||||
price: number,
|
|
||||||
maxPrice: number,
|
maxPrice: number,
|
||||||
color?: boolean
|
color?: boolean
|
||||||
): string {
|
): string {
|
||||||
@@ -130,14 +131,15 @@ export const Print = {
|
|||||||
'✖ ' +
|
'✖ ' +
|
||||||
buildProductString(link, store, true) +
|
buildProductString(link, store, true) +
|
||||||
' :: ' +
|
' :: ' +
|
||||||
chalk.yellow(`PRICE ${price} EXCEEDS LIMIT ${maxPrice}`)
|
chalk.yellow(
|
||||||
|
`PRICE ${link.price ?? ''} EXCEEDS LIMIT ${maxPrice}`
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return `✖ ${buildProductString(
|
return `✖ ${buildProductString(link, store)} :: PRICE ${
|
||||||
link,
|
link.price ?? ''
|
||||||
store
|
} EXCEEDS LIMIT ${maxPrice}`;
|
||||||
)} :: PRICE ${price} EXCEEDS LIMIT ${maxPrice}`;
|
|
||||||
},
|
},
|
||||||
message(
|
message(
|
||||||
message: string,
|
message: string,
|
||||||
@@ -180,6 +182,13 @@ export const Print = {
|
|||||||
|
|
||||||
return `✖ ${buildProductString(link, store)} :: OUT OF STOCK`;
|
return `✖ ${buildProductString(link, store)} :: OUT OF STOCK`;
|
||||||
},
|
},
|
||||||
|
productInStock(link: Link): string {
|
||||||
|
let productString = `Product Page: ${link.url}`;
|
||||||
|
if (link.cartUrl)
|
||||||
|
productString += `\nAdd To Cart Link: ${link.cartUrl}`;
|
||||||
|
|
||||||
|
return productString;
|
||||||
|
},
|
||||||
rateLimit(link: Link, store: Store, color?: boolean): string {
|
rateLimit(link: Link, store: Store, color?: boolean): string {
|
||||||
if (color) {
|
if (color) {
|
||||||
return (
|
return (
|
||||||
@@ -200,7 +209,9 @@ function buildSetupString(
|
|||||||
color?: boolean
|
color?: boolean
|
||||||
): string {
|
): string {
|
||||||
if (color) {
|
if (color) {
|
||||||
return chalk.cyan(`[${store.name}]`) + chalk.grey(` [setup (${topic})]`);
|
return (
|
||||||
|
chalk.cyan(`[${store.name}]`) + chalk.grey(` [setup (${topic})]`)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return `[${store.name}] [setup (${topic})]`;
|
return `[${store.name}] [setup (${topic})]`;
|
||||||
|
|||||||
+64
-20
@@ -1,44 +1,88 @@
|
|||||||
import {Link, Store} from '../store/model';
|
import {Link, Store} from '../store/model';
|
||||||
import {MessageBuilder, Webhook} from 'discord-webhook-node';
|
import Discord from 'discord.js';
|
||||||
import {config} from '../config';
|
import {config} from '../config';
|
||||||
import {logger} from '../logger';
|
import {logger} from '../logger';
|
||||||
|
|
||||||
const discord = config.notifications.discord;
|
const discord = config.notifications.discord;
|
||||||
const hooks = discord.webHookUrl;
|
const {notifyGroup, webhooks, notifyGroupSeries} = discord;
|
||||||
const notifyGroup = discord.notifyGroup;
|
|
||||||
|
function getIdAndToken(webhook: string) {
|
||||||
|
const match = /.*\/webhooks\/(\d+)\/(.+)/.exec(webhook);
|
||||||
|
|
||||||
|
if (!match) {
|
||||||
|
throw new Error('could not get discord webhook');
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
id: match[1],
|
||||||
|
token: match[2]
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
export function sendDiscordMessage(link: Link, store: Store) {
|
export function sendDiscordMessage(link: Link, store: Store) {
|
||||||
if (discord.webHookUrl.length > 0) {
|
if (webhooks.length > 0) {
|
||||||
logger.debug('↗ sending discord message');
|
logger.debug('↗ sending discord message');
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
const embed = new MessageBuilder();
|
const embed = new Discord.MessageEmbed()
|
||||||
embed.setTitle('Stock Notification');
|
.setTitle('_**Stock alert!**_')
|
||||||
if (link.cartUrl)
|
.setDescription(
|
||||||
embed.addField('Add To Cart Link', link.cartUrl, true);
|
'> provided by [streetmerchant](https://github.com/jef/streetmerchant) with :heart:'
|
||||||
embed.addField('Product Page', link.url, true);
|
)
|
||||||
|
.setThumbnail(
|
||||||
|
'https://raw.githubusercontent.com/jef/streetmerchant/main/docs/assets/images/streetmerchant-logo.png'
|
||||||
|
)
|
||||||
|
.setColor('#52b788')
|
||||||
|
.setTimestamp();
|
||||||
|
|
||||||
embed.addField('Store', store.name, true);
|
embed.addField('Store', store.name, true);
|
||||||
|
if (link.price)
|
||||||
|
embed.addField(
|
||||||
|
'Price',
|
||||||
|
`${store.currency}${link.price}`,
|
||||||
|
true
|
||||||
|
);
|
||||||
|
embed.addField('Product Page', link.url);
|
||||||
|
if (link.cartUrl) embed.addField('Add to Cart', link.cartUrl);
|
||||||
embed.addField('Brand', link.brand, true);
|
embed.addField('Brand', link.brand, true);
|
||||||
embed.addField('Series', link.series, true);
|
|
||||||
embed.addField('Model', link.model, true);
|
embed.addField('Model', link.model, true);
|
||||||
|
embed.addField('Series', link.series, true);
|
||||||
|
|
||||||
if (notifyGroup) {
|
|
||||||
embed.setText(notifyGroup.join(' '));
|
|
||||||
}
|
|
||||||
|
|
||||||
embed.setColor(0x76b900);
|
|
||||||
embed.setTimestamp();
|
embed.setTimestamp();
|
||||||
|
|
||||||
const promises = [];
|
let notifyText: string[] = [];
|
||||||
for (const hook of hooks) {
|
|
||||||
promises.push(new Webhook(hook).send(embed));
|
if (notifyGroup) {
|
||||||
|
notifyText = notifyText.concat(notifyGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
await Promise.all(promises);
|
if (Object.keys(notifyGroupSeries).indexOf(link.series) !== 0) {
|
||||||
|
notifyText = notifyText.concat(
|
||||||
|
notifyGroupSeries[link.series]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const promises = [];
|
||||||
|
for (const webhook of webhooks) {
|
||||||
|
const {id, token} = getIdAndToken(webhook);
|
||||||
|
const client = new Discord.WebhookClient(id, token);
|
||||||
|
|
||||||
|
promises.push({
|
||||||
|
client,
|
||||||
|
message: client.send(notifyText.join(' '), {
|
||||||
|
embeds: [embed],
|
||||||
|
username: 'streetmerchant'
|
||||||
|
})
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
(await Promise.all(promises)).forEach(({client}) =>
|
||||||
|
client.destroy()
|
||||||
|
);
|
||||||
|
|
||||||
logger.info('✔ discord message sent');
|
logger.info('✔ discord message sent');
|
||||||
} catch (error) {
|
} catch (error: unknown) {
|
||||||
logger.error("✖ couldn't send discord message", error);
|
logger.error("✖ couldn't send discord message", error);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ export function sendEmail(link: Link, store: Store) {
|
|||||||
: undefined,
|
: undefined,
|
||||||
from: email.username,
|
from: email.username,
|
||||||
subject: Print.inStock(link, store),
|
subject: Print.inStock(link, store),
|
||||||
text: link.cartUrl ? link.cartUrl : link.url,
|
text: Print.productInStock(link),
|
||||||
to: email.to
|
to: email.to
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export function sendMqttMessage(link: Link, store: Store) {
|
|||||||
try {
|
try {
|
||||||
client.publish(topic, message, pubOptions);
|
client.publish(topic, message, pubOptions);
|
||||||
logger.info('✔ mqtt message sent');
|
logger.info('✔ mqtt message sent');
|
||||||
} catch (error) {
|
} catch (error: unknown) {
|
||||||
logger.error("✖ couldn't send mqtt message", error);
|
logger.error("✖ couldn't send mqtt message", error);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
@@ -65,7 +65,7 @@ function generateTopic(link: Link, store: Store, topic: string): string {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Basic protection against sending credentials in the clear over public networks.
|
* Basic protection against sending credentials in the clear over public networks.
|
||||||
* - Returns 'true' if password is supplied in .env but address/URL is not part of a private network
|
* - Returns 'true' if password is supplied in dotenv but address/URL is not part of a private network
|
||||||
* - Private networks evaluated: Class A, B, or C private IP's or linklocal URL ("*.local")
|
* - Private networks evaluated: Class A, B, or C private IP's or linklocal URL ("*.local")
|
||||||
* - TLS could be implemented, however, the majority of MQTT services on the internet do not require user authentication.
|
* - TLS could be implemented, however, the majority of MQTT services on the internet do not require user authentication.
|
||||||
* - If you find a 'cloud' MQTT broker requiring authentication for publishing alerts, consider using another MQTT service (for now).
|
* - If you find a 'cloud' MQTT broker requiring authentication for publishing alerts, consider using another MQTT service (for now).
|
||||||
|
|||||||
@@ -18,12 +18,12 @@ import {sendTwitchMessage} from './twitch';
|
|||||||
export function sendNotification(link: Link, store: Store) {
|
export function sendNotification(link: Link, store: Store) {
|
||||||
// Priority
|
// Priority
|
||||||
playSound();
|
playSound();
|
||||||
|
sendDiscordMessage(link, store);
|
||||||
|
sendDesktopNotification(link, store);
|
||||||
sendEmail(link, store);
|
sendEmail(link, store);
|
||||||
sendSms(link, store);
|
sendSms(link, store);
|
||||||
sendDesktopNotification(link, store);
|
|
||||||
// Non-priority
|
// Non-priority
|
||||||
adjustPhilipsHueLights();
|
adjustPhilipsHueLights();
|
||||||
sendDiscordMessage(link, store);
|
|
||||||
sendMqttMessage(link, store);
|
sendMqttMessage(link, store);
|
||||||
sendPagerDutyNotification(link, store);
|
sendPagerDutyNotification(link, store);
|
||||||
sendPushbulletNotification(link, store);
|
sendPushbulletNotification(link, store);
|
||||||
|
|||||||
@@ -45,13 +45,14 @@ const adjustLightsWithAPI = (hueBridge: Api) => {
|
|||||||
const arrayOfIDs = lightIds.split(',');
|
const arrayOfIDs = lightIds.split(',');
|
||||||
arrayOfIDs.forEach((light) => {
|
arrayOfIDs.forEach((light) => {
|
||||||
logger.debug('adjusting all hue lights');
|
logger.debug('adjusting all hue lights');
|
||||||
(hueBridge.lights.setLightState(light, lightState) as Promise<any>).catch(
|
(hueBridge.lights.setLightState(
|
||||||
(error: Error) => {
|
light,
|
||||||
logger.error('Failed to adjust all lights.');
|
lightState
|
||||||
logger.error(error);
|
) as Promise<any>).catch((error: Error) => {
|
||||||
throw error;
|
logger.error('Failed to adjust all lights.');
|
||||||
}
|
logger.error(error);
|
||||||
);
|
throw error;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// Adjust all light IDs
|
// Adjust all light IDs
|
||||||
@@ -60,9 +61,10 @@ const adjustLightsWithAPI = (hueBridge: Api) => {
|
|||||||
.then((allLights: any[]) => {
|
.then((allLights: any[]) => {
|
||||||
allLights.forEach((light: any) => {
|
allLights.forEach((light: any) => {
|
||||||
logger.debug('adjusting specified lights');
|
logger.debug('adjusting specified lights');
|
||||||
(hueBridge.lights.setLightState(light, lightState) as Promise<
|
(hueBridge.lights.setLightState(
|
||||||
any
|
light,
|
||||||
>).catch((error: Error) => {
|
lightState
|
||||||
|
) as Promise<any>).catch((error: Error) => {
|
||||||
logger.error('Failed to adjust specified lights.');
|
logger.error('Failed to adjust specified lights.');
|
||||||
logger.error(error);
|
logger.error(error);
|
||||||
throw error;
|
throw error;
|
||||||
@@ -101,15 +103,26 @@ export function adjustPhilipsHueLights() {
|
|||||||
} else if (hue.apiKey && hue.clientId && hue.clientSecret) {
|
} else if (hue.apiKey && hue.clientId && hue.clientSecret) {
|
||||||
logger.info('↗ adjusting Philips Hue lights over cloud');
|
logger.info('↗ adjusting Philips Hue lights over cloud');
|
||||||
(async () => {
|
(async () => {
|
||||||
logger.debug('Attempting to connect to Philips Hue bridge over cloud');
|
logger.debug(
|
||||||
const remoteBootstrap = hueAPI.api.createRemote(clientId, clientSecret);
|
'Attempting to connect to Philips Hue bridge over cloud'
|
||||||
|
);
|
||||||
|
const remoteBootstrap = hueAPI.api.createRemote(
|
||||||
|
clientId,
|
||||||
|
clientSecret
|
||||||
|
);
|
||||||
if (hue.accessToken && hue.refreshToken) {
|
if (hue.accessToken && hue.refreshToken) {
|
||||||
remoteBootstrap
|
remoteBootstrap
|
||||||
.connectWithTokens(accessToken, refreshToken, remoteApiUsername)
|
.connectWithTokens(
|
||||||
|
accessToken,
|
||||||
|
refreshToken,
|
||||||
|
remoteApiUsername
|
||||||
|
)
|
||||||
.then(
|
.then(
|
||||||
(hueBridge) => {
|
(hueBridge) => {
|
||||||
adjustLightsWithAPI(hueBridge);
|
adjustLightsWithAPI(hueBridge);
|
||||||
logger.info('✔ adjusted Philips Hue lights over cloud');
|
logger.info(
|
||||||
|
'✔ adjusted Philips Hue lights over cloud'
|
||||||
|
);
|
||||||
},
|
},
|
||||||
(error: Error) => {
|
(error: Error) => {
|
||||||
logger.error(
|
logger.error(
|
||||||
|
|||||||
@@ -4,20 +4,30 @@ import Push, {PushoverMessage} from 'pushover-notifications';
|
|||||||
import {config} from '../config';
|
import {config} from '../config';
|
||||||
|
|
||||||
const pushover = config.notifications.pushover;
|
const pushover = config.notifications.pushover;
|
||||||
const push = new Push({
|
|
||||||
token: pushover.token,
|
|
||||||
user: pushover.username
|
|
||||||
});
|
|
||||||
|
|
||||||
export function sendPushoverNotification(link: Link, store: Store) {
|
export function sendPushoverNotification(link: Link, store: Store) {
|
||||||
if (pushover.token && pushover.username) {
|
if (pushover.token && pushover.username) {
|
||||||
logger.debug('↗ sending pushover message');
|
logger.debug('↗ sending pushover message');
|
||||||
|
|
||||||
const message: PushoverMessage = {
|
const push = new Push({
|
||||||
message: link.cartUrl ? link.cartUrl : link.url,
|
token: pushover.token,
|
||||||
priority: pushover.priority,
|
user: pushover.username
|
||||||
title: Print.inStock(link, store)
|
});
|
||||||
};
|
|
||||||
|
const message: PushoverMessage =
|
||||||
|
pushover.priority < 2
|
||||||
|
? {
|
||||||
|
message: link.cartUrl ? link.cartUrl : link.url,
|
||||||
|
priority: pushover.priority,
|
||||||
|
title: Print.inStock(link, store)
|
||||||
|
}
|
||||||
|
: {
|
||||||
|
expire: pushover.expire,
|
||||||
|
message: link.cartUrl ? link.cartUrl : link.url,
|
||||||
|
priority: pushover.priority,
|
||||||
|
retry: pushover.retry,
|
||||||
|
title: Print.inStock(link, store)
|
||||||
|
};
|
||||||
|
|
||||||
push.send(message, (error: Error) => {
|
push.send(message, (error: Error) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {WebClient} from '@slack/web-api';
|
|||||||
import {config} from '../config';
|
import {config} from '../config';
|
||||||
|
|
||||||
const slack = config.notifications.slack;
|
const slack = config.notifications.slack;
|
||||||
const channel = slack.channel;
|
const channel = slack.channel.replace('#', '');
|
||||||
const token = slack.token;
|
const token = slack.token;
|
||||||
const web = new WebClient(token);
|
const web = new WebClient(token);
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ export function sendSlackMessage(link: Link, store: Store) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
logger.info('✔ slack message sent');
|
logger.info('✔ slack message sent');
|
||||||
} catch (error) {
|
} catch (error: unknown) {
|
||||||
logger.error("✖ couldn't send slack message", error);
|
logger.error("✖ couldn't send slack message", error);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|||||||
+20
-12
@@ -6,7 +6,9 @@ import {logger} from '../logger';
|
|||||||
let player: PlaySound;
|
let player: PlaySound;
|
||||||
|
|
||||||
if (config.notifications.playSound) {
|
if (config.notifications.playSound) {
|
||||||
player = playerLib();
|
player = config.notifications.soundPlayer
|
||||||
|
? playerLib({players: [config.notifications.soundPlayer]})
|
||||||
|
: playerLib();
|
||||||
|
|
||||||
if (player.player === null) {
|
if (player.player === null) {
|
||||||
logger.warn("✖ couldn't find sound player");
|
logger.warn("✖ couldn't find sound player");
|
||||||
@@ -20,19 +22,25 @@ export function playSound() {
|
|||||||
if (config.notifications.playSound && player.player !== null) {
|
if (config.notifications.playSound && player.player !== null) {
|
||||||
logger.debug('↗ playing sound');
|
logger.debug('↗ playing sound');
|
||||||
|
|
||||||
fs.access(config.notifications.playSound, fs.constants.F_OK, (error) => {
|
fs.access(
|
||||||
if (error) {
|
config.notifications.playSound,
|
||||||
logger.error(`✖ error opening sound file: ${error.message}`);
|
fs.constants.F_OK,
|
||||||
return;
|
(error) => {
|
||||||
}
|
|
||||||
|
|
||||||
player.play(config.notifications.playSound, (error: Error) => {
|
|
||||||
if (error) {
|
if (error) {
|
||||||
logger.error("✖ couldn't play sound", error);
|
logger.error(
|
||||||
|
`✖ error opening sound file: ${error.message}`
|
||||||
|
);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info('✔ played sound');
|
player.play(config.notifications.playSound, (error: Error) => {
|
||||||
});
|
if (error) {
|
||||||
});
|
logger.error("✖ couldn't play sound", error);
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.info('✔ played sound');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export function sendTelegramMessage(link: Link, store: Store) {
|
|||||||
logger.debug('↗ sending telegram message');
|
logger.debug('↗ sending telegram message');
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
const givenUrl = link.cartUrl ? link.cartUrl : link.url;
|
const message = Print.productInStock(link);
|
||||||
const results = [];
|
const results = [];
|
||||||
|
|
||||||
for (const chatId of telegram.chatId) {
|
for (const chatId of telegram.chatId) {
|
||||||
@@ -22,11 +22,11 @@ export function sendTelegramMessage(link: Link, store: Store) {
|
|||||||
results.push(
|
results.push(
|
||||||
client.sendMessage(
|
client.sendMessage(
|
||||||
chatId,
|
chatId,
|
||||||
`${Print.inStock(link, store)}\n${givenUrl}`
|
`${Print.inStock(link, store)}\n${message}`
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
logger.info('✔ telegram message sent');
|
logger.info('✔ telegram message sent');
|
||||||
} catch (error) {
|
} catch (error: unknown) {
|
||||||
logger.error("✖ couldn't send telegram message", error);
|
logger.error("✖ couldn't send telegram message", error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export function sendTwilioMessage(link: Link, store: Store) {
|
|||||||
to: twilio.to
|
to: twilio.to
|
||||||
});
|
});
|
||||||
logger.info('✔ twilio message sent');
|
logger.info('✔ twilio message sent');
|
||||||
} catch (error) {
|
} catch (error: unknown) {
|
||||||
logger.error("✖ couldn't send twilio message", error);
|
logger.error("✖ couldn't send twilio message", error);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|||||||
@@ -39,7 +39,9 @@ const chatClient: ChatClient = new ChatClient(
|
|||||||
{
|
{
|
||||||
accessToken,
|
accessToken,
|
||||||
expiryTimestamp:
|
expiryTimestamp:
|
||||||
expiryDate === null ? null : expiryDate.getTime(),
|
expiryDate === null
|
||||||
|
? null
|
||||||
|
: expiryDate.getTime(),
|
||||||
refreshToken
|
refreshToken
|
||||||
},
|
},
|
||||||
null,
|
null,
|
||||||
@@ -65,7 +67,7 @@ chatClient.onJoin((channel: string, user: string) => {
|
|||||||
try {
|
try {
|
||||||
chatClient.say(channel, message);
|
chatClient.say(channel, message);
|
||||||
logger.info('✔ twitch message sent');
|
logger.info('✔ twitch message sent');
|
||||||
} catch (error) {
|
} catch (error: unknown) {
|
||||||
logger.error("✖ couldn't send twitch message", error);
|
logger.error("✖ couldn't send twitch message", error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -90,7 +92,9 @@ export function sendTwitchMessage(link: Link, store: Store) {
|
|||||||
logger.debug('↗ sending twitch message');
|
logger.debug('↗ sending twitch message');
|
||||||
|
|
||||||
messages.push(
|
messages.push(
|
||||||
`${Print.inStock(link, store)}\n${link.cartUrl ? link.cartUrl : link.url}`
|
`${Print.inStock(link, store)}\n${
|
||||||
|
link.cartUrl ? link.cartUrl : link.url
|
||||||
|
}`
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!alreadySaying) {
|
if (!alreadySaying) {
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ import {usingResponse} from '../util';
|
|||||||
|
|
||||||
function addNewLinks(store: Store, links: Link[], series: Series) {
|
function addNewLinks(store: Store, links: Link[], series: Series) {
|
||||||
if (links.length === 0) {
|
if (links.length === 0) {
|
||||||
logger.debug(Print.message('NO STORE LINKS FOUND', series, store, true));
|
logger.debug(
|
||||||
|
Print.message('NO STORE LINKS FOUND', series, store, true)
|
||||||
|
);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -20,7 +22,12 @@ function addNewLinks(store: Store, links: Link[], series: Series) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
logger.debug(
|
logger.debug(
|
||||||
Print.message(`FOUND ${newLinks.length} STORE LINKS`, series, store, true)
|
Print.message(
|
||||||
|
`FOUND ${newLinks.length} STORE LINKS`,
|
||||||
|
series,
|
||||||
|
store,
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
logger.debug(JSON.stringify(newLinks, null, 2));
|
logger.debug(JSON.stringify(newLinks, null, 2));
|
||||||
|
|
||||||
@@ -39,7 +46,9 @@ export async function fetchLinks(store: Store, browser: Browser) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.debug(Print.message('DETECTING STORE LINKS', series, store, true));
|
logger.debug(
|
||||||
|
Print.message('DETECTING STORE LINKS', series, store, true)
|
||||||
|
);
|
||||||
|
|
||||||
if (!Array.isArray(url)) {
|
if (!Array.isArray(url)) {
|
||||||
url = [url];
|
url = [url];
|
||||||
@@ -51,12 +60,17 @@ export async function fetchLinks(store: Store, browser: Browser) {
|
|||||||
const text = await response?.text();
|
const text = await response?.text();
|
||||||
|
|
||||||
if (!text) {
|
if (!text) {
|
||||||
logger.error(Print.message('NO RESPONSE', series, store, true));
|
logger.error(
|
||||||
|
Print.message('NO RESPONSE', series, store, true)
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const docElement = cheerio.load(text).root();
|
const docElement = cheerio.load(text).root();
|
||||||
const links = store.linksBuilder!.builder(docElement, series);
|
const links = store.linksBuilder!.builder(
|
||||||
|
docElement,
|
||||||
|
series
|
||||||
|
);
|
||||||
|
|
||||||
addNewLinks(store, links, series);
|
addNewLinks(store, links, series);
|
||||||
})
|
})
|
||||||
|
|||||||
+4
-1
@@ -29,7 +29,10 @@ function filterModel(model: Link['model'], series: Link['series']): boolean {
|
|||||||
const sanitizedSeries = series.replace(/\s/g, '');
|
const sanitizedSeries = series.replace(/\s/g, '');
|
||||||
for (const configModelEntry of config.store.showOnlyModels) {
|
for (const configModelEntry of config.store.showOnlyModels) {
|
||||||
const sanitizedConfigModel = configModelEntry.name.replace(/\s/g, '');
|
const sanitizedConfigModel = configModelEntry.name.replace(/\s/g, '');
|
||||||
const sanitizedConfigSeries = configModelEntry.series.replace(/\s/g, '');
|
const sanitizedConfigSeries = configModelEntry.series.replace(
|
||||||
|
/\s/g,
|
||||||
|
''
|
||||||
|
);
|
||||||
if (sanitizedConfigSeries) {
|
if (sanitizedConfigSeries) {
|
||||||
if (
|
if (
|
||||||
sanitizedSeries === sanitizedConfigSeries &&
|
sanitizedSeries === sanitizedConfigSeries &&
|
||||||
|
|||||||
@@ -72,7 +72,6 @@ export async function extractPageContents(
|
|||||||
selector: Selector
|
selector: Selector
|
||||||
): Promise<string | null> {
|
): Promise<string | null> {
|
||||||
return page.evaluate((options: Selector) => {
|
return page.evaluate((options: Selector) => {
|
||||||
// eslint-disable-next-line no-undef
|
|
||||||
const element: globalThis.HTMLElement | null = document.querySelector(
|
const element: globalThis.HTMLElement | null = document.querySelector(
|
||||||
options.selector
|
options.selector
|
||||||
);
|
);
|
||||||
@@ -117,27 +116,22 @@ export function includesLabels(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function cardPrice(
|
export async function getPrice(
|
||||||
page: Page,
|
page: Page,
|
||||||
query: Pricing,
|
query: Pricing,
|
||||||
max: number,
|
|
||||||
options: Selector
|
options: Selector
|
||||||
): Promise<number | null> {
|
): Promise<number | null> {
|
||||||
if (!max || max === -1) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
const selector = {...options, selector: query.container};
|
const selector = {...options, selector: query.container};
|
||||||
const cardPrice = await extractPageContents(page, selector);
|
const priceString = await extractPageContents(page, selector);
|
||||||
|
|
||||||
if (cardPrice) {
|
if (priceString) {
|
||||||
const priceSeperator = query.euroFormat ? /\./g : /,/g;
|
const priceSeparator = query.euroFormat ? /\./g : /,/g;
|
||||||
const cardpriceNumber = Number.parseFloat(
|
const price = Number.parseFloat(
|
||||||
cardPrice.replace(priceSeperator, '').match(/\d+/g)!.join('.')
|
priceString.replace(priceSeparator, '').match(/\d+/g)!.join('.')
|
||||||
);
|
);
|
||||||
|
|
||||||
logger.debug(`Raw card price: ${cardPrice} | Limit: ${max}`);
|
logger.debug('received price', price);
|
||||||
return cardpriceNumber > max ? cardpriceNumber : null;
|
return price;
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
+258
-83
@@ -1,7 +1,14 @@
|
|||||||
import {Browser, Page, Response} from 'puppeteer';
|
import {
|
||||||
|
Browser,
|
||||||
|
Page,
|
||||||
|
PageEventObj,
|
||||||
|
Request,
|
||||||
|
RespondOptions,
|
||||||
|
Response
|
||||||
|
} from 'puppeteer';
|
||||||
import {Link, Store, getStores} from './model';
|
import {Link, Store, getStores} from './model';
|
||||||
import {Print, logger} from '../logger';
|
import {Print, logger} from '../logger';
|
||||||
import {Selector, cardPrice, pageIncludesLabels} from './includes-labels';
|
import {Selector, getPrice, pageIncludesLabels} from './includes-labels';
|
||||||
import {
|
import {
|
||||||
closePage,
|
closePage,
|
||||||
delay,
|
delay,
|
||||||
@@ -9,18 +16,122 @@ import {
|
|||||||
getSleepTime,
|
getSleepTime,
|
||||||
isStatusCodeInRange
|
isStatusCodeInRange
|
||||||
} from '../util';
|
} from '../util';
|
||||||
|
import {disableBlockerInPage, enableBlockerInPage} from '../adblocker';
|
||||||
import {config} from '../config';
|
import {config} from '../config';
|
||||||
import {disableBlockerInPage} from '../adblocker';
|
|
||||||
import {fetchLinks} from './fetch-links';
|
import {fetchLinks} from './fetch-links';
|
||||||
import {filterStoreLink} from './filter';
|
import {filterStoreLink} from './filter';
|
||||||
import open from 'open';
|
import open from 'open';
|
||||||
import {processBackoffDelay} from './model/helpers/backoff';
|
import {processBackoffDelay} from './model/helpers/backoff';
|
||||||
import {sendNotification} from '../notification';
|
import {sendNotification} from '../notification';
|
||||||
|
import useProxy from 'puppeteer-page-proxy';
|
||||||
|
|
||||||
const inStock: Record<string, boolean> = {};
|
const inStock: Record<string, boolean> = {};
|
||||||
|
|
||||||
const linkBuilderLastRunTimes: Record<string, number> = {};
|
const linkBuilderLastRunTimes: Record<string, number> = {};
|
||||||
|
|
||||||
|
function nextProxy(store: Store) {
|
||||||
|
if (!store.proxyList) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (store.currentProxyIndex === undefined) {
|
||||||
|
store.currentProxyIndex = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
store.currentProxyIndex++;
|
||||||
|
if (store.currentProxyIndex >= store.proxyList.length) {
|
||||||
|
store.currentProxyIndex = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.info(
|
||||||
|
`ℹ [${store.name}] Next proxy index: ${store.currentProxyIndex} / Count: ${store.proxyList.length}`
|
||||||
|
);
|
||||||
|
|
||||||
|
return store.proxyList[store.currentProxyIndex];
|
||||||
|
}
|
||||||
|
|
||||||
|
async function handleLowBandwidth(request: Request) {
|
||||||
|
if (!config.browser.lowBandwidth) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
const typ = request.resourceType();
|
||||||
|
if (typ === 'font' || typ === 'image') {
|
||||||
|
try {
|
||||||
|
await request.abort();
|
||||||
|
} catch {}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
async function handleProxy(request: Request, proxy?: string) {
|
||||||
|
if (!proxy) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
await useProxy(request, proxy);
|
||||||
|
} catch (error: unknown) {
|
||||||
|
logger.error(error);
|
||||||
|
try {
|
||||||
|
await request.abort();
|
||||||
|
} catch {}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
async function handleAdBlock(request: Request, adBlockRequestHandler: any) {
|
||||||
|
if (!adBlockRequestHandler) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return new Promise((resolve) => {
|
||||||
|
const continueFunc = async () => {
|
||||||
|
resolve(false);
|
||||||
|
};
|
||||||
|
|
||||||
|
const abortFunc = async () => {
|
||||||
|
try {
|
||||||
|
await request.abort();
|
||||||
|
} catch {}
|
||||||
|
|
||||||
|
resolve(true);
|
||||||
|
};
|
||||||
|
|
||||||
|
const respondFunc = async (response: RespondOptions) => {
|
||||||
|
try {
|
||||||
|
await request.respond(response);
|
||||||
|
} catch {}
|
||||||
|
|
||||||
|
resolve(true);
|
||||||
|
};
|
||||||
|
|
||||||
|
const requestProxy = new Proxy(request, {
|
||||||
|
get(target, prop, receiver) {
|
||||||
|
if (prop === 'continue') {
|
||||||
|
return continueFunc;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (prop === 'abort') {
|
||||||
|
return abortFunc;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (prop === 'respond') {
|
||||||
|
return respondFunc;
|
||||||
|
}
|
||||||
|
|
||||||
|
return Reflect.get(target, prop, receiver);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
adBlockRequestHandler(requestProxy);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Responsible for looking up information about a each product within
|
* Responsible for looking up information about a each product within
|
||||||
* a `Store`. It's important that we ignore `no-await-in-loop` here
|
* a `Store`. It's important that we ignore `no-await-in-loop` here
|
||||||
@@ -34,6 +145,20 @@ async function lookup(browser: Browser, store: Store) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (store.linksBuilder) {
|
||||||
|
const lastRunTime = linkBuilderLastRunTimes[store.name] ?? -1;
|
||||||
|
const ttl = store.linksBuilder.ttl ?? Number.MAX_SAFE_INTEGER;
|
||||||
|
if (lastRunTime === -1 || Date.now() - lastRunTime > ttl) {
|
||||||
|
logger.info(`[${store.name}] Running linksBuilder...`);
|
||||||
|
try {
|
||||||
|
await fetchLinks(store, browser);
|
||||||
|
linkBuilderLastRunTimes[store.name] = Date.now();
|
||||||
|
} catch (error: unknown) {
|
||||||
|
logger.error(error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* eslint-disable no-await-in-loop */
|
/* eslint-disable no-await-in-loop */
|
||||||
for (const link of store.links) {
|
for (const link of store.links) {
|
||||||
if (!filterStoreLink(link)) {
|
if (!filterStoreLink(link)) {
|
||||||
@@ -45,36 +170,80 @@ async function lookup(browser: Browser, store: Store) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const context = config.browser.isIncognito
|
const proxy = nextProxy(store);
|
||||||
|
|
||||||
|
const useAdBlock =
|
||||||
|
!config.browser.lowBandwidth && !store.disableAdBlocker;
|
||||||
|
const customContext = config.browser.isIncognito;
|
||||||
|
|
||||||
|
const context = customContext
|
||||||
? await browser.createIncognitoBrowserContext()
|
? await browser.createIncognitoBrowserContext()
|
||||||
: browser.defaultBrowserContext();
|
: browser.defaultBrowserContext();
|
||||||
const page = config.browser.isIncognito
|
const page = await context.newPage();
|
||||||
? await context.newPage()
|
await page.setRequestInterception(true);
|
||||||
: await browser.newPage();
|
|
||||||
page.setDefaultNavigationTimeout(config.page.timeout);
|
|
||||||
await page.setUserAgent(getRandomUserAgent());
|
|
||||||
|
|
||||||
if (store.disableAdBlocker) {
|
page.setDefaultNavigationTimeout(config.page.timeout);
|
||||||
try {
|
await page.setUserAgent(await getRandomUserAgent());
|
||||||
await disableBlockerInPage(page);
|
|
||||||
} catch (error) {
|
let adBlockRequestHandler: any;
|
||||||
logger.error(error);
|
let pageProxy;
|
||||||
}
|
if (useAdBlock) {
|
||||||
|
const onProxyFunc = (event: keyof PageEventObj, handler: any) => {
|
||||||
|
if (event !== 'request') {
|
||||||
|
page.on(event, handler);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
adBlockRequestHandler = handler;
|
||||||
|
};
|
||||||
|
|
||||||
|
pageProxy = new Proxy(page, {
|
||||||
|
get(target, prop, receiver) {
|
||||||
|
if (prop === 'on') {
|
||||||
|
return onProxyFunc;
|
||||||
|
}
|
||||||
|
|
||||||
|
return Reflect.get(target, prop, receiver);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
await enableBlockerInPage(pageProxy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await page.setRequestInterception(true);
|
||||||
|
page.on('request', async (request) => {
|
||||||
|
if (await handleLowBandwidth(request)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (await handleAdBlock(request, adBlockRequestHandler)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (await handleProxy(request, proxy)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
await request.continue();
|
||||||
|
} catch {}
|
||||||
|
});
|
||||||
|
|
||||||
let statusCode = 0;
|
let statusCode = 0;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
statusCode = await lookupCard(browser, store, page, link);
|
statusCode = await lookupCard(browser, store, page, link);
|
||||||
} catch (error) {
|
} catch (error: unknown) {
|
||||||
logger.error(
|
logger.error(
|
||||||
`✖ [${store.name}] ${link.brand} ${link.series} ${link.model} - ${
|
`✖ [${store.name}] ${link.brand} ${link.series} ${
|
||||||
error.message as string
|
link.model
|
||||||
}`
|
} - ${(error as Error).message}`
|
||||||
);
|
);
|
||||||
const client = await page.target().createCDPSession();
|
const client = await page.target().createCDPSession();
|
||||||
await client.send('Network.clearBrowserCookies');
|
await client.send('Network.clearBrowserCookies');
|
||||||
await client.send('Network.clearBrowserCache');
|
}
|
||||||
|
|
||||||
|
if (pageProxy) {
|
||||||
|
await disableBlockerInPage(pageProxy);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Must apply backoff before closing the page, e.g. if CloudFlare is
|
// Must apply backoff before closing the page, e.g. if CloudFlare is
|
||||||
@@ -82,7 +251,7 @@ async function lookup(browser: Browser, store: Store) {
|
|||||||
// before redirecting to the next page
|
// before redirecting to the next page
|
||||||
await processBackoffDelay(store, link, statusCode);
|
await processBackoffDelay(store, link, statusCode);
|
||||||
await closePage(page);
|
await closePage(page);
|
||||||
if (config.browser.isIncognito) {
|
if (customContext) {
|
||||||
await context.close();
|
await context.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -118,15 +287,15 @@ async function lookupCard(
|
|||||||
|
|
||||||
if (await lookupCardInStock(store, page, link)) {
|
if (await lookupCardInStock(store, page, link)) {
|
||||||
const givenUrl =
|
const givenUrl =
|
||||||
link.cartUrl && config.store.autoAddToCart ? link.cartUrl : link.url;
|
link.cartUrl && config.store.autoAddToCart
|
||||||
|
? link.cartUrl
|
||||||
|
: link.url;
|
||||||
logger.info(`${Print.inStock(link, store, true)}\n${givenUrl}`);
|
logger.info(`${Print.inStock(link, store, true)}\n${givenUrl}`);
|
||||||
|
|
||||||
if (config.browser.open) {
|
if (config.browser.open) {
|
||||||
if (link.openCartAction === undefined) {
|
await (link.openCartAction === undefined
|
||||||
await open(givenUrl);
|
? open(givenUrl)
|
||||||
} else {
|
: link.openCartAction(browser));
|
||||||
await link.openCartAction(browser);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sendNotification(link, store);
|
sendNotification(link, store);
|
||||||
@@ -157,6 +326,56 @@ async function lookupCardInStock(store: Store, page: Page, link: Link) {
|
|||||||
type: 'textContent'
|
type: 'textContent'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (store.labels.captcha) {
|
||||||
|
if (await pageIncludesLabels(page, store.labels.captcha, baseOptions)) {
|
||||||
|
logger.warn(Print.captcha(link, store, true));
|
||||||
|
await delay(getSleepTime(store));
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (store.labels.bannedSeller) {
|
||||||
|
if (
|
||||||
|
await pageIncludesLabels(
|
||||||
|
page,
|
||||||
|
store.labels.bannedSeller,
|
||||||
|
baseOptions
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
logger.warn(Print.bannedSeller(link, store, true));
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (store.labels.maxPrice) {
|
||||||
|
const maxPrice = config.store.maxPrice.series[link.series];
|
||||||
|
|
||||||
|
link.price = await getPrice(page, store.labels.maxPrice, baseOptions);
|
||||||
|
|
||||||
|
if (link.price && link.price > maxPrice && maxPrice > 0) {
|
||||||
|
logger.info(Print.maxPrice(link, store, maxPrice, true));
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fixme: currently causing issues
|
||||||
|
// Do API inventory validation in realtime (no cache) if available
|
||||||
|
// if (
|
||||||
|
// store.realTimeInventoryLookup !== undefined &&
|
||||||
|
// link.itemNumber !== undefined
|
||||||
|
// ) {
|
||||||
|
// return store.realTimeInventoryLookup(link.itemNumber);
|
||||||
|
// }
|
||||||
|
|
||||||
|
if (store.labels.outOfStock) {
|
||||||
|
if (
|
||||||
|
await pageIncludesLabels(page, store.labels.outOfStock, baseOptions)
|
||||||
|
) {
|
||||||
|
logger.info(Print.outOfStock(link, store, true));
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (store.labels.inStock) {
|
if (store.labels.inStock) {
|
||||||
const options = {
|
const options = {
|
||||||
...baseOptions,
|
...baseOptions,
|
||||||
@@ -170,78 +389,34 @@ async function lookupCardInStock(store: Store, page: Page, link: Link) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.labels.outOfStock) {
|
if (link.labels?.inStock) {
|
||||||
if (await pageIncludesLabels(page, store.labels.outOfStock, baseOptions)) {
|
const options = {
|
||||||
|
...baseOptions,
|
||||||
|
requireVisible: true,
|
||||||
|
type: 'outerHTML' as const
|
||||||
|
};
|
||||||
|
|
||||||
|
if (!(await pageIncludesLabels(page, link.labels.inStock, options))) {
|
||||||
logger.info(Print.outOfStock(link, store, true));
|
logger.info(Print.outOfStock(link, store, true));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.labels.bannedSeller) {
|
|
||||||
if (
|
|
||||||
await pageIncludesLabels(page, store.labels.bannedSeller, baseOptions)
|
|
||||||
) {
|
|
||||||
logger.warn(Print.bannedSeller(link, store, true));
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (store.labels.maxPrice) {
|
|
||||||
const price = await cardPrice(
|
|
||||||
page,
|
|
||||||
store.labels.maxPrice,
|
|
||||||
config.store.maxPrice.series[link.series],
|
|
||||||
baseOptions
|
|
||||||
);
|
|
||||||
const maxPrice = config.store.maxPrice.series[link.series];
|
|
||||||
if (price) {
|
|
||||||
logger.info(Print.maxPrice(link, store, price, maxPrice, true));
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (store.labels.captcha) {
|
|
||||||
if (await pageIncludesLabels(page, store.labels.captcha, baseOptions)) {
|
|
||||||
logger.warn(Print.captcha(link, store, true));
|
|
||||||
await delay(getSleepTime(store));
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Do API inventory validation in realtime (no cache) if available
|
|
||||||
if (
|
|
||||||
store.realTimeInventoryLookup !== undefined &&
|
|
||||||
link.itemNumber !== undefined
|
|
||||||
) {
|
|
||||||
return store.realTimeInventoryLookup(link.itemNumber);
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function tryLookupAndLoop(browser: Browser, store: Store) {
|
export async function tryLookupAndLoop(browser: Browser, store: Store) {
|
||||||
if (!browser.isConnected()) {
|
if (!browser.isConnected()) {
|
||||||
logger.debug(`[${store.name}] Ending this loop as browser is disposed...`);
|
logger.debug(
|
||||||
|
`[${store.name}] Ending this loop as browser is disposed...`
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.linksBuilder) {
|
|
||||||
const lastRunTime = linkBuilderLastRunTimes[store.name] ?? -1;
|
|
||||||
const ttl = store.linksBuilder.ttl ?? Number.MAX_SAFE_INTEGER;
|
|
||||||
if (lastRunTime === -1 || Date.now() - lastRunTime > ttl) {
|
|
||||||
try {
|
|
||||||
await fetchLinks(store, browser);
|
|
||||||
linkBuilderLastRunTimes[store.name] = Date.now();
|
|
||||||
} catch (error) {
|
|
||||||
logger.error(error.message);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
logger.debug(`[${store.name}] Starting lookup...`);
|
logger.debug(`[${store.name}] Starting lookup...`);
|
||||||
try {
|
try {
|
||||||
await lookup(browser, store);
|
await lookup(browser, store);
|
||||||
} catch (error) {
|
} catch (error: unknown) {
|
||||||
logger.error(error);
|
logger.error(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const Adorama: Store = {
|
export const Adorama: Store = {
|
||||||
|
currency: '$',
|
||||||
labels: {
|
labels: {
|
||||||
captcha: {
|
captcha: {
|
||||||
container: 'body',
|
container: 'body',
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const AlternateNL: Store = {
|
export const AlternateNL: Store = {
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.stockStatus',
|
container: '.stockStatus',
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const Alternate: Store = {
|
export const Alternate: Store = {
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.stockStatus',
|
container: '.stockStatus',
|
||||||
@@ -15,17 +16,23 @@ export const Alternate: Store = {
|
|||||||
container: 'div.price > span',
|
container: 'div.price > span',
|
||||||
euroFormat: true
|
euroFormat: true
|
||||||
},
|
},
|
||||||
outOfStock: {
|
outOfStock: [
|
||||||
container: '.stockStatus',
|
{
|
||||||
text: ['liefertermin unbekannt']
|
container: '.stockStatus',
|
||||||
}
|
text: ['liefertermin unbekannt']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
container: '.stockStatus',
|
||||||
|
text: ['Artikel kann nicht gekauft werden']
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'test:model',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.alternate.de/product/1516616'
|
url: 'https://www.alternate.de/product/1662088'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
@@ -356,6 +363,66 @@ export const Alternate: Store = {
|
|||||||
model: 'ps5 digital',
|
model: 'ps5 digital',
|
||||||
series: 'sonyps5de',
|
series: 'sonyps5de',
|
||||||
url: 'https://www.alternate.de/product/1651221'
|
url: 'https://www.alternate.de/product/1651221'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'xfx',
|
||||||
|
model: 'merc',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.alternate.de/product/1698792'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
model: 'nitro oc se',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.alternate.de/product/1696478'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
model: 'nitro oc',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.alternate.de/product/1696482'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix lc',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.alternate.de/product/1695392'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.alternate.de/product/1697044'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: 'rx6900xt',
|
||||||
|
url: 'https://www.alternate.de/product/1702773'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6900xt',
|
||||||
|
url: 'https://www.alternate.de/product/1700508'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url: 'https://www.alternate.de/product/1675115'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url: 'https://www.alternate.de/product/1675117'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url: 'https://www.alternate.de/product/1676874'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'alternate'
|
name: 'alternate'
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const AmazonCa: Store = {
|
export const AmazonCa: Store = {
|
||||||
|
currency: '$',
|
||||||
labels: {
|
labels: {
|
||||||
captcha: {
|
captcha: {
|
||||||
container: 'body',
|
container: 'body',
|
||||||
@@ -11,160 +12,265 @@ export const AmazonCa: Store = {
|
|||||||
text: ['add to cart']
|
text: ['add to cart']
|
||||||
},
|
},
|
||||||
maxPrice: {
|
maxPrice: {
|
||||||
container: 'span[class*="PriceString"]',
|
container: '#priceblock_ourprice'
|
||||||
euroFormat: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B07PBLD2MX&Quantity.1=1',
|
||||||
model: 'test:model',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.amazon.ca/dp/B07PBLD2MX'
|
url: 'https://www.amazon.ca/dp/B07PBLD2MX'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08KWN2LZG&Quantity.1=1',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.ca/dp/B08KWN2LZG'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08KWLMZV4&Quantity.1=1',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.ca/dp/B08KWLMZV4'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08LW46GH2&Quantity.1=1',
|
||||||
|
model: 'xc3',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.ca/dp/B08LW46GH2'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08L8L71SM&Quantity.1=1',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.ca/dp/B08L8L71SM'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08L8L9TCZ&Quantity.1=1',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.ca/dp/B08L8L9TCZ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HR7SV3M&Quantity.1=1',
|
||||||
model: 'gaming x trio',
|
model: 'gaming x trio',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HR7SV3M'
|
url: 'https://www.amazon.ca/dp/B08HR7SV3M'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HR5SXPS&Quantity.1=1',
|
||||||
model: 'ventus 3x oc',
|
model: 'ventus 3x oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HR5SXPS'
|
url: 'https://www.amazon.ca/dp/B08HR5SXPS'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HR3DPGW&Quantity.1=1',
|
||||||
model: 'ftw3',
|
model: 'ftw3',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HR3DPGW'
|
url: 'https://www.amazon.ca/dp/B08HR3DPGW'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HR3Y5GQ&Quantity.1=1',
|
||||||
model: 'ftw3 ultra',
|
model: 'ftw3 ultra',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HR3Y5GQ'
|
url: 'https://www.amazon.ca/dp/B08HR3Y5GQ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HR55YB5&Quantity.1=1',
|
||||||
model: 'xc3 ultra',
|
model: 'xc3 ultra',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HR55YB5'
|
url: 'https://www.amazon.ca/dp/B08HR55YB5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HR4RJ3Q&Quantity.1=1',
|
||||||
model: 'xc3',
|
model: 'xc3',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HR4RJ3Q'
|
url: 'https://www.amazon.ca/dp/B08HR4RJ3Q'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HR6FMF3&Quantity.1=1',
|
||||||
model: 'xc3 black',
|
model: 'xc3 black',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HR6FMF3'
|
url: 'https://www.amazon.ca/dp/B08HR6FMF3'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HJTH61J&Quantity.1=1',
|
||||||
model: 'gaming oc',
|
model: 'gaming oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HJTH61J'
|
url: 'https://www.amazon.ca/dp/B08HJTH61J'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HJS2JLJ&Quantity.1=1',
|
||||||
model: 'eagle oc',
|
model: 'eagle oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HJS2JLJ'
|
url: 'https://www.amazon.ca/dp/B08HJS2JLJ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HHDP9DW&Quantity.1=1',
|
||||||
model: 'tuf',
|
model: 'tuf',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HHDP9DW'
|
url: 'https://www.amazon.ca/dp/B08HHDP9DW'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HH5WF97&Quantity.1=1',
|
||||||
model: 'tuf oc',
|
model: 'tuf oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HH5WF97'
|
url: 'https://www.amazon.ca/dp/B08HH5WF97'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'zotac',
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HJNKT3P&Quantity.1=1',
|
||||||
model: 'trinity',
|
model: 'trinity',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.ca/dp/B08HJNKT3P'
|
url: 'https://www.amazon.ca/dp/B08HJNKT3P'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'zotac',
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HJQ182D&Quantity.1=1',
|
||||||
model: 'trinity',
|
model: 'trinity',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.ca/dp/B08HJQ182D'
|
url: 'https://www.amazon.ca/dp/B08HJQ182D'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HR9D2JS&Quantity.1=1',
|
||||||
model: 'ventus 3x oc',
|
model: 'ventus 3x oc',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.ca/dp/B08HR9D2JS'
|
url: 'https://www.amazon.ca/dp/B08HR9D2JS'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HJRF2CN&Quantity.1=1',
|
||||||
model: 'gaming oc',
|
model: 'gaming oc',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.ca/dp/B08HJRF2CN'
|
url: 'https://www.amazon.ca/dp/B08HJRF2CN'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HJPDJTY&Quantity.1=1',
|
||||||
model: 'eagle oc',
|
model: 'eagle oc',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.ca/dp/B08HJPDJTY'
|
url: 'https://www.amazon.ca/dp/B08HJPDJTY'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HJGNJ81&Quantity.1=1',
|
||||||
model: 'tuf',
|
model: 'tuf',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.ca/dp/B08HJGNJ81'
|
url: 'https://www.amazon.ca/dp/B08HJGNJ81'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08HJLLF7G&Quantity.1=1',
|
||||||
model: 'tuf oc',
|
model: 'tuf oc',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.ca/dp/B08HJLLF7G'
|
url: 'https://www.amazon.ca/dp/B08HJLLF7G'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08166SLDF&Quantity.1=1',
|
||||||
model: '5600x',
|
model: '5600x',
|
||||||
series: 'ryzen5600',
|
series: 'ryzen5600',
|
||||||
url: 'https://www.amazon.ca/dp/B08166SLDF'
|
url: 'https://www.amazon.ca/dp/B08166SLDF'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B0815XFSGK&Quantity.1=1',
|
||||||
model: '5800x',
|
model: '5800x',
|
||||||
series: 'ryzen5800',
|
series: 'ryzen5800',
|
||||||
url: 'https://www.amazon.ca/dp/B0815XFSGK'
|
url: 'https://www.amazon.ca/dp/B0815XFSGK'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08164VTWH&Quantity.1=1',
|
||||||
model: '5900x',
|
model: '5900x',
|
||||||
series: 'ryzen5900',
|
series: 'ryzen5900',
|
||||||
url: 'https://www.amazon.ca/dp/B08164VTWH'
|
url: 'https://www.amazon.ca/dp/B08164VTWH'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B0815Y8J9N&Quantity.1=1',
|
||||||
model: '5950x',
|
model: '5950x',
|
||||||
series: 'ryzen5950',
|
series: 'ryzen5950',
|
||||||
url: 'https://www.amazon.ca/dp/B0815Y8J9N'
|
url: 'https://www.amazon.ca/dp/B0815Y8J9N'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'sony',
|
brand: 'sony',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08GSC5D9G&Quantity.1=1',
|
||||||
model: 'ps5 console',
|
model: 'ps5 console',
|
||||||
series: 'sonyps5c',
|
series: 'sonyps5c',
|
||||||
url: 'https://www.amazon.ca/dp/B08GSC5D9G'
|
url: 'https://www.amazon.ca/dp/B08GSC5D9G'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'sony',
|
brand: 'sony',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08GS1N24H&Quantity.1=1',
|
||||||
model: 'ps5 digital',
|
model: 'ps5 digital',
|
||||||
series: 'sonyps5de',
|
series: 'sonyps5de',
|
||||||
url: 'https://www.amazon.ca/dp/B08GS1N24H'
|
url: 'https://www.amazon.ca/dp/B08GS1N24H'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08H75RTZ8&Quantity.1=1',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url: 'https://www.amazon.ca/dp/B08H75RTZ8'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.ca/gp/aws/cart/add.html?ASIN.1=B08G9J44ZN&Quantity.1=1',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url: 'https://www.amazon.ca/dp/B08G9J44ZN'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'amazon-ca'
|
name: 'amazon-ca'
|
||||||
|
|||||||
@@ -0,0 +1,64 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const AmazonDeWarehouse: Store = {
|
||||||
|
backoffStatusCodes: [403, 429, 503],
|
||||||
|
currency: '€',
|
||||||
|
labels: {
|
||||||
|
captcha: {
|
||||||
|
container: 'body',
|
||||||
|
text: [
|
||||||
|
'geben sie die unten angezeigten zeichen ein',
|
||||||
|
'geben sie die zeichen unten ein'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
inStock: {
|
||||||
|
container: '#a-autoid-0-announce',
|
||||||
|
text: ['In den Einkaufswagen']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: 'a-size-large a-color-price olpOfferPrice a-text-bold',
|
||||||
|
euroFormat: true
|
||||||
|
},
|
||||||
|
outOfStock: [
|
||||||
|
{
|
||||||
|
container: '.a-size-medium',
|
||||||
|
text: [
|
||||||
|
'Derzeit gibt es keine Verkäufer, die diesen Artikel an Ihren Standort liefern können'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url: 'https://www.amazon.de/gp/offer-listing/B07PW9VBK5'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url: 'https://www.amazon.de/gp/offer-listing/B08H93ZRK9'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url: 'https://www.amazon.de/gp/offer-listing/B08H98GVK8'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url: 'https://www.amazon.de/gp/offer-listing/B087VM5XC6'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url: 'https://www.amazon.de/gp/offer-listing/B08H93ZRLL'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'amazon-de-warehouse'
|
||||||
|
};
|
||||||
@@ -2,6 +2,7 @@ import {Store} from './store';
|
|||||||
|
|
||||||
export const AmazonDe: Store = {
|
export const AmazonDe: Store = {
|
||||||
backoffStatusCodes: [403, 429, 503],
|
backoffStatusCodes: [403, 429, 503],
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
captcha: {
|
captcha: {
|
||||||
container: 'body',
|
container: 'body',
|
||||||
@@ -11,386 +12,546 @@ export const AmazonDe: Store = {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '#desktop_buybox',
|
container: '#add-to-cart-button',
|
||||||
text: ['in den einkaufswagen']
|
text: ['in den einkaufswagen']
|
||||||
},
|
},
|
||||||
maxPrice: {
|
maxPrice: {
|
||||||
container: 'span[class*="PriceString"]',
|
container: '#priceblock_ourprice',
|
||||||
euroFormat: true
|
euroFormat: true
|
||||||
}
|
},
|
||||||
|
outOfStock: [
|
||||||
|
{
|
||||||
|
container: '#availability',
|
||||||
|
text: ['Derzeit nicht verfügbar']
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B07PW9VBK5&Quantity.1=1',
|
||||||
model: 'test:model',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.amazon.de/dp/B083JX52VG/'
|
url: 'https://www.amazon.de/dp/B07PW9VBK5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HN7VVLJ&Quantity.1=1',
|
||||||
model: 'strix',
|
model: 'strix',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HN7VVLJ'
|
url: 'https://www.amazon.de/dp/B08HN7VVLJ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HN6KYS3&Quantity.1=1',
|
||||||
model: 'strix oc',
|
model: 'strix oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HN6KYS3'
|
url: 'https://www.amazon.de/dp/B08HN6KYS3'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HN37VQK&Quantity.1=1',
|
||||||
model: 'tuf',
|
model: 'tuf',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HN37VQK'
|
url: 'https://www.amazon.de/dp/B08HN37VQK'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HN4DSTC&Quantity.1=1',
|
||||||
model: 'tuf oc',
|
model: 'tuf oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HN4DSTC'
|
url: 'https://www.amazon.de/dp/B08HN4DSTC'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HGBYWQ6&Quantity.1=1',
|
||||||
model: 'ftw3',
|
model: 'ftw3',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HGBYWQ6'
|
url: 'https://www.amazon.de/dp/B08HGBYWQ6'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HGYXP4C&Quantity.1=1',
|
||||||
model: 'ftw3 ultra',
|
model: 'ftw3 ultra',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HGYXP4C'
|
url: 'https://www.amazon.de/dp/B08HGYXP4C'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HGLN78Q&Quantity.1=1',
|
||||||
model: 'xc3',
|
model: 'xc3',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HGLN78Q'
|
url: 'https://www.amazon.de/dp/B08HGLN78Q'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HH1BMQQ&Quantity.1=1',
|
||||||
model: 'xc3 black',
|
model: 'xc3 black',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HH1BMQQ'
|
url: 'https://www.amazon.de/dp/B08HH1BMQQ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HJ9XFNM&Quantity.1=1',
|
||||||
model: 'xc3 ultra',
|
model: 'xc3 ultra',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HJ9XFNM'
|
url: 'https://www.amazon.de/dp/B08HJ9XFNM'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08KHLDS72&Quantity.1=1',
|
||||||
model: 'aorus master',
|
model: 'aorus master',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08KHLDS72'
|
url: 'https://www.amazon.de/dp/B08KHLDS72'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HHZVZ3N&Quantity.1=1',
|
||||||
model: 'eagle oc',
|
model: 'eagle oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HHZVZ3N'
|
url: 'https://www.amazon.de/dp/B08HHZVZ3N'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HLZXHZY&Quantity.1=1',
|
||||||
model: 'gaming oc',
|
model: 'gaming oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HLZXHZY'
|
url: 'https://www.amazon.de/dp/B08HLZXHZY'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08KH7RL89&Quantity.1=1',
|
||||||
model: 'vision oc',
|
model: 'vision oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08KH7RL89'
|
url: 'https://www.amazon.de/dp/B08KH7RL89'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'inno3d',
|
brand: 'inno3d',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08JD6QPXD&Quantity.1=1',
|
||||||
model: 'twin x2 oc',
|
model: 'twin x2 oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08JD6QPXD'
|
url: 'https://www.amazon.de/dp/B08JD6QPXD'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HM4V2DH&Quantity.1=1',
|
||||||
model: 'gaming x trio',
|
model: 'gaming x trio',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HM4V2DH'
|
url: 'https://www.amazon.de/dp/B08HM4V2DH'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HM4M621&Quantity.1=1',
|
||||||
model: 'ventus 3x oc',
|
model: 'ventus 3x oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HM4M621'
|
url: 'https://www.amazon.de/dp/B08HM4M621'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'palit',
|
brand: 'palit',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08JCVWTQY&Quantity.1=1',
|
||||||
model: 'gaming pro',
|
model: 'gaming pro',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08JCVWTQY'
|
url: 'https://www.amazon.de/dp/B08JCVWTQY'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'palit',
|
brand: 'palit',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08JCKYYL8&Quantity.1=1',
|
||||||
model: 'gaming pro oc',
|
model: 'gaming pro oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08JCKYYL8'
|
url: 'https://www.amazon.de/dp/B08JCKYYL8'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'zotac',
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HR1NPPQ&Quantity.1=1',
|
||||||
model: 'trinity',
|
model: 'trinity',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.de/dp/B08HR1NPPQ'
|
url: 'https://www.amazon.de/dp/B08HR1NPPQ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HN642LY&Quantity.1=1',
|
||||||
model: 'strix',
|
model: 'strix',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HN642LY'
|
url: 'https://www.amazon.de/dp/B08HN642LY'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HN51T8Q&Quantity.1=1',
|
||||||
model: 'strix oc',
|
model: 'strix oc',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HN51T8Q'
|
url: 'https://www.amazon.de/dp/B08HN51T8Q'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HN4FLFJ&Quantity.1=1',
|
||||||
model: 'tuf',
|
model: 'tuf',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HN4FLFJ'
|
url: 'https://www.amazon.de/dp/B08HN4FLFJ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HN5B8FJ&Quantity.1=1',
|
||||||
model: 'tuf oc',
|
model: 'tuf oc',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HN5B8FJ'
|
url: 'https://www.amazon.de/dp/B08HN5B8FJ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HGFNPJQ&Quantity.1=1',
|
||||||
model: 'ftw3',
|
model: 'ftw3',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HGFNPJQ'
|
url: 'https://www.amazon.de/dp/B08HGFNPJQ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08J5NMDP7&Quantity.1=1',
|
||||||
model: 'ftw3',
|
model: 'ftw3',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08J5NMDP7'
|
url: 'https://www.amazon.de/dp/B08J5NMDP7'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HGS1SXH&Quantity.1=1',
|
||||||
model: 'ftw3 ultra',
|
model: 'ftw3 ultra',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HGS1SXH'
|
url: 'https://www.amazon.de/dp/B08HGS1SXH'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HGZ4XSZ&Quantity.1=1',
|
||||||
model: 'xc3',
|
model: 'xc3',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HGZ4XSZ'
|
url: 'https://www.amazon.de/dp/B08HGZ4XSZ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HGKQ527&Quantity.1=1',
|
||||||
model: 'xc3 black',
|
model: 'xc3 black',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HGKQ527'
|
url: 'https://www.amazon.de/dp/B08HGKQ527'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HGTNDL4&Quantity.1=1',
|
||||||
model: 'xc3 ultra',
|
model: 'xc3 ultra',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HGTNDL4'
|
url: 'https://www.amazon.de/dp/B08HGTNDL4'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08KH7R4FQ&Quantity.1=1',
|
||||||
model: 'aorus master',
|
model: 'aorus master',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08KH7R4FQ'
|
url: 'https://www.amazon.de/dp/B08KH7R4FQ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HJPDJTY&Quantity.1=1',
|
||||||
model: 'eagle oc',
|
model: 'eagle oc',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HJPDJTY'
|
url: 'https://www.amazon.de/dp/B08HJPDJTY'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08KHKDTSJ&Quantity.1=1',
|
||||||
model: 'turbo',
|
model: 'turbo',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08KHKDTSJ'
|
url: 'https://www.amazon.de/dp/B08KHKDTSJ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HJRF2CN&Quantity.1=1',
|
||||||
model: 'gaming oc',
|
model: 'gaming oc',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HJRF2CN'
|
url: 'https://www.amazon.de/dp/B08HJRF2CN'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HRBW6VB&Quantity.1=1',
|
||||||
model: 'gaming x trio',
|
model: 'gaming x trio',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HRBW6VB'
|
url: 'https://www.amazon.de/dp/B08HRBW6VB'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HM661YM&Quantity.1=1',
|
||||||
model: 'ventus 3x oc',
|
model: 'ventus 3x oc',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HM661YM'
|
url: 'https://www.amazon.de/dp/B08HM661YM'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'palit',
|
brand: 'palit',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08JQQ1VD1&Quantity.1=1',
|
||||||
model: 'gaming pro',
|
model: 'gaming pro',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08JQQ1VD1'
|
url: 'https://www.amazon.de/dp/B08JQQ1VD1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'nvidia',
|
brand: 'nvidia',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HR6ZBYJ&Quantity.1=1',
|
||||||
model: 'founders edition',
|
model: 'founders edition',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HR6ZBYJ'
|
url: 'https://www.amazon.de/dp/B08HR6ZBYJ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'zotac',
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HJQ182D&Quantity.1=1',
|
||||||
model: 'trinity',
|
model: 'trinity',
|
||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.de/dp/B08HJQ182D'
|
url: 'https://www.amazon.de/dp/B08HJQ182D'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HSJ1622&Quantity.1=1',
|
||||||
model: 'dual',
|
model: 'dual',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08HSJ1622'
|
url: 'https://www.amazon.de/dp/B08HSJ1622'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08KHFZN9P&Quantity.1=1',
|
||||||
model: 'dual oc',
|
model: 'dual oc',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08KHFZN9P'
|
url: 'https://www.amazon.de/dp/B08KHFZN9P'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HT7PR9Y&Quantity.1=1',
|
||||||
model: 'strix',
|
model: 'strix',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08HT7PR9Y'
|
url: 'https://www.amazon.de/dp/B08HT7PR9Y'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08L8JNTXQ&Quantity.1=1',
|
||||||
model: 'strix oc',
|
model: 'strix oc',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08L8JNTXQ'
|
url: 'https://www.amazon.de/dp/B08L8JNTXQ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08KWPDXJZ&Quantity.1=1',
|
||||||
model: 'ventus 2x oc',
|
model: 'ventus 2x oc',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08KWPDXJZ'
|
url: 'https://www.amazon.de/dp/B08KWPDXJZ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08L6PCZTR&Quantity.1=1',
|
||||||
model: 'ventus 3x oc',
|
model: 'ventus 3x oc',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08L6PCZTR'
|
url: 'https://www.amazon.de/dp/B08L6PCZTR'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08KWN2LZG&Quantity.1=1',
|
||||||
model: 'gaming x trio',
|
model: 'gaming x trio',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08KWN2LZG'
|
url: 'https://www.amazon.de/dp/B08KWN2LZG'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08M13DXSZ&Quantity.1=1',
|
||||||
model: 'vision oc',
|
model: 'vision oc',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08M13DXSZ'
|
url: 'https://www.amazon.de/dp/B08M13DXSZ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08KHL21CV&Quantity.1=1',
|
||||||
model: 'gaming oc',
|
model: 'gaming oc',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08KHL21CV'
|
url: 'https://www.amazon.de/dp/B08KHL21CV'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08KHL2J5X&Quantity.1=1',
|
||||||
model: 'eagle oc',
|
model: 'eagle oc',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08KHL2J5X'
|
url: 'https://www.amazon.de/dp/B08KHL2J5X'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08L3QCZKZ&Quantity.1=1',
|
||||||
model: 'xc3 black',
|
model: 'xc3 black',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08L3QCZKZ'
|
url: 'https://www.amazon.de/dp/B08L3QCZKZ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08L3QZP7W&Quantity.1=1',
|
||||||
model: 'xc3',
|
model: 'xc3',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08L3QZP7W'
|
url: 'https://www.amazon.de/dp/B08L3QZP7W'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08L3Q41SM&Quantity.1=1',
|
||||||
model: 'xc3 ultra',
|
model: 'xc3 ultra',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08L3Q41SM'
|
url: 'https://www.amazon.de/dp/B08L3Q41SM'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'zotac',
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HRBR7K9&Quantity.1=1',
|
||||||
model: 'twin edge',
|
model: 'twin edge',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08HRBR7K9'
|
url: 'https://www.amazon.de/dp/B08HRBR7K9'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'zotac',
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08LBVNKT1&Quantity.1=1',
|
||||||
model: 'twin edge oc',
|
model: 'twin edge oc',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08LBVNKT1'
|
url: 'https://www.amazon.de/dp/B08LBVNKT1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'pny',
|
brand: 'pny',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HBF5L3K&Quantity.1=1',
|
||||||
model: 'dual fan',
|
model: 'dual fan',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08HBF5L3K'
|
url: 'https://www.amazon.de/dp/B08HBF5L3K'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'pny',
|
brand: 'pny',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08HBJB7YD&Quantity.1=1',
|
||||||
model: 'xlr8 revel',
|
model: 'xlr8 revel',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.de/dp/B08HBJB7YD'
|
url: 'https://www.amazon.de/dp/B08HBJB7YD'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08166SLDF&Quantity.1=1',
|
||||||
model: '5600x',
|
model: '5600x',
|
||||||
series: 'ryzen5600',
|
series: 'ryzen5600',
|
||||||
url: 'https://www.amazon.de/dp/B08166SLDF'
|
url: 'https://www.amazon.de/dp/B08166SLDF'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B0815XFSGK&Quantity.1=1',
|
||||||
model: '5800x',
|
model: '5800x',
|
||||||
series: 'ryzen5800',
|
series: 'ryzen5800',
|
||||||
url: 'https://www.amazon.de/dp/B0815XFSGK'
|
url: 'https://www.amazon.de/dp/B0815XFSGK'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08164VTWH&Quantity.1=1',
|
||||||
model: '5900x',
|
model: '5900x',
|
||||||
series: 'ryzen5900',
|
series: 'ryzen5900',
|
||||||
url: 'https://www.amazon.de/dp/B08164VTWH'
|
url: 'https://www.amazon.de/dp/B08164VTWH'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B0815Y8J9N&Quantity.1=1',
|
||||||
model: '5950x',
|
model: '5950x',
|
||||||
series: 'ryzen5950',
|
series: 'ryzen5950',
|
||||||
url: 'https://www.amazon.de/dp/B0815Y8J9N'
|
url: 'https://www.amazon.de/dp/B0815Y8J9N'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'sony',
|
brand: 'sony',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08H93ZRK9&Quantity.1=1',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '#productTitle',
|
||||||
|
text: ['sony playstation 5']
|
||||||
|
}
|
||||||
|
},
|
||||||
model: 'ps5 console',
|
model: 'ps5 console',
|
||||||
series: 'sonyps5c',
|
series: 'sonyps5c',
|
||||||
url: 'https://www.amazon.de/dp/B08H93ZRK9'
|
url: 'https://www.amazon.de/dp/B08H93ZRK9'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'sony',
|
brand: 'sony',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08H98GVK8&Quantity.1=1',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '#productTitle',
|
||||||
|
text: ['sony playstation 5']
|
||||||
|
}
|
||||||
|
},
|
||||||
model: 'ps5 digital',
|
model: 'ps5 digital',
|
||||||
series: 'sonyps5de',
|
series: 'sonyps5de',
|
||||||
url: 'https://www.amazon.de/dp/B08H98GVK8'
|
url: 'https://www.amazon.de/dp/B08H98GVK8'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
// Fixme: disabled because of #1095, enable when working again
|
||||||
|
// cartUrl:
|
||||||
|
// 'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B08H93ZRLL&Quantity.1=1',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url: 'https://www.amazon.de/dp/B08H93ZRLL'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
// Fixme: disabled because of #1095, enable when working again
|
||||||
|
// cartUrl:
|
||||||
|
// 'https://www.amazon.de/gp/aws/cart/add.html?ASIN.1=B087VM5XC6&Quantity.1=1',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url: 'https://www.amazon.de/dp/B087VM5XC6'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'amazon-de'
|
name: 'amazon-de'
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const AmazonEs: Store = {
|
export const AmazonEs: Store = {
|
||||||
|
backoffStatusCodes: [403, 429, 503],
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
captcha: {
|
captcha: {
|
||||||
container: 'body',
|
container: 'body',
|
||||||
@@ -11,94 +13,191 @@ export const AmazonEs: Store = {
|
|||||||
text: ['añadir a la cesta']
|
text: ['añadir a la cesta']
|
||||||
},
|
},
|
||||||
maxPrice: {
|
maxPrice: {
|
||||||
container: 'span[class*="PriceString"]',
|
container: '#priceblock_ourprice'
|
||||||
euroFormat: true
|
},
|
||||||
}
|
outOfStock: [
|
||||||
|
{
|
||||||
|
container: '#availability',
|
||||||
|
text: ['No disponible']
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B07PW9VBK5&Quantity.1=1',
|
||||||
model: 'test:model',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.amazon.es/dp/B083JX52VG/'
|
url: 'https://www.amazon.es/dp/B07PW9VBK5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HM4V2DH&Quantity.1=1',
|
||||||
model: 'gaming x trio',
|
model: 'gaming x trio',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HM4V2DH'
|
url: 'https://www.amazon.es/dp/B08HM4V2DH'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HGYXP4C&Quantity.1=1',
|
||||||
model: 'ftw3 ultra',
|
model: 'ftw3 ultra',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HGYXP4C'
|
url: 'https://www.amazon.es/dp/B08HGYXP4C'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HJ9XFNM&Quantity.1=1',
|
||||||
model: 'xc3 ultra',
|
model: 'xc3 ultra',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HJ9XFNM'
|
url: 'https://www.amazon.es/dp/B08HJ9XFNM'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HGBYWQ6&Quantity.1=1',
|
||||||
model: 'ftw3',
|
model: 'ftw3',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HGBYWQ6'
|
url: 'https://www.amazon.es/dp/B08HGBYWQ6'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HGLN78Q&Quantity.1=1',
|
||||||
model: 'xc3',
|
model: 'xc3',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HGLN78Q'
|
url: 'https://www.amazon.es/dp/B08HGLN78Q'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HH1BMQQ&Quantity.1=1',
|
||||||
model: 'xc3 black',
|
model: 'xc3 black',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HH1BMQQ'
|
url: 'https://www.amazon.es/dp/B08HH1BMQQ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HLZXHZY&Quantity.1=1',
|
||||||
model: 'gaming oc',
|
model: 'gaming oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HLZXHZY'
|
url: 'https://www.amazon.es/dp/B08HLZXHZY'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HHZVZ3N&Quantity.1=1',
|
||||||
model: 'eagle oc',
|
model: 'eagle oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HHZVZ3N'
|
url: 'https://www.amazon.es/dp/B08HHZVZ3N'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HN37VQK&Quantity.1=1',
|
||||||
model: 'tuf',
|
model: 'tuf',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HN37VQK'
|
url: 'https://www.amazon.es/dp/B08HN37VQK'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HN4DSTC&Quantity.1=1',
|
||||||
model: 'tuf oc',
|
model: 'tuf oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HN4DSTC'
|
url: 'https://www.amazon.es/dp/B08HN4DSTC'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HN6KYS3&Quantity.1=1',
|
||||||
model: 'strix oc',
|
model: 'strix oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HN6KYS3'
|
url: 'https://www.amazon.es/dp/B08HN6KYS3'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HM4M621&Quantity.1=1',
|
||||||
model: 'ventus 3x oc',
|
model: 'ventus 3x oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HM4M621'
|
url: 'https://www.amazon.es/dp/B08HM4M621'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'zotac',
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HR1NPPQ&Quantity.1=1',
|
||||||
model: 'trinity',
|
model: 'trinity',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.es/dp/B08HR1NPPQ'
|
url: 'https://www.amazon.es/dp/B08HR1NPPQ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08166SLDF&Quantity.1=1',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url: 'https://www.amazon.es/dp/B08166SLDF'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B0815XFSGK&Quantity.1=1',
|
||||||
|
model: '5800x',
|
||||||
|
series: 'ryzen5800',
|
||||||
|
url: 'https://www.amazon.es/dp/B0815XFSGK'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08164VTWH&Quantity.1=1',
|
||||||
|
model: '5900x',
|
||||||
|
series: 'ryzen5900',
|
||||||
|
url: 'https://www.amazon.es/dp/B08164VTWH'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B0815Y8J9N&Quantity.1=1',
|
||||||
|
model: '5950x',
|
||||||
|
series: 'ryzen5950',
|
||||||
|
url: 'https://www.amazon.es/dp/B0815Y8J9N'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08KKJ37F7&Quantity.1=1',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url: 'https://www.amazon.es/dp/B08KKJ37F7'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08KJF2D25&Quantity.1=1',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url: 'https://www.amazon.es/dp/B08KJF2D25'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08H93ZRLL&Quantity.1=1',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url: 'https://www.amazon.es/dp/B08H93ZRLL'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B087VM5XC6&Quantity.1=1',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url: 'https://www.amazon.es/dp/B087VM5XC6'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'amazon-es'
|
name: 'amazon-es'
|
||||||
|
|||||||
@@ -0,0 +1,191 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const AmazonFr: Store = {
|
||||||
|
backoffStatusCodes: [403, 429, 503],
|
||||||
|
currency: '€',
|
||||||
|
labels: {
|
||||||
|
captcha: {
|
||||||
|
container: 'body',
|
||||||
|
text: ['entrez les caractères que vous voyez ci-dessous']
|
||||||
|
},
|
||||||
|
inStock: {
|
||||||
|
container: '#desktop_buybox',
|
||||||
|
text: ['ajouter au panier']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: '#priceblock_ourprice',
|
||||||
|
euroFormat: true
|
||||||
|
},
|
||||||
|
outOfStock: [
|
||||||
|
{
|
||||||
|
container: '#availability',
|
||||||
|
text: ['Actuellement indisponible']
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url: 'https://www.amazon.fr/dp/B07PW9VBK5'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HR7SV3M'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HR5SXPS'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HR3DPGW'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HR3Y5GQ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HR55YB5'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HR4RJ3Q'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 black',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HR6FMF3'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HJTH61J'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HJS2JLJ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HHDP9DW'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HH5WF97'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HJNKT3P'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HJQ182D'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HR9D2JS'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HJRF2CN'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HJPDJTY'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HJGNJ81'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08HJLLF7G'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08166SLDF'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5800x',
|
||||||
|
series: 'ryzen5800',
|
||||||
|
url: 'https://www.amazon.fr/dp/B0815XFSGK'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5900x',
|
||||||
|
series: 'ryzen5900',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08164VTWH'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5950x',
|
||||||
|
series: 'ryzen5950',
|
||||||
|
url: 'https://www.amazon.fr/dp/B0815Y8J9N'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08H93ZRK9'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08H98GVK8'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url: 'https://www.amazon.fr/dp/B08H93ZRLL'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url: 'https://www.amazon.fr/dp/B087VM5XC6'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'amazon-fr'
|
||||||
|
};
|
||||||
@@ -0,0 +1,417 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const AmazonIt: Store = {
|
||||||
|
backoffStatusCodes: [403, 429, 503],
|
||||||
|
currency: '€',
|
||||||
|
labels: {
|
||||||
|
captcha: {
|
||||||
|
container: 'body',
|
||||||
|
text: [
|
||||||
|
'Inserisci i caratteri visualizzati nello spazio sottostante'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
inStock: {
|
||||||
|
container: '#desktop_buybox',
|
||||||
|
text: ['Aggiungi al carrello']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: '#priceblock_ourprice',
|
||||||
|
euroFormat: true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08KHFZN9P&Quantity.1=1',
|
||||||
|
model: 'dual',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08KHFZN9P'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08L8HPKR6&Quantity.1=1',
|
||||||
|
model: 'dual',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08L8HPKR6'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08L8JNTXQ&Quantity.1=1',
|
||||||
|
model: 'strix',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08L8JNTXQ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08L8KC1J7&Quantity.1=1',
|
||||||
|
model: 'tuf',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08L8KC1J7'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08KY266MG&Quantity.1=1',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08KY266MG'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08KWN2LZG&Quantity.1=1',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08KWN2LZG'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HBJB7YD&Quantity.1=1',
|
||||||
|
model: 'xlr8 revel',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HBJB7YD'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HBF5L3K&Quantity.1=1',
|
||||||
|
model: 'xlr8 uprising',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HBF5L3K'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08KWPDXJZ&Quantity.1=1',
|
||||||
|
model: 'ventus 2x oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08KWPDXJZ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08KWLMZV4&Quantity.1=1',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08KWLMZV4'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08LF32LJ6&Quantity.1=1',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08LF32LJ6'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08L8L71SM&Quantity.1=1',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08L8L71SM'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08L8L9TCZ&Quantity.1=1',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08L8L9TCZ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08KY266MG&Quantity.1=1',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08KY266MG'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08M13DXSZ&Quantity.1=1',
|
||||||
|
model: 'vision oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08M13DXSZ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08KXZV626&Quantity.1=1',
|
||||||
|
model: 'eagle',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.it/dp/B08KXZV626'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HBR7QBM&Quantity.1=1',
|
||||||
|
model: 'xlr8 revel',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HBR7QBM'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HBTJMLJ&Quantity.1=1',
|
||||||
|
model: 'xlr8 revel',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HBTJMLJ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HR3Y5GQ&Quantity.1=1',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HR3Y5GQ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HR55YB5&Quantity.1=1',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HR55YB5'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HR4RJ3Q&Quantity.1=1',
|
||||||
|
model: 'xc3',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HR4RJ3Q'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HR6FMF3&Quantity.1=1',
|
||||||
|
model: 'xc3 black',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HR6FMF3'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HJTH61J&Quantity.1=1',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HJTH61J'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HJS2JLJ&Quantity.1=1',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HJS2JLJ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HH5WF97&Quantity.1=1',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HH5WF97'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HHDP9DW&Quantity.1=1',
|
||||||
|
model: 'tuf',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HHDP9DW'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08J6GMWCQ&Quantity.1=1',
|
||||||
|
model: 'strix oc',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.it/dp/B08J6GMWCQ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HR5SXPS&Quantity.1=1',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HR5SXPS'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HJNKT3P&Quantity.1=1',
|
||||||
|
model: 'trinity',
|
||||||
|
series: '3080',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HJNKT3P'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HJQ182D&Quantity.1=1',
|
||||||
|
model: 'trinity',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HJQ182D'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HBQWBHH&Quantity.1=1',
|
||||||
|
model: 'xlr8 revel',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HBQWBHH'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HBVX53D&Quantity.1=1',
|
||||||
|
model: 'xlr8 revel',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HBVX53D'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HRBW6VB&Quantity.1=1',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HRBW6VB'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HR9D2JS&Quantity.1=1',
|
||||||
|
model: 'ventus 3x',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HR9D2JS'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HJRF2CN&Quantity.1=1',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HJRF2CN'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HJPDJTY&Quantity.1=1',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HJPDJTY'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HJGNJ81&Quantity.1=1',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HJGNJ81'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08HJLLF7G&Quantity.1=1',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: '3090',
|
||||||
|
url: 'https://www.amazon.it/dp/B08HJLLF7G'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08166SLDF&Quantity.1=1',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url: 'https://www.amazon.it/dp/B08166SLDF'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B0815XFSGK&Quantity.1=1',
|
||||||
|
model: '5800x',
|
||||||
|
series: 'ryzen5800',
|
||||||
|
url: 'https://www.amazon.it/dp/product/B0815XFSGK'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08164VTWH&Quantity.1=1',
|
||||||
|
model: '5900x',
|
||||||
|
series: 'ryzen5900',
|
||||||
|
url: 'https://www.amazon.it/dp/B08164VTWH'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B0815Y8J9N&Quantity.1=1',
|
||||||
|
model: '5950x',
|
||||||
|
series: 'ryzen5950',
|
||||||
|
url: 'https://www.amazon.it/dp/B0815Y8J9N'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08MVC76SR&Quantity.1=1',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amazon.it/dp/B08MVC76SR'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08MVCLBWK&Quantity.1=1',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amazon.it/dp/B08MVCLBWK'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08KKJ37F7&Quantity.1=1',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url: 'https://www.amazon.it/dp/B08KKJ37F7'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08KJF2D25&Quantity.1=1',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url: 'https://www.amazon.it/dp/B08KJF2D25'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08JDSW1ZW&Quantity.1=1',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url: 'https://www.amazon.it/dp/B08JDSW1ZW'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B08JDTCXRG&Quantity.1=1',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url: 'https://www.amazon.it/dp/B08JDTCXRG'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'corsair',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.it/gp/aws/cart/add.html?ASIN.1=B07M63H81H&Quantity.1=1',
|
||||||
|
model: '750 platinum',
|
||||||
|
series: 'sf',
|
||||||
|
url: 'https://www.amazon.it/dp/B07M63H81H'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'amazon-it'
|
||||||
|
};
|
||||||
+180
-12
@@ -1,22 +1,24 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const AmazonNl: Store = {
|
export const AmazonNl: Store = {
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
captcha: {
|
captcha: {
|
||||||
container: 'body',
|
container: 'body',
|
||||||
text: ['voer de karakters in die u hieronder ziet']
|
text: ['voer de karakters in die u hieronder ziet']
|
||||||
},
|
},
|
||||||
inStock: {
|
inStock: [
|
||||||
container: '#availability',
|
{
|
||||||
text: [
|
container: '#add-to-cart-button',
|
||||||
'op voorraad',
|
text: ['in winkelwagen']
|
||||||
'verkrijgbaar vanaf',
|
},
|
||||||
'wordt gewoonlijk verzonden binnen',
|
{
|
||||||
'nog slechts'
|
container: '#buy-now-button',
|
||||||
]
|
text: ['nu kopen']
|
||||||
},
|
}
|
||||||
|
],
|
||||||
maxPrice: {
|
maxPrice: {
|
||||||
container: 'span[class*="PriceString"]',
|
container: '#priceblock_ourprice',
|
||||||
euroFormat: true
|
euroFormat: true
|
||||||
},
|
},
|
||||||
outOfStock: [
|
outOfStock: [
|
||||||
@@ -26,46 +28,212 @@ export const AmazonNl: Store = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
container: '#outOfStock',
|
container: '#outOfStock',
|
||||||
text: ['we weten niet of en wanneer dit item weer op voorraad is']
|
text: [
|
||||||
|
'we weten niet of en wanneer dit item weer op voorraad is'
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B085K45C3S&Quantity.1=1',
|
||||||
model: 'test:model',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.amazon.nl/dp/B083GGYNQ6'
|
url: 'https://www.amazon.nl/dp/B085K45C3S'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08HM4M621&Quantity.1=1',
|
||||||
model: 'ventus 3x oc',
|
model: 'ventus 3x oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.nl/dp/B08HM4M621'
|
url: 'https://www.amazon.nl/dp/B08HM4M621'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08HM4V2DH&Quantity.1=1',
|
||||||
model: 'gaming x trio',
|
model: 'gaming x trio',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.nl/dp/B08HM4V2DH'
|
url: 'https://www.amazon.nl/dp/B08HM4V2DH'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08HJ9XFNM&Quantity.1=1',
|
||||||
model: 'xc3 ultra',
|
model: 'xc3 ultra',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.nl/dp/B08HJ9XFNM'
|
url: 'https://www.amazon.nl/dp/B08HJ9XFNM'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08HH1BMQQ&Quantity.1=1',
|
||||||
model: 'xc3 black',
|
model: 'xc3 black',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.nl/dp/B08HH1BMQQ'
|
url: 'https://www.amazon.nl/dp/B08HH1BMQQ'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08HN7VVLJ&Quantity.1=1',
|
||||||
model: 'strix',
|
model: 'strix',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://www.amazon.nl/dp/B08HN7VVLJ'
|
url: 'https://www.amazon.nl/dp/B08HN7VVLJ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08P2DQ28S&Quantity.1=1',
|
||||||
|
model: 'ventus 2x oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08P2DQ28S'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08NW2YJB2&Quantity.1=1',
|
||||||
|
model: 'ventus 2x oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08NW2YJB2'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08P3XJLJJ&Quantity.1=1',
|
||||||
|
model: 'twin edge',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08P3XJLJJ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08P3V572B&Quantity.1=1',
|
||||||
|
model: 'twin edge oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08P3V572B'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08P3BJ9Y8&Quantity.1=1',
|
||||||
|
model: 'twin edge oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08P3BJ9Y8'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08P3JPX8P&Quantity.1=1',
|
||||||
|
model: 'eagle',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08P3JPX8P'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08NW2X37Z&Quantity.1=1',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08NW2X37Z'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08NW528S1&Quantity.1=1',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08NW528S1'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08NW693LG&Quantity.1=1',
|
||||||
|
model: 'xlr8 revel',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08NW693LG'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B083Z5P6TX&Quantity.1=1',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B083Z5P6TX'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08NZ4G4T2&Quantity.1=1',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08NZ4G4T2'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08P2HBBLX&Quantity.1=1',
|
||||||
|
model: 'dual oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08P2HBBLX'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08PDN36R3&Quantity.1=1',
|
||||||
|
model: 'ftw3',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08PDN36R3'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08PDP837W&Quantity.1=1',
|
||||||
|
model: 'xc gaming',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08PDP837W'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08PDMVPZ4&Quantity.1=1',
|
||||||
|
model: 'xc3 black',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08PDMVPZ4'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08166SLDF&Quantity.1=1',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08166SLDF'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B0815XFSGK&Quantity.1=1',
|
||||||
|
model: '5800x',
|
||||||
|
series: 'ryzen5800',
|
||||||
|
url: 'https://www.amazon.nl/dp/B0815XFSGK'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B08164VTWH&Quantity.1=1',
|
||||||
|
model: '5900x',
|
||||||
|
series: 'ryzen5900',
|
||||||
|
url: 'https://www.amazon.nl/dp/B08164VTWH'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.nl/gp/aws/cart/add.html?ASIN.1=B0815Y8J9N&Quantity.1=1',
|
||||||
|
model: '5950x',
|
||||||
|
series: 'ryzen5950',
|
||||||
|
url: 'https://www.amazon.nl/dp/B0815Y8J9N'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'amazon-nl'
|
name: 'amazon-nl'
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import {parseCard} from './helpers/card';
|
|||||||
|
|
||||||
export const AmazonUk: Store = {
|
export const AmazonUk: Store = {
|
||||||
backoffStatusCodes: [403, 429, 503],
|
backoffStatusCodes: [403, 429, 503],
|
||||||
|
currency: '£',
|
||||||
labels: {
|
labels: {
|
||||||
captcha: {
|
captcha: {
|
||||||
container: 'body',
|
container: 'body',
|
||||||
@@ -14,7 +15,7 @@ export const AmazonUk: Store = {
|
|||||||
text: ['in stock']
|
text: ['in stock']
|
||||||
},
|
},
|
||||||
maxPrice: {
|
maxPrice: {
|
||||||
container: 'span[class*="PriceString"]'
|
container: '#priceblock_ourprice'
|
||||||
},
|
},
|
||||||
outOfStock: [
|
outOfStock: [
|
||||||
{
|
{
|
||||||
@@ -31,26 +32,42 @@ export const AmazonUk: Store = {
|
|||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
cartUrl:
|
cartUrl:
|
||||||
'https://www.amazon.co.uk/gp/aws/cart/add.html?ASIN.1=B081265T5Z&Quantity.1=1',
|
'https://www.amazon.co.uk/gp/aws/cart/add.html?ASIN.1=B0753R2TWC&Quantity.1=1',
|
||||||
model: 'test:model',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.amazon.co.uk/dp/B081265T5Z/'
|
url: 'https://www.amazon.co.uk/dp/B0753R2TWC/'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'sony',
|
brand: 'sony',
|
||||||
cartUrl:
|
cartUrl:
|
||||||
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08FC5L3RG&Quantity.1=1',
|
'https://www.amazon.co.uk/gp/aws/cart/add.html?ASIN.1=B08H95Y452&Quantity.1=1',
|
||||||
model: 'ps5 console',
|
model: 'ps5 console',
|
||||||
series: 'sonyps5c',
|
series: 'sonyps5c',
|
||||||
url: 'https://www.amazon.com/dp/B08FC5L3RG'
|
url: 'https://www.amazon.co.uk/dp/B08H95Y452'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'sony',
|
brand: 'sony',
|
||||||
cartUrl:
|
cartUrl:
|
||||||
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08H97NYGP&Quantity.1=1',
|
'https://www.amazon.co.uk/gp/aws/cart/add.html?ASIN.1=B08H97NYGP&Quantity.1=1',
|
||||||
model: 'ps5 digital',
|
model: 'ps5 digital',
|
||||||
series: 'sonyps5de',
|
series: 'sonyps5de',
|
||||||
url: 'https://www.amazon.co.uk/dp/B08H97NYGP/'
|
url: 'https://www.amazon.co.uk/dp/B08H97NYGP'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.co.uk/gp/aws/cart/add.html?ASIN.1=B08H93GKNJ&Quantity.1=1',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url: 'https://www.amazon.co.uk/dp/B08H93GKNJ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.co.uk/gp/aws/cart/add.html?ASIN.1=B08GD9MNZB&Quantity.1=1',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url: 'https://www.amazon.co.uk/dp/B08GD9MNZB'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
linksBuilder: {
|
linksBuilder: {
|
||||||
@@ -88,7 +105,7 @@ export const AmazonUk: Store = {
|
|||||||
url
|
url
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
logger.error(`Failed to parse card: ${title}`);
|
logger.error(`Failed to parse card: ${title}`, {url});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -96,6 +113,16 @@ export const AmazonUk: Store = {
|
|||||||
},
|
},
|
||||||
ttl: 300000,
|
ttl: 300000,
|
||||||
urls: [
|
urls: [
|
||||||
|
{
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.amazon.co.uk/s?k=%2B%22RTX+3060+TI%22+-2060+-2070+-2080+-SUPER+-GTX&i=computers&rh=n%3A430500031%2Cp_n_availability%3A419162031&s=relevancerank&dc&qid=1601675291sb_noss'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.amazon.co.uk/s?k=%2B%22RTX+3070%22+-2060+-2070+-2080+-SUPER+-GTX+-3080&rh=n%3A430500031&ref=nb_sb_noss'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: [
|
url: [
|
||||||
|
|||||||
+393
-9
@@ -1,27 +1,147 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const Amazon: Store = {
|
export const Amazon: Store = {
|
||||||
|
backoffStatusCodes: [403, 429, 503],
|
||||||
|
currency: '$',
|
||||||
labels: {
|
labels: {
|
||||||
captcha: {
|
captcha: {
|
||||||
container: 'body',
|
container: 'body',
|
||||||
text: ['enter the characters you see below']
|
text: ['enter the characters you see below']
|
||||||
},
|
},
|
||||||
inStock: {
|
inStock: [
|
||||||
container: '#desktop_buybox',
|
{
|
||||||
text: ['add to cart']
|
container: '#add-to-cart-button',
|
||||||
},
|
text: ['add to cart']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
container: '#buy-now-button',
|
||||||
|
text: ['buy now']
|
||||||
|
}
|
||||||
|
],
|
||||||
maxPrice: {
|
maxPrice: {
|
||||||
container: 'span[class*="PriceString"]'
|
container: '#priceblock_ourprice'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
cartUrl:
|
cartUrl:
|
||||||
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B07TDN1SC5&Quantity.1=1',
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B083248S3B&Quantity.1=1',
|
||||||
model: 'test:model',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.amazon.com/dp/B07TDN1SC5'
|
url: 'https://www.amazon.com/dp/B083248S3B'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08P2HBBLX&Quantity.1=1',
|
||||||
|
model: 'dual',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08P2HBBLX'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NYP7KG6&Quantity.1=1',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NYP7KG6'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NYPLXPJ&Quantity.1=1',
|
||||||
|
model: 'gaming oc pro',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NYPLXPJ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NYNJ6RC&Quantity.1=1',
|
||||||
|
model: 'eagle',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NYNJ6RC'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B083Z5P6TX&Quantity.1=1',
|
||||||
|
model: 'tuf',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B083Z5P6TX'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08P2D3JSG&Quantity.1=1',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08P2D3JSG'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08P2DQ28S&Quantity.1=1',
|
||||||
|
model: 'ventus 2x',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08P2DQ28S'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08P3XJLJJ&Quantity.1=1',
|
||||||
|
model: 'twin edge oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08P3XJLJJ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08P3V572B&Quantity.1=1',
|
||||||
|
model: 'twin edge',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08P3V572B'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08P2D1JZZ&Quantity.1=1',
|
||||||
|
model: 'ko',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08P2D1JZZ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B083Z7TR8Z&Quantity.1=1',
|
||||||
|
model: 'strix',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B083Z7TR8Z'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08P2H5LW2&Quantity.1=1',
|
||||||
|
model: 'ftw3',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08P2H5LW2'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NYPKW1Z&Quantity.1=1',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NYPKW1Z'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08L8LG4M3&Quantity.1=1',
|
||||||
|
model: 'dual',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08L8LG4M3'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
@@ -39,6 +159,22 @@ export const Amazon: Store = {
|
|||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.com/dp/B08LW46GH2'
|
url: 'https://www.amazon.com/dp/B08LW46GH2'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08L8JNTXQ&Quantity.1=1',
|
||||||
|
model: 'strix',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08L8JNTXQ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08L8KC1J7&Quantity.1=1',
|
||||||
|
model: 'tuf',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08L8KC1J7'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
cartUrl:
|
cartUrl:
|
||||||
@@ -47,6 +183,14 @@ export const Amazon: Store = {
|
|||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.com/dp/B08KY266MG'
|
url: 'https://www.amazon.com/dp/B08KY266MG'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08KWN2LZG&Quantity.1=1',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08KWN2LZG'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
brand: 'pny',
|
brand: 'pny',
|
||||||
cartUrl:
|
cartUrl:
|
||||||
@@ -63,6 +207,14 @@ export const Amazon: Store = {
|
|||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.com/dp/B08HBF5L3K'
|
url: 'https://www.amazon.com/dp/B08HBF5L3K'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08KWPDXJZ&Quantity.1=1',
|
||||||
|
model: 'ventus 2x oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08KWPDXJZ'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
cartUrl:
|
cartUrl:
|
||||||
@@ -79,6 +231,78 @@ export const Amazon: Store = {
|
|||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.amazon.com/dp/B08LF1CWT2'
|
url: 'https://www.amazon.com/dp/B08LF1CWT2'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08LF32LJ6&Quantity.1=1',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08LF32LJ6'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08L8L71SM&Quantity.1=1',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08L8L71SM'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08L8L9TCZ&Quantity.1=1',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08L8L9TCZ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08LW46GH2&Quantity.1=1',
|
||||||
|
model: 'xc3 black',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08LW46GH2'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08KY266MG&Quantity.1=1',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08KY266MG'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08M13DXSZ&Quantity.1=1',
|
||||||
|
model: 'vision oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08M13DXSZ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08M4YFNX2&Quantity.1=1',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08M4YFNX2'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08KXZV626&Quantity.1=1',
|
||||||
|
model: 'eagle',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08KXZV626'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08KY322TH&Quantity.1=1',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3070',
|
||||||
|
url: 'https://www.amazon.com/dp/B08KY322TH'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
brand: 'pny',
|
brand: 'pny',
|
||||||
cartUrl:
|
cartUrl:
|
||||||
@@ -279,13 +503,29 @@ export const Amazon: Store = {
|
|||||||
series: '3090',
|
series: '3090',
|
||||||
url: 'https://www.amazon.com/dp/B08HJLLF7G'
|
url: 'https://www.amazon.com/dp/B08HJLLF7G'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08166SLDF&Quantity.1=1',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url: 'https://www.amazon.com/dp/B08166SLDF'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0815XFSGK&Quantity.1=1',
|
||||||
|
model: '5800x',
|
||||||
|
series: 'ryzen5800',
|
||||||
|
url: 'https://www.amazon.com/dp/product/B0815XFSGK'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
cartUrl:
|
cartUrl:
|
||||||
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08164VTWH&Quantity.1=1',
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08164VTWH&Quantity.1=1',
|
||||||
model: '5900x',
|
model: '5900x',
|
||||||
series: 'ryzen5900',
|
series: 'ryzen5900',
|
||||||
url: 'https://www.amazon.com/dp/product/B08164VTWH'
|
url: 'https://www.amazon.com/dp/B08164VTWH'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
@@ -293,7 +533,135 @@ export const Amazon: Store = {
|
|||||||
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0815Y8J9N&Quantity.1=1',
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B0815Y8J9N&Quantity.1=1',
|
||||||
model: '5950x',
|
model: '5950x',
|
||||||
series: 'ryzen5950',
|
series: 'ryzen5950',
|
||||||
url: 'https://www.amazon.com/dp/product/B0815Y8J9N'
|
url: 'https://www.amazon.com/dp/B0815Y8J9N'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NS4W2ZY&Quantity.1=1',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NS4W2ZY'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08MVC76SR&Quantity.1=1',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amazon.com/dp/B08MVC76SR'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NXXT7WN&Quantity.1=1',
|
||||||
|
model: 'nitro+',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NXXT7WN'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NXYNLMR&Quantity.1=1',
|
||||||
|
model: 'pulse',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NXYNLMR'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NXVNMPQ&Quantity.1=1',
|
||||||
|
model: 'nitro+',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NXVNMPQ'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'xfx',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08N6ZLX9B&Quantity.1=1',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amazon.com/dp/B08N6ZLX9B'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'xfx',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NX14LV1&Quantity.1=1',
|
||||||
|
model: 'merc',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NX14LV1'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'xfx',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NN76VJD&Quantity.1=1',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NN76VJD'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'xfx',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08P5YFZCY&Quantity.1=1',
|
||||||
|
model: 'merc',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amazon.com/dp/B08P5YFZCY'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'powercolor',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08MNZM5TK&Quantity.1=1',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amazon.com/dp/B08MNZM5TK'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08MVCLBWK&Quantity.1=1',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amazon.com/dp/B08MVCLBWK'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NXZSPMY&Quantity.1=1',
|
||||||
|
model: 'nitro+',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NXZSPMY'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NXYBVDB&Quantity.1=1',
|
||||||
|
model: 'pulse',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NXYBVDB'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NWJ29NB&Quantity.1=1',
|
||||||
|
model: 'strix oc',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NWJ29NB'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08P3YT3MY&Quantity.1=1',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amazon.com/dp/B08P3YT3MY'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08NWHKGS9&Quantity.1=1',
|
||||||
|
model: 'strix lc',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amazon.com/dp/B08NWHKGS9'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'sony',
|
brand: 'sony',
|
||||||
@@ -322,6 +690,22 @@ export const Amazon: Store = {
|
|||||||
model: 'xbox series s',
|
model: 'xbox series s',
|
||||||
series: 'xboxss',
|
series: 'xboxss',
|
||||||
url: 'https://www.amazon.com/dp/B08G9J44ZN'
|
url: 'https://www.amazon.com/dp/B08G9J44ZN'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'corsair',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B07M63H81H&Quantity.1=1',
|
||||||
|
model: '750 platinum',
|
||||||
|
series: 'sf',
|
||||||
|
url: 'https://www.amazon.com/dp/B07M63H81H'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'corsair',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B07F84FJ1G&Quantity.1=1',
|
||||||
|
model: '600 platinum',
|
||||||
|
series: 'sf',
|
||||||
|
url: 'https://www.amazon.com/dp/B07F84FJ1G'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'amazon'
|
name: 'amazon'
|
||||||
|
|||||||
@@ -0,0 +1,40 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const AmdCa: Store = {
|
||||||
|
currency: '$',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '.btn-shopping-cart',
|
||||||
|
text: ['add to cart']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: '.product-page-description h4',
|
||||||
|
euroFormat: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5458373400/ca'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5458373400/ca?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5458373400/ca'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5458372800/ca?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5458372800/ca'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'amd-ca'
|
||||||
|
};
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const AMDDe: Store = {
|
export const AmdDe: Store = {
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.btn-shopping-cart',
|
container: '.btn-shopping-cart',
|
||||||
@@ -9,6 +10,10 @@ export const AMDDe: Store = {
|
|||||||
maxPrice: {
|
maxPrice: {
|
||||||
container: '.product-page-description h4',
|
container: '.product-page-description h4',
|
||||||
euroFormat: true
|
euroFormat: true
|
||||||
|
},
|
||||||
|
outOfStock: {
|
||||||
|
container: '.btn-radeon',
|
||||||
|
text: ['ausverkauft']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
links: [
|
links: [
|
||||||
@@ -49,6 +54,30 @@ export const AMDDe: Store = {
|
|||||||
model: '5600x',
|
model: '5600x',
|
||||||
series: 'ryzen5600',
|
series: 'ryzen5600',
|
||||||
url: 'https://www.amd.com/de/direct-buy/5450881700/de'
|
url: 'https://www.amd.com/de/direct-buy/5450881700/de'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/de/direct-buy/5458374000/de?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amd.com/de/direct-buy/5458374000/de'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/de/direct-buy/5458374100/de?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amd.com/de/direct-buy/5458374100/de'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/de/direct-buy/5458374200/de?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6900xt',
|
||||||
|
url: 'https://www.amd.com/de/direct-buy/5458374200/de'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'amd-de'
|
name: 'amd-de'
|
||||||
|
|||||||
@@ -0,0 +1,64 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const AmdIt: Store = {
|
||||||
|
currency: '€',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '.btn-shopping-cart',
|
||||||
|
text: ['add to cart']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: '.product-page-description h4',
|
||||||
|
euroFormat: true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5450881400/it'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5450881400/it?add-to-cart=true',
|
||||||
|
model: '5950x',
|
||||||
|
series: 'ryzen5950',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5450881400/it'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5450881500/it?add-to-cart=true',
|
||||||
|
model: '5900x',
|
||||||
|
series: 'ryzen5900',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5450881500/it'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5450881600/it?add-to-cart=true',
|
||||||
|
model: '5800x',
|
||||||
|
series: 'ryzen5800',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5450881600/it'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5450881700/it?add-to-cart=true',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5450881700/it'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5458374100/it?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5458374100/it'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'amd-it'
|
||||||
|
};
|
||||||
@@ -0,0 +1,96 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const AmdUk: Store = {
|
||||||
|
currency: '£',
|
||||||
|
labels: {
|
||||||
|
inStock: [
|
||||||
|
{
|
||||||
|
container: '.btn-shopping-cart',
|
||||||
|
text: ['add to cart']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
container: '.btn-radeon',
|
||||||
|
text: ['add to cart']
|
||||||
|
}
|
||||||
|
],
|
||||||
|
maxPrice: {
|
||||||
|
container: '.product-page-description h4',
|
||||||
|
euroFormat: false
|
||||||
|
},
|
||||||
|
outOfStock: [
|
||||||
|
{
|
||||||
|
container: '.product-out-of-stock',
|
||||||
|
text: ['out of stock']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
container: '.btn-radeon',
|
||||||
|
text: ['sold out']
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5450881400/gb'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5450881400/gb?add-to-cart=true',
|
||||||
|
model: '5950x',
|
||||||
|
series: 'ryzen5950',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5450881400/gb'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5450881500/gb?add-to-cart=true',
|
||||||
|
model: '5900x',
|
||||||
|
series: 'ryzen5900',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5450881500/gb'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5450881600/gb?add-to-cart=true',
|
||||||
|
model: '5800x',
|
||||||
|
series: 'ryzen5800',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5450881600/gb'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5450881700/gb?add-to-cart=true',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5450881700/gb'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5458374000/gb?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5458374000/gb'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5458374100/gb?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5458374100/gb'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5458374200/gb?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6900xt',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5458374200/gb'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'amd-uk'
|
||||||
|
};
|
||||||
+26
-1
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const AMD: Store = {
|
export const Amd: Store = {
|
||||||
|
currency: '$',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.btn-shopping-cart',
|
container: '.btn-shopping-cart',
|
||||||
@@ -49,6 +50,30 @@ export const AMD: Store = {
|
|||||||
model: '5600x',
|
model: '5600x',
|
||||||
series: 'ryzen5600',
|
series: 'ryzen5600',
|
||||||
url: 'https://www.amd.com/en/direct-buy/5450881700/us'
|
url: 'https://www.amd.com/en/direct-buy/5450881700/us'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5458372200/us?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6900xt',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5458372200/us'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5458372800/us?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5458372800/us'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
cartUrl:
|
||||||
|
'https://www.amd.com/en/direct-buy/5458373400/us?add-to-cart=true',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800',
|
||||||
|
url: 'https://www.amd.com/en/direct-buy/5458373400/us'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'amd'
|
name: 'amd'
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const AntOnline: Store = {
|
||||||
|
currency: '$',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '.uk-button',
|
||||||
|
text: ['Add to Cart']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: '.cPrice',
|
||||||
|
euroFormat: false
|
||||||
|
},
|
||||||
|
outOfStock: {
|
||||||
|
container: '.priceView-price .priceView-hero-price span',
|
||||||
|
text: ['Sold Out']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url:
|
||||||
|
'https://www.antonline.com/Sony/Electronics/Gaming_Devices/Gaming_Consoles/1409507'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url:
|
||||||
|
'https://www.antonline.com/Microsoft/Electronics/Gaming_Devices/Gaming_Consoles/1414487'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url:
|
||||||
|
'https://www.antonline.com/Microsoft/Electronics/Gaming_Devices/Gaming_Consoles/1409527'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'antonline'
|
||||||
|
};
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const ArgosIE: Store = {
|
||||||
|
currency: '€',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '.btnbuyreserve',
|
||||||
|
text: ['buy or reserve']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: '.price'
|
||||||
|
},
|
||||||
|
outOfStock: {
|
||||||
|
container: '#subCopy',
|
||||||
|
text: ["We're working hard to get more stock."]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url:
|
||||||
|
'http://www.argos.ie/static/Product/partNumber/8448262/Trail/searchtext%3EXBOX+SERIES+X.htm'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url:
|
||||||
|
'http://www.argos.ie/static/Product/partNumber/8349000/Trail/searchtext%3EPS5+CONSOLE.htm'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'argos-ie'
|
||||||
|
};
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const Argos: Store = {
|
||||||
|
currency: '£',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: 'button[data-test="add-to-trolley-button-button"',
|
||||||
|
text: ['to trolley']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: 'li[itemprop="price"]'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url: 'https://www.argos.co.uk/product/5718469'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url: 'https://www.argos.co.uk/product/8349000'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url: 'https://www.argos.co.uk/product/8349024'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url: 'https://www.argos.co.uk/product/8448262'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url: 'https://www.argos.co.uk/product/8448248'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'argos'
|
||||||
|
};
|
||||||
@@ -2,6 +2,7 @@ import {Store} from './store';
|
|||||||
import {getProductLinksBuilder} from './helpers/card';
|
import {getProductLinksBuilder} from './helpers/card';
|
||||||
|
|
||||||
export const Aria: Store = {
|
export const Aria: Store = {
|
||||||
|
currency: '£',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '#addQuantity',
|
container: '#addQuantity',
|
||||||
@@ -23,6 +24,13 @@ export const Aria: Store = {
|
|||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url:
|
url:
|
||||||
'https://www.aria.co.uk/Products/Components/Graphics+Cards/NVIDIA+GeForce/GeForce+RTX+2060+Super/Gigabyte+NVIDIA+GeForce+RTX+2060+SUPER+8GB+WINDFORCE+OC+Turing+Graphics+Card+%2B+RTX+Bundle%21?productId=71541'
|
'https://www.aria.co.uk/Products/Components/Graphics+Cards/NVIDIA+GeForce/GeForce+RTX+2060+Super/Gigabyte+NVIDIA+GeForce+RTX+2060+SUPER+8GB+WINDFORCE+OC+Turing+Graphics+Card+%2B+RTX+Bundle%21?productId=71541'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5950x',
|
||||||
|
series: 'ryzen5950',
|
||||||
|
url:
|
||||||
|
'https://www.aria.co.uk/Products/Components/Processors/AMD+CPUs/Ryzen+9+-+Socket+AM4/AMD+Ryzen+9+5950X+16+Core+AM4+CPU%2FProcessor?productId=72868'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
linksBuilder: {
|
linksBuilder: {
|
||||||
@@ -32,6 +40,16 @@ export const Aria: Store = {
|
|||||||
titleSelector: 'strong > a[href]'
|
titleSelector: 'strong > a[href]'
|
||||||
}),
|
}),
|
||||||
urls: [
|
urls: [
|
||||||
|
{
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.aria.co.uk/Products/Components/Graphics+Cards/NVIDIA+GeForce/GeForce+RTX+3060+Ti'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.aria.co.uk/Products/Components/Graphics+Cards/NVIDIA+GeForce/GeForce+RTX+3070'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url:
|
url:
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const Arlt: Store = {
|
export const Arlt: Store = {
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.articleDesc .shippingtext',
|
container: '.articleDesc .shippingtext',
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const AsusDe: Store = {
|
export const AsusDe: Store = {
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.buybox--button',
|
container: '.buybox--button',
|
||||||
|
|||||||
+13
-2
@@ -2,6 +2,8 @@ import {Store} from './store';
|
|||||||
import fetch from 'node-fetch';
|
import fetch from 'node-fetch';
|
||||||
|
|
||||||
export const Asus: Store = {
|
export const Asus: Store = {
|
||||||
|
backoffStatusCodes: [403, 429, 503],
|
||||||
|
currency: '$',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '#item_add_cart',
|
container: '#item_add_cart',
|
||||||
@@ -50,17 +52,26 @@ export const Asus: Store = {
|
|||||||
model: 'strix oc',
|
model: 'strix oc',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url: 'https://store.asus.com/us/item/202009AM290000002'
|
url: 'https://store.asus.com/us/item/202009AM290000002'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
itemNumber: '202011AM200000003',
|
||||||
|
model: 'crosshair viii',
|
||||||
|
series: 'darkhero',
|
||||||
|
url: 'https://store.asus.com/us/item/202011AM200000003'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'asus',
|
name: 'asus',
|
||||||
realTimeInventoryLookup: async (itemNumber: string) => {
|
realTimeInventoryLookup: async (itemNumber: string) => {
|
||||||
const request_url = 'https://store.asus.com/us/category/get_real_time_data';
|
const request_url =
|
||||||
|
'https://store.asus.com/us/category/get_real_time_data';
|
||||||
const response = await fetch(request_url, {
|
const response = await fetch(request_url, {
|
||||||
body: 'sm_seq_list%5B%5D=' + itemNumber,
|
body: 'sm_seq_list%5B%5D=' + itemNumber,
|
||||||
headers: {
|
headers: {
|
||||||
'accept-language': 'en-US,en;q=0.9',
|
'accept-language': 'en-US,en;q=0.9',
|
||||||
'cache-control': 'no-cache',
|
'cache-control': 'no-cache',
|
||||||
'content-type': 'application/x-www-form-urlencoded; charset=UTF-8'
|
'content-type':
|
||||||
|
'application/x-www-form-urlencoded; charset=UTF-8'
|
||||||
},
|
},
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -0,0 +1,93 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
import {getProductLinksBuilder} from './helpers/card';
|
||||||
|
|
||||||
|
export const Awd: Store = {
|
||||||
|
currency: '£',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '.vs-stock .ty-qty-in-stock',
|
||||||
|
text: ['item(s)']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: '.ty-price',
|
||||||
|
euroFormat: false // Note: Awd uses non-euroFromat as price seperator
|
||||||
|
},
|
||||||
|
outOfStock: {
|
||||||
|
container: '.vs-stock.ty-float-left',
|
||||||
|
text: ['Out-of-stock']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url:
|
||||||
|
'https://www.awd-it.co.uk/asus-nvidia-geforce-gt-710-silent-low-profile-2gb-gddr5-graphics-card-pci-e.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url:
|
||||||
|
'https://www.awd-it.co.uk/amd-ryzen-5-5600x-cpu-six-core-3.7ghz-processor-socket-am4-retail.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5800x',
|
||||||
|
series: 'ryzen5800',
|
||||||
|
url:
|
||||||
|
'https://www.awd-it.co.uk/amd-ryzen-7-5800x-cpu-eight-core-3.8ghz-processor-socket-am4-retail.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5900x',
|
||||||
|
series: 'ryzen5900',
|
||||||
|
url:
|
||||||
|
'https://www.awd-it.co.uk/amd-ryzen-9-5900x-cpu-twelve-core-3.7ghz-processor-socket-am4-retail.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5950x',
|
||||||
|
series: 'ryzen5950',
|
||||||
|
url:
|
||||||
|
'https://www.awd-it.co.uk/amd-ryzen-9-5950x-sixteen-core-socket-am4-3.4ghz-processor.html'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
linksBuilder: {
|
||||||
|
builder: getProductLinksBuilder({
|
||||||
|
productsSelector: '.grid-list .ty-grid-list__item',
|
||||||
|
sitePrefix: 'https://www.awd-it.co.uk',
|
||||||
|
titleSelector: '.product-title'
|
||||||
|
}),
|
||||||
|
urls: [
|
||||||
|
{
|
||||||
|
series: 'rx6800',
|
||||||
|
url:
|
||||||
|
'https://www.awd-it.co.uk/components/graphics-cards/ati/amd-radeon-6800-6800xt.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.awd-it.co.uk/components/graphics-cards/nvidia/nvidia-geforce-rtx-3060ti.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.awd-it.co.uk/components/graphics-cards/nvidia/nvidia-geforce-rtx-3070.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.awd-it.co.uk/components/graphics-cards/nvidia/nvidia-geforce-rtx-3080.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.awd-it.co.uk/components/graphics-cards/nvidia/nvidia-geforce-rtx-3090.html'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
name: 'awd',
|
||||||
|
waitUntil: 'domcontentloaded'
|
||||||
|
};
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const Azerty: Store = {
|
export const Azerty: Store = {
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.orderdelay',
|
container: '.orderdelay',
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import {Store} from './store';
|
|||||||
|
|
||||||
export const BAndH: Store = {
|
export const BAndH: Store = {
|
||||||
backoffStatusCodes: [403, 429],
|
backoffStatusCodes: [403, 429],
|
||||||
|
currency: '$',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: 'div[data-selenium="addToCartSection"]',
|
container: 'div[data-selenium="addToCartSection"]',
|
||||||
@@ -20,6 +21,27 @@ export const BAndH: Store = {
|
|||||||
url:
|
url:
|
||||||
'https://www.bhphotovideo.com/c/product/1452927-REG/evga_06g_p4_2063_kr_geforce_rtx_2060_xc.html'
|
'https://www.bhphotovideo.com/c/product/1452927-REG/evga_06g_p4_2063_kr_geforce_rtx_2060_xc.html'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'dual',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bhphotovideo.com/c/product/1602755-REG/asus_dualrtx30708g_geforce_rtx_3070_8g.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
model: 'dual fan',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bhphotovideo.com/c/product/1595984-REG/pny_technologies_vcg30708tfxppb_geforce_rtx_3070_epic_x.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bhphotovideo.com/c/product/1602756-REG/asus_strixrtx3070o8_rog_strix_geforce_rtx.html'
|
||||||
|
},
|
||||||
// TUF was removed from BH, not sure why so commenting out listing for now
|
// TUF was removed from BH, not sure why so commenting out listing for now
|
||||||
// {
|
// {
|
||||||
// brand: 'asus',
|
// brand: 'asus',
|
||||||
@@ -48,6 +70,42 @@ export const BAndH: Store = {
|
|||||||
// series: '3080',
|
// series: '3080',
|
||||||
// url: 'https://www.bhphotovideo.com/c/product/1593650-REG/asus_tuf_rtx3080_o10g_gaming_tuf_gaming_geforce_rtx.html'
|
// url: 'https://www.bhphotovideo.com/c/product/1593650-REG/asus_tuf_rtx3080_o10g_gaming_tuf_gaming_geforce_rtx.html'
|
||||||
// },
|
// },
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bhphotovideo.com/c/product/1606948-REG/gigabyte_gv_n306teagle_oc_8gd_rtx_3060_ti_eagle.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bhphotovideo.com/c/product/1606949-REG/gigabyte_gv_n306teagle_8gd_rtx_3060_ti_eagle.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bhphotovideo.com/c/product/1606945-REG/gigabyte_gv_n306taorus_m_8gd_aorus_rtx_3060_ti.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bhphotovideo.com/c/product/1606947-REG/gigabyte_gv_n306tgaming_oc_8gd_rtx_3060_ti_gaming.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming pro',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bhphotovideo.com/c/product/1606946-REG/gigabyte_gv_n306tgamingoc_pro_8gd_rtx_3060_ti_gaming.html'
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
brand: 'msi',
|
brand: 'msi',
|
||||||
model: 'gaming x trio',
|
model: 'gaming x trio',
|
||||||
@@ -166,6 +224,20 @@ export const BAndH: Store = {
|
|||||||
series: 'ryzen5600',
|
series: 'ryzen5600',
|
||||||
url:
|
url:
|
||||||
'https://www.bhphotovideo.com/c/product/1598377-REG/amd_100_100000065box_ryzen_5_5600x_3_7.html'
|
'https://www.bhphotovideo.com/c/product/1598377-REG/amd_100_100000065box_ryzen_5_5600x_3_7.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url:
|
||||||
|
'https://www.bhphotovideo.com/c/product/1598377-REG/amd_100_100000065box_ryzen_5_5600x_3_7.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'corsair',
|
||||||
|
model: '750 platinum',
|
||||||
|
series: 'sf',
|
||||||
|
url:
|
||||||
|
'https://www.bhphotovideo.com/c/product/1560680-REG/corsair_cp_9020186_na_corsair_sf750_power_supply.html'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'bandh'
|
name: 'bandh'
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const BestBuyCa: Store = {
|
export const BestBuyCa: Store = {
|
||||||
|
currency: '$',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
|
||||||
container: '#root',
|
|
||||||
text: ['available online']
|
|
||||||
},
|
|
||||||
maxPrice: {
|
maxPrice: {
|
||||||
container:
|
container: 'div[class*="pricingContainer"]',
|
||||||
'div[class^="productPricingContainer"] span[class^="screenReaderOnly_"',
|
|
||||||
euroFormat: false
|
euroFormat: false
|
||||||
|
},
|
||||||
|
outOfStock: {
|
||||||
|
container: '.addToCartButton:disabled',
|
||||||
|
text: ['add to cart']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
links: [
|
links: [
|
||||||
@@ -18,7 +18,42 @@ export const BestBuyCa: Store = {
|
|||||||
model: 'test:model',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url:
|
url:
|
||||||
'https://www.bestbuy.ca/en-ca/product/msi-nvidia-geforce-rtx-2060-super-gaming-x-8gb-gddr6-video-card/14419420?intl=nosplash'
|
'https://www.bestbuy.ca/en-ca/product/zotac-nvidia-geforce-gtx-1660-super-twin-fan-6gb-gddr6-video-card/14415897'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 2x oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.ca/en-ca/product/msi-nvidia-geforce-rtx-3060-ti-ventus-2x-oc-8gb-gddr6-video-card/15178453?intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'nvidia',
|
||||||
|
model: 'founders edition',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.ca/en-ca/product/nvidia-geforce-rtx-3060-ti-8gb-gddr6-video-card/15166285?intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'twin edge oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.ca/en-ca/product/zotac-geforce-rtx-3060-ti-twin-edge-oc-8gb-gddr6-video-card/15178452?intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'twin edge',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.ca/en-ca/product/zotac-geforce-rtx-3060-ti-twin-edge-8gb-gddr6-video-card/15178583?intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.ca/en-ca/product/evga-geforce-rtx-3060-ti-ftw3-ultra-8gb-gddr6-video-card/15200164?intl=nosplash'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'zotac',
|
brand: 'zotac',
|
||||||
@@ -39,7 +74,7 @@ export const BestBuyCa: Store = {
|
|||||||
model: 'xc3 ultra',
|
model: 'xc3 ultra',
|
||||||
series: '3080',
|
series: '3080',
|
||||||
url:
|
url:
|
||||||
'https://www.bestbuy.ca/en-ca/product/evga-geforce-rtx-3080-xc3-ultra-gaming-10gb-gddr6x-video-card/14961449?intl=nosplash'
|
'https://www.bestbuy.ca/en-ca/product/evga-geforce-rtx-3080-xc3-ultra-gaming-10gb-gddr6x-video-card/15084753?intl=nosplash'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'asus',
|
brand: 'asus',
|
||||||
@@ -110,6 +145,34 @@ export const BestBuyCa: Store = {
|
|||||||
series: '3070',
|
series: '3070',
|
||||||
url:
|
url:
|
||||||
'https://www.bestbuy.ca/en-ca/product/nvidia-geforce-rtx-3070-8gb-gddr6-video-card-only-at-best-buy/15078017?intl=nosplash'
|
'https://www.bestbuy.ca/en-ca/product/nvidia-geforce-rtx-3070-8gb-gddr6-video-card-only-at-best-buy/15078017?intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.ca/en-ca/product/playstation-5-console-online-only/14962185?intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.ca/en-ca/product/playstation-5-digital-edition-console-online-only/14962184?intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.ca/en-ca/product/xbox-series-x-1tb-console-new-model-online-only/14964951'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.ca/en-ca/product/xbox-series-s-512gb-console-new-model-online-only/14964950'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'bestbuy-ca',
|
name: 'bestbuy-ca',
|
||||||
|
|||||||
+223
-44
@@ -1,15 +1,16 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const BestBuy: Store = {
|
export const BestBuy: Store = {
|
||||||
|
currency: '$',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '[data-sticky-media-gallery] .fulfillment-add-to-cart-button',
|
container:
|
||||||
|
'[data-sticky-media-gallery] .fulfillment-add-to-cart-button',
|
||||||
text: ['add to cart']
|
text: ['add to cart']
|
||||||
},
|
},
|
||||||
maxPrice: {
|
maxPrice: {
|
||||||
container:
|
container:
|
||||||
'[data-sticky-media-gallery] .priceView-price .priceView-hero-price span',
|
'[data-sticky-media-gallery] .priceView-price .priceView-hero-price span'
|
||||||
euroFormat: false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
links: [
|
links: [
|
||||||
@@ -18,7 +19,7 @@ export const BestBuy: Store = {
|
|||||||
model: 'test:model',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url:
|
url:
|
||||||
'https://www.bestbuy.com/site/evga-ko-ultra-gaming-nvidia-geforce-rtx-2060-6gb-gddr6-pci-express-3-0-graphics-card-black-gray/6403801.p?skuId=6403801&intl=nosplash'
|
'https://www.bestbuy.com/site/insignia-8qt-digital-multi-cooker-stainless-steel/6258941.p?skuId=6258941&intl=nosplash'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'nvidia',
|
brand: 'nvidia',
|
||||||
@@ -28,6 +29,102 @@ export const BestBuy: Store = {
|
|||||||
url:
|
url:
|
||||||
'https://www.bestbuy.com/site/nvidia-geforce-rtx-3070-8gb-gddr6-pci-express-4-0-graphics-card-dark-platinum-and-black/6429442.p?skuId=6429442&intl=nosplash'
|
'https://www.bestbuy.com/site/nvidia-geforce-rtx-3070-8gb-gddr6-pci-express-4-0-graphics-card-dark-platinum-and-black/6429442.p?skuId=6429442&intl=nosplash'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6439300/cart',
|
||||||
|
model: 'xc3 black',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/evga-geforce-rtx-3070-xc3-black-gaming-8gb-gddr6x-pci-express-4-0-graphics-card/6439300.p?skuId=6439300&intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6437912/cart',
|
||||||
|
model: 'eagle',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3070-8g-gddr6-pci-express-4-0-graphics-card-black/6437912.p?skuId=6437912&intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6437909/cart',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3070-8g-gddr6-pci-express-4-0-graphics-card-black/6437909.p?skuId=6437909&intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6432654/cart',
|
||||||
|
model: 'dual fan',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/pny-geforce-rtx-3070-8gb-dual-fan-graphics-card/6432654.p?skuId=6432654&intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6432653/cart',
|
||||||
|
model: 'xlr8 revel',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/pny-geforce-rtx-3070-8gb-xlr8-gaming-epic-x-rgb-triple-fan-graphics-card/6432653.p?skuId=6432653&intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6439384/cart',
|
||||||
|
model: 'aorus',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3070-8g-gddr6-pci-express-4-0-graphics-card-black/6439384.p?skuId=6439384'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6439385/cart',
|
||||||
|
model: 'vision',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3070-8g-gddr6-pci-express-4-0-graphics-card-white/6439385.p?skuId=6439385'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6439128/cart',
|
||||||
|
model: 'tuf',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/asus-tuf-rtx3070-8gb-gddr6-pci-express-4-0-graphics-card-black/6439128.p?skuId=6439128'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6438278/cart',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/msi-geforce-rtx-3070-ventus-3x-oc-bv-8gb-gddr6-pci-express-4-0-graphics-card-black/6438278.p?skuId=6438278'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6439127/cart',
|
||||||
|
model: 'strix',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/asus-rog-strix-rtx3070-8gb-gddr6-pci-express-4-0-graphics-card-black/6439127.p?skuId=6439127'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6439301/cart',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/evga-geforce-rtx-3070-ftw3-ultra-gaming-8gb-gddr6x-pci-express-4-0-graphics-card/6439301.p?skuId=6439301'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6439299/cart',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/evga-geforce-rtx-3070-xc3-ultra-gaming-8gb-gddr6x-pci-express-4-0-graphics-card/6439299.p?skuId=6439299'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
brand: 'nvidia',
|
brand: 'nvidia',
|
||||||
cartUrl: 'https://api.bestbuy.com/click/-/6429440/cart',
|
cartUrl: 'https://api.bestbuy.com/click/-/6429440/cart',
|
||||||
@@ -44,14 +141,6 @@ export const BestBuy: Store = {
|
|||||||
url:
|
url:
|
||||||
'https://www.bestbuy.com/site/asus-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-strix-graphics-card-black/6432445.p?skuId=6432445&intl=nosplash'
|
'https://www.bestbuy.com/site/asus-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-strix-graphics-card-black/6432445.p?skuId=6432445&intl=nosplash'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
brand: 'evga',
|
|
||||||
cartUrl: 'https://api.bestbuy.com/click/-/6439300/cart',
|
|
||||||
model: 'xc3 black',
|
|
||||||
series: '3070',
|
|
||||||
url:
|
|
||||||
'https://www.bestbuy.com/site/evga-geforce-rtx-3070-xc3-black-gaming-8gb-gddr6x-pci-express-4-0-graphics-card/6439300.p?skuId=6439300&intl=nosplash'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
cartUrl: 'https://api.bestbuy.com/click/-/6432399/cart',
|
cartUrl: 'https://api.bestbuy.com/click/-/6432399/cart',
|
||||||
@@ -92,22 +181,6 @@ export const BestBuy: Store = {
|
|||||||
url:
|
url:
|
||||||
'https://www.bestbuy.com/site/evga-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-graphics-card/6436191.p?skuId=6436191&intl=nosplash'
|
'https://www.bestbuy.com/site/evga-geforce-rtx-3080-10gb-gddr6x-pci-express-4-0-graphics-card/6436191.p?skuId=6436191&intl=nosplash'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
brand: 'gigabyte',
|
|
||||||
cartUrl: 'https://api.bestbuy.com/click/-/6437912/cart',
|
|
||||||
model: 'eagle',
|
|
||||||
series: '3070',
|
|
||||||
url:
|
|
||||||
'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3070-8g-gddr6-pci-express-4-0-graphics-card-black/6437912.p?skuId=6437912&intl=nosplash'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
brand: 'gigabyte',
|
|
||||||
cartUrl: 'https://api.bestbuy.com/click/-/6437909/cart',
|
|
||||||
model: 'gaming oc',
|
|
||||||
series: '3070',
|
|
||||||
url:
|
|
||||||
'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3070-8g-gddr6-pci-express-4-0-graphics-card-black/6437909.p?skuId=6437909&intl=nosplash'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
brand: 'gigabyte',
|
brand: 'gigabyte',
|
||||||
cartUrl: 'https://api.bestbuy.com/click/-/6430620/cart',
|
cartUrl: 'https://api.bestbuy.com/click/-/6430620/cart',
|
||||||
@@ -148,22 +221,6 @@ export const BestBuy: Store = {
|
|||||||
url:
|
url:
|
||||||
'https://www.bestbuy.com/site/msi-geforce-rtx-3080-ventus-3x-10g-oc-bv-gddr6x-pci-express-4-0-graphic-card-black-silver/6430175.p?skuId=6430175&intl=nosplash'
|
'https://www.bestbuy.com/site/msi-geforce-rtx-3080-ventus-3x-10g-oc-bv-gddr6x-pci-express-4-0-graphic-card-black-silver/6430175.p?skuId=6430175&intl=nosplash'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
brand: 'pny',
|
|
||||||
cartUrl: 'https://api.bestbuy.com/click/-/6432654/cart',
|
|
||||||
model: 'dual fan',
|
|
||||||
series: '3070',
|
|
||||||
url:
|
|
||||||
'https://www.bestbuy.com/site/pny-geforce-rtx-3070-8gb-dual-fan-graphics-card/6432654.p?skuId=6432654&intl=nosplash'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
brand: 'pny',
|
|
||||||
cartUrl: 'https://api.bestbuy.com/click/-/6432653/cart',
|
|
||||||
model: 'xlr8 revel',
|
|
||||||
series: '3070',
|
|
||||||
url:
|
|
||||||
'https://www.bestbuy.com/site/pny-geforce-rtx-3070-8gb-xlr8-gaming-epic-x-rgb-triple-fan-graphics-card/6432653.p?skuId=6432653&intl=nosplash'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
brand: 'pny',
|
brand: 'pny',
|
||||||
cartUrl: 'https://api.bestbuy.com/click/-/6432655/cart',
|
cartUrl: 'https://api.bestbuy.com/click/-/6432655/cart',
|
||||||
@@ -260,6 +317,38 @@ export const BestBuy: Store = {
|
|||||||
url:
|
url:
|
||||||
'https://www.bestbuy.com/site/pny-geforce-rtx-3090-24gb-xlr8-gaming-epic-x-rgb-triple-fan-graphics-card/6432657.p?skuId=6432657&intl=nosplash'
|
'https://www.bestbuy.com/site/pny-geforce-rtx-3090-24gb-xlr8-gaming-epic-x-rgb-triple-fan-graphics-card/6432657.p?skuId=6432657&intl=nosplash'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
brand: 'nvidia',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6439402/cart',
|
||||||
|
model: 'founders edition',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/nvidia-geforce-rtx-3060-ti-8gb-gddr6-pci-express-4-0-graphics-card-steel-and-black/6439402.p?skuId=6439402&intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6441172/cart',
|
||||||
|
model: 'ventus 2x',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/msi-geforce-rtx-3060-ti-ventus-2x-oc-bv-8gb-gddr6-pci-express-4-0-graphics-card-black-black/6441172.p?skuId=6441172&intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6442484/cart',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/gigabyte-nvidia-geforce-rtx-3060-ti-gaming-oc-8g-gddr6-pci-express-4-0-graphics-card-black/6442484.p?skuId=6442484?intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6442485/cart',
|
||||||
|
model: 'eagle',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/gigabyte-nvidia-geforce-rtx-3060-ti-eagle-oc-8g-gddr6-pci-express-4-0-graphics-card-black/6442485.p?skuId=6442485?intl=nosplash'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
brand: 'amd',
|
brand: 'amd',
|
||||||
cartUrl: 'https://api.bestbuy.com/click/-/6438942/cart',
|
cartUrl: 'https://api.bestbuy.com/click/-/6438942/cart',
|
||||||
@@ -321,6 +410,96 @@ export const BestBuy: Store = {
|
|||||||
series: 'xboxss',
|
series: 'xboxss',
|
||||||
url:
|
url:
|
||||||
'https://www.bestbuy.com/site/microsoft-xbox-series-s-512-gb-all-digital-console-disc-free-gaming-white/6430277.p?skuId=6430277'
|
'https://www.bestbuy.com/site/microsoft-xbox-series-s-512-gb-all-digital-console-disc-free-gaming-white/6430277.p?skuId=6430277'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/msi-radeon-rx-6800-xt-16g-16gb-gddr6-pci-express-4-0-graphics-card-black-black/6440913.p?skuId=6440913'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/msi-radeon-rx-6800-16g-16gb-gddr6-pci-express-4-0-graphics-card-black-black/6441020.p?skuId=6441020'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'xfx',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/xfx-amd-radeon-rx-6800-16gb-gddr6-pci-express-4-0-gaming-graphics-card-black/6442077.p?skuId=6442077'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'xfx',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/xfx-amd-radeon-rx-6800xt-16gb-gddr6-pci-express-4-0-gaming-graphics-card-black/6441226.p?skuId=6441226'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'xfx',
|
||||||
|
model: 'merc',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/xfx-merc-319-amd-radeon-rx-6800xt-16gb-gddr6-pci-express-4-0-gaming-graphics-card-black/6442585.p?skuId=6442585'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'xfx',
|
||||||
|
model: 'amd reference',
|
||||||
|
series: 'rx6900xt',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/xfx-amd-radeon-rx-6900-xt-16gb-gddr6-pci-express-4-0-gaming-graphics-card-black/6444358.p?skuId=6444358'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'corsair',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6351845/cart',
|
||||||
|
model: '750 platinum',
|
||||||
|
series: 'sf',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/corsair-sf-series-750w-atx12v-2-4-eps12v-2-92-sfx12v-80-plus-platinum-modular-power-supply-black/6351845.p?skuId=6351845'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'corsair',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6351844/cart',
|
||||||
|
model: '600 platinum',
|
||||||
|
series: 'sf',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/corsair-sf-series-600w-atx12v-2-4-eps12v-2-92-sfx12v-80-plus-platinum-modular-power-supply-black/6351844.p?skuId=6351844'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'nvidia',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6439402/cart',
|
||||||
|
model: 'founders edition',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/nvidia-geforce-rtx-3060-ti-8gb-gddr6-pci-express-4-0-graphics-card-steel-and-black/6439402.p?skuId=6439402&intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6442484/cart',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/gigabyte-nvidia-geforce-rtx-3060-ti-gaming-oc-8g-gddr6-pci-express-4-0-graphics-card-black/6442484.p?skuId=6442484&intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6442485/cart',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/gigabyte-nvidia-geforce-rtx-3060-ti-eagle-oc-8g-gddr6-pci-express-4-0-graphics-card-black/6442485.p?skuId=6442485&intl=nosplash'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
cartUrl: 'https://api.bestbuy.com/click/-/6441172/cart',
|
||||||
|
model: 'ventus 2x oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.bestbuy.com/site/msi-geforce-rtx-3060-ti-ventus-2x-oc-bv-8gb-gddr6-pci-express-4-0-graphics-card-black-black/6441172.p?skuId=6441172&intl=nosplash'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'bestbuy'
|
name: 'bestbuy'
|
||||||
|
|||||||
+43
-1
@@ -2,16 +2,19 @@ import {Store} from './store';
|
|||||||
import {getProductLinksBuilder} from './helpers/card';
|
import {getProductLinksBuilder} from './helpers/card';
|
||||||
|
|
||||||
export const Box: Store = {
|
export const Box: Store = {
|
||||||
|
backoffStatusCodes: [403, 429, 503],
|
||||||
|
currency: '£',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '#divBuyButton',
|
container: '#divBuyButton',
|
||||||
text: ['add to basket']
|
text: ['add to basket']
|
||||||
},
|
},
|
||||||
maxPrice: {
|
maxPrice: {
|
||||||
container: '.p-right-wrapper .pq-price',
|
container: '.p-price',
|
||||||
euroFormat: false // Note: Box uses non-euroFromat as price seperator
|
euroFormat: false // Note: Box uses non-euroFromat as price seperator
|
||||||
},
|
},
|
||||||
outOfStock: {
|
outOfStock: {
|
||||||
|
container: '#divBuyButton',
|
||||||
text: ['request stock alert', 'coming soon']
|
text: ['request stock alert', 'coming soon']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -22,6 +25,41 @@ export const Box: Store = {
|
|||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url:
|
url:
|
||||||
'https://www.box.co.uk/Gigabyte-GeForce-RTX-2080-Super-8GB-Wind_2724554.html'
|
'https://www.box.co.uk/Gigabyte-GeForce-RTX-2080-Super-8GB-Wind_2724554.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url:
|
||||||
|
'https://www.box.co.uk/CFI-1015A-Sony-Playstation-5-Console_3199689.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url:
|
||||||
|
'https://www.box.co.uk/CFI-1015B-Sony-PlayStation-5-Digital-Edition-Conso_3199692.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url:
|
||||||
|
'https://www.box.co.uk/RRT-00007-Xbox-Series-X-Console_3201195.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url:
|
||||||
|
'https://www.box.co.uk/RRS-00007-Xbox-Series-S-Console_3201197.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: 'rx6900xt',
|
||||||
|
url:
|
||||||
|
'https://www.box.co.uk/90YV0GE0-M0NM00-ASUS-Radeon-RX-X6900XT-16GB-OC-Gaming-Gr_3561243.html'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
linksBuilder: {
|
linksBuilder: {
|
||||||
@@ -31,6 +69,10 @@ export const Box: Store = {
|
|||||||
titleSelector: '.p-list-section > h3 > a[href]'
|
titleSelector: '.p-list-section > h3 > a[href]'
|
||||||
}),
|
}),
|
||||||
urls: [
|
urls: [
|
||||||
|
{
|
||||||
|
series: '3060ti',
|
||||||
|
url: 'https://www.box.co.uk/rtx-3060-ti-graphics-cards'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.box.co.uk/rtx-3070-graphics-cards'
|
url: 'https://www.box.co.uk/rtx-3070-graphics-cards'
|
||||||
|
|||||||
@@ -0,0 +1,171 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const Bpctech: Store = {
|
||||||
|
backoffStatusCodes: [403, 429],
|
||||||
|
currency: '$',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '.productStockStatus',
|
||||||
|
text: ['in stock']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: 'div.price-box.price-final_price > span > span',
|
||||||
|
euroFormat: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/tuf-rtx3080-10g-gaming-asus-geforce-rtx-3080-tuf-gaming-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/tuf-rtx3080-o10g-gaming-asus-geforce-rtx-3080-tuf-gaming-oc-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/rog-strix-rtx3080-o10g-gaming-asus-geforce-rtx-3080-rog-strix-oc-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
// {
|
||||||
|
// brand: 'colorful',
|
||||||
|
// model: 'igame advanced oc',
|
||||||
|
// series: '3080',
|
||||||
|
// url: 'https://www.bpctech.com.au/colorful-advancedoc10g-v-colorful-igame-geforce-rtx-3080-advanced-oc-10g-v-video-card.html'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// brand: 'colorful',
|
||||||
|
// model: 'igame vulcan oc',
|
||||||
|
// series: '3080',
|
||||||
|
// url: 'https://www.bpctech.com.au/colorful-vulcanoc10g-v-colorful-igame-geforce-rtx-3080-vulcan-oc-10g-video-card.html'
|
||||||
|
// },
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/10g-p5-3897-kr-evga-geforce-rtx-3080-ftw3-ultra-gaming-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 black',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/10g-p5-3881-kr-evga-geforce-rtx-3080-xc3-black-gaming-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/10g-p5-3885-kr-evga-geforce-rtx-3080-xc3-ultra-gaming-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'galax',
|
||||||
|
model: 'sg oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/38nwm3md99nn-galax-geforce-rtx-3080-sg-1-click-oc-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'vision oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/gv-n3080vision-oc-10gd-gigabyte-geforce-rtx-3080-vision-oc-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/gv-n3080gaming-oc-10gd-gigabyte-geforce-rtx-3080-gaming-oc-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus master',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/gv-n3080aorus-m-10gd-gigabyte-geforce-rtx-3080-aorus-master-10g-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus xtreme',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/gv-n3080aorus-x-10gd-gigabyte-aorus-geforce-rtx-3080-xtreme-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus xtreme waterforce',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/gv-n3080aorusx-w-10gd-gigabyte-aorus-geforce-rtx-3080-xtreme-waterforce-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/gv-n3080eagle-oc-10gd-gigabyte-geforce-rtx-3080-eagle-oc-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'inno3d',
|
||||||
|
model: 'ichill x4',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/c30804-106xx-1810va36-inno3d-geforce-rtx-3080-ichill-x4-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'inno3d',
|
||||||
|
model: 'ichill x3',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/c30803-106xx-1810va37-inno3d-geforce-rtx-3080-ichill-x3-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'inno3d',
|
||||||
|
model: 'twin x2 oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/n30802-106xx-1810va34-inno3d-geforce-rtx-3080-twin-x2-oc-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'leadtek',
|
||||||
|
model: 'hurricane',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/rtx3080-hurricane-leadtek-geforce-rtx-3080-hurricane-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'suprim x',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/rtx3080-suprim-x-10g-msi-geforce-rtx-3080-suprim-x-10gb-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/rtx3080-ventus-3x-10g-oc-msi-rtx-3080-ventus-3x-10g-oc-video-card.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.bpctech.com.au/rtx3080-gaming-x-trio-10g-msi-rtx-3080-gaming-x-trio-10g-video-card.html'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'bpctech'
|
||||||
|
};
|
||||||
@@ -0,0 +1,488 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const CanadaComputers: Store = {
|
||||||
|
currency: '$',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: 'div[class="pi-prod-availability"]',
|
||||||
|
text: ['Online In Stock']
|
||||||
|
},
|
||||||
|
outOfStock: {
|
||||||
|
container: 'div[class="pi-prod-availability"]',
|
||||||
|
text: ['Not Available Online']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181348&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183101&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 black',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183500&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183099&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183210&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'dual',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183635&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'dual oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183636&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183637&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'vision oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184168&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus master',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184167&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'twin edge oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183561&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 2x oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183208&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'twin edge',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183560&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183638&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183498&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183209&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183100&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183499&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184743&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181376&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181842&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181348&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181354&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181416&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181375&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181420&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184837&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181415&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181353&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184743&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181347&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus master',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=182754&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 black',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181797&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'vision oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=182755&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus xtreme',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183098&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183510&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184166&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181798&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix oc',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181841&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181854&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181413&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'trinity',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181419&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181351&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181350&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'gaming',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181414&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181349&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3 ultra',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181853&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus xtreme',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=183096&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3090',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=181352&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185086&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184759&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 2x oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185087&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'dual',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184760&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'twin edge oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185751&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'twin edge',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185752&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=184431&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc gaming',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185988&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'ftw3 ultra',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185987&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185408&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185407&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc pro',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185406&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185405&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'ko',
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=43_557_559&item_id=185168&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=4_64&item_id=183432&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5800x',
|
||||||
|
series: 'ryzen5800',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=4_64&item_id=183431&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5900x',
|
||||||
|
series: 'ryzen5900',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=4_64&item_id=183430&language=en'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5950x',
|
||||||
|
series: 'ryzen5950',
|
||||||
|
url:
|
||||||
|
'https://www.canadacomputers.com/product_info.php?cPath=4_64&item_id=183427&language=en'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'canadacomputers',
|
||||||
|
waitUntil: 'domcontentloaded'
|
||||||
|
};
|
||||||
@@ -2,6 +2,7 @@ import {Store} from './store';
|
|||||||
|
|
||||||
export const Caseking: Store = {
|
export const Caseking: Store = {
|
||||||
backoffStatusCodes: [403, 429],
|
backoffStatusCodes: [403, 429],
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.delivery_container',
|
container: '.delivery_container',
|
||||||
@@ -338,6 +339,48 @@ export const Caseking: Store = {
|
|||||||
series: 'ryzen5950',
|
series: 'ryzen5950',
|
||||||
url:
|
url:
|
||||||
'https://www.caseking.de/amd-ryzen-9-5950x-3-4-ghz-vermeer-am4-boxed-ohne-kuehler-hpam-205.html'
|
'https://www.caseking.de/amd-ryzen-9-5950x-3-4-ghz-vermeer-am4-boxed-ohne-kuehler-hpam-205.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
model: 'nitro oc se',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url:
|
||||||
|
'https://www.caseking.de/sapphire-nitro-radeon-rx-6800-xt-oc-16g-16384-mb-gddr6-gcsp-215.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sapphire',
|
||||||
|
model: 'nitro oc',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url:
|
||||||
|
'https://www.caseking.de/sapphire-nitro-radeon-rx-6800-xt-oc-se-16g-16384-mb-gddr6-gcsp-214.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url:
|
||||||
|
'https://www.caseking.de/gigabyte-radeon-rx-6800-xt-gaming-oc-16g-16384-mb-gddr6-gcgb-356.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url:
|
||||||
|
'https://www.caseking.de/gigabyte-radeon-rx-6800-xt-16g-16384-mb-gddr6-gcgb-357.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix lc',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url:
|
||||||
|
'https://www.caseking.de/asus-radeon-rx-6800-xt-rog-strix-lc-o16g-16384-mb-gddr6-gcas-416.html'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf',
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url:
|
||||||
|
'https://www.caseking.de/asus-radeon-rx-6800-xt-tuf-o16g-16384-mb-gddr6-gcas-417.html'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'caseking'
|
name: 'caseking'
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ import {Store} from './store';
|
|||||||
import {getProductLinksBuilder} from './helpers/card';
|
import {getProductLinksBuilder} from './helpers/card';
|
||||||
|
|
||||||
export const Ccl: Store = {
|
export const Ccl: Store = {
|
||||||
|
backoffStatusCodes: [403, 429, 503],
|
||||||
|
currency: '£',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '#pnlAddToBasket',
|
container: '#pnlAddToBasket',
|
||||||
@@ -23,6 +25,34 @@ export const Ccl: Store = {
|
|||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url:
|
url:
|
||||||
'https://www.cclonline.com/product/296443/RTX-2060-SUPER-VENTUS-GP-OC/Graphics-Cards/MSI-GeForce-RTX-2060-SUPER-VENTUS-GP-OC-8GB-Overclocked-Graphics-Card/VGA5671/'
|
'https://www.cclonline.com/product/296443/RTX-2060-SUPER-VENTUS-GP-OC/Graphics-Cards/MSI-GeForce-RTX-2060-SUPER-VENTUS-GP-OC-8GB-Overclocked-Graphics-Card/VGA5671/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5600x',
|
||||||
|
series: 'ryzen5600',
|
||||||
|
url:
|
||||||
|
'https://www.cclonline.com/product/331765/100-100000065BOX/CPU-Processors/AMD-Ryzen-5-5600X-3-7GHz-Hexa-Core-Processor-with-6-Cores-12-Threads-65W-TDP-35MB-Cache-4-6GHz-Turbo-Wraith-Stealth-Cooler/CPU0679/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5800x',
|
||||||
|
series: 'ryzen5800',
|
||||||
|
url:
|
||||||
|
'https://www.cclonline.com/product/331766/100-100000063WOF/CPU-Processors/AMD-Ryzen-7-5800X-3-8GHz-Octa-Core-Processor-with-8-Cores-16-Threads-105W-TDP-36MB-Cache-4-7GHz-Turbo-No-Cooler/CPU0680/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5900x',
|
||||||
|
series: 'ryzen5900',
|
||||||
|
url:
|
||||||
|
'https://www.cclonline.com/product/331767/100-100000061WOF/CPU-Processors/AMD-Ryzen-9-5900X-3-7GHz-Dodeca-Core-Processor-with-12-Cores-24-Threads-105W-TDP-70MB-Cache-4-8GHz-Turbo-No-Cooler/CPU0681/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'amd',
|
||||||
|
model: '5950x',
|
||||||
|
series: 'ryzen5950',
|
||||||
|
url:
|
||||||
|
'https://www.cclonline.com/product/331768/100-100000059WOF/CPU-Processors/AMD-Ryzen-9-5950X-3-4GHz-Hexadeca-Core-Processor-with-16-Cores-32-Threads-105W-TDP-72MB-Cache-4-9GHz-Turbo-No-Cooler/CPU0682/'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
linksBuilder: {
|
linksBuilder: {
|
||||||
@@ -33,6 +63,11 @@ export const Ccl: Store = {
|
|||||||
titleSelector: '.productList_Detail a[title]'
|
titleSelector: '.productList_Detail a[title]'
|
||||||
}),
|
}),
|
||||||
urls: [
|
urls: [
|
||||||
|
{
|
||||||
|
series: '3060ti',
|
||||||
|
url:
|
||||||
|
'https://www.cclonline.com/category/430/PC-Components/Graphics-Cards/GeForce-RTX-3060-Ti-Graphics-Cards/'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url:
|
url:
|
||||||
@@ -47,6 +82,21 @@ export const Ccl: Store = {
|
|||||||
series: '3090',
|
series: '3090',
|
||||||
url:
|
url:
|
||||||
'https://www.cclonline.com/category/430/PC-Components/Graphics-Cards/GeForce-RTX-3090-Graphics-Cards/'
|
'https://www.cclonline.com/category/430/PC-Components/Graphics-Cards/GeForce-RTX-3090-Graphics-Cards/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
series: 'rx6800',
|
||||||
|
url:
|
||||||
|
'https://www.cclonline.com/category/430/PC-Components/Graphics-Cards/AMD-Radeon-RX-6800-Graphics-Cards/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
series: 'rx6800xt',
|
||||||
|
url:
|
||||||
|
'https://www.cclonline.com/category/430/PC-Components/Graphics-Cards/AMD-Radeon-RX-6800-XT-Graphics-Cards/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
series: 'rx6900xt',
|
||||||
|
url:
|
||||||
|
'https://www.cclonline.com/category/430/PC-Components/Graphics-Cards/attributeslist/1268064/'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,88 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const Centrecom: Store = {
|
||||||
|
backoffStatusCodes: [403, 429],
|
||||||
|
currency: '$',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container:
|
||||||
|
'.prod_stores_stock > li:nth-child(1) > span:nth-child(2)',
|
||||||
|
text: ['In Stock']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: 'div.prod_price_current.product-price > span',
|
||||||
|
euroFormat: false
|
||||||
|
},
|
||||||
|
outOfStock: {
|
||||||
|
container:
|
||||||
|
'.prod_stores_stock > li:nth-child(1) > span:nth-child(2)',
|
||||||
|
text: ['Sold Out']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'tuf oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.centrecom.com.au/asus-geforce-rtx-3080-tuf-oc-10gb-gaming-graphics-card'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'galax',
|
||||||
|
model: 'sg oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.centrecom.com.au/galax-geforce-rtx-3080-sg-1-click-oc-graphics-card'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus master',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.centrecom.com.au/gigabyte-aorus-geforce-rtx-3080-master-graphics-card'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus xtreme',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.centrecom.com.au/gigabyte-geforce-rtx-3080-aorus-extreme-10gb-gddr6x-graphics-card'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.centrecom.com.au/gigabyte-geforce-rtx-3080-eagle-oc-10g-graphics-card'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'gaming oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.centrecom.com.au/gigabyte-geforce-rtx-3080-gaming-oc-10g-graphics-card'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.centrecom.com.au/msi-geforce-rtx-3080-gaming-x-trio-10g-graphics-card'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'suprim x',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.centrecom.com.au/msi-geforce-rtx-3080-suprim-x-10g-graphics-card'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 3x oc',
|
||||||
|
series: '3080',
|
||||||
|
url:
|
||||||
|
'https://www.centrecom.com.au/msi-geforce-rtx-3080-ventus-3x-oc-10gb-graphics-card'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'centrecom'
|
||||||
|
};
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const Comet: Store = {
|
||||||
|
currency: '€',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '.caption',
|
||||||
|
text: ['Aggiungi al carrello']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
cartUrl: 'https://www.comet.it/cart/insert/PSX01802A/online',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url: 'https://www.comet.it/ps5/sony-playstation-5'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url: 'https://www.comet.it/ps5/sony-playstation-5-digital-edition'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
cartUrl: 'https://www.comet.it/cart/insert/MIS01077A/online',
|
||||||
|
model: 'xbox series x',
|
||||||
|
series: 'xboxsx',
|
||||||
|
url: 'https://www.comet.it/xbox-serie-x/xbox-series-x'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'microsoft',
|
||||||
|
cartUrl: 'https://www.comet.it/cart/insert/MIS010761/online',
|
||||||
|
model: 'xbox series s',
|
||||||
|
series: 'xboxss',
|
||||||
|
url: 'https://www.comet.it/xbox-serie-x/xbox-series-s'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'comet'
|
||||||
|
};
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const Computeruniverse: Store = {
|
export const Computeruniverse: Store = {
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.availability',
|
container: '.availability',
|
||||||
@@ -13,6 +14,10 @@ export const Computeruniverse: Store = {
|
|||||||
maxPrice: {
|
maxPrice: {
|
||||||
container: '.product-price',
|
container: '.product-price',
|
||||||
euroFormat: true
|
euroFormat: true
|
||||||
|
},
|
||||||
|
outOfStock: {
|
||||||
|
container: '.availability',
|
||||||
|
text: ['nicht verfügbar']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
links: [
|
links: [
|
||||||
@@ -55,7 +60,8 @@ export const Computeruniverse: Store = {
|
|||||||
brand: 'evga',
|
brand: 'evga',
|
||||||
model: 'xc3 black',
|
model: 'xc3 black',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.computeruniverse.net/de/evga-geforce-rtx3070-xc3-black'
|
url:
|
||||||
|
'https://www.computeruniverse.net/de/evga-geforce-rtx3070-xc3-black'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'gainward',
|
brand: 'gainward',
|
||||||
@@ -138,7 +144,8 @@ export const Computeruniverse: Store = {
|
|||||||
brand: 'pny',
|
brand: 'pny',
|
||||||
model: 'dual fan',
|
model: 'dual fan',
|
||||||
series: '3070',
|
series: '3070',
|
||||||
url: 'https://www.computeruniverse.net/de/pny-geforce-rtx3070-m-dual-8-gb'
|
url:
|
||||||
|
'https://www.computeruniverse.net/de/pny-geforce-rtx3070-m-dual-8-gb'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
brand: 'pny',
|
brand: 'pny',
|
||||||
@@ -552,6 +559,20 @@ export const Computeruniverse: Store = {
|
|||||||
series: 'ryzen5950',
|
series: 'ryzen5950',
|
||||||
url:
|
url:
|
||||||
'https://www.computeruniverse.net/de/amd-ryzen-9-5950x-box-ohne-kuehler'
|
'https://www.computeruniverse.net/de/amd-ryzen-9-5950x-box-ohne-kuehler'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 console',
|
||||||
|
series: 'sonyps5c',
|
||||||
|
url:
|
||||||
|
'https://www.computeruniverse.net/de/sony-playstation-5-weiss-schwarz-825gb-ssd'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'sony',
|
||||||
|
model: 'ps5 digital',
|
||||||
|
series: 'sonyps5de',
|
||||||
|
url:
|
||||||
|
'https://www.computeruniverse.net/de/sony-playstation-5-digital-edition-weiss-schwarz-825gb-ssd'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'computeruniverse'
|
name: 'computeruniverse'
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const Coolblue: Store = {
|
export const Coolblue: Store = {
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.product-order',
|
container: '.product-order',
|
||||||
|
|||||||
@@ -1,11 +1,16 @@
|
|||||||
import {Store} from './store';
|
import {Store} from './store';
|
||||||
|
|
||||||
export const Coolmod: Store = {
|
export const Coolmod: Store = {
|
||||||
|
currency: '€',
|
||||||
labels: {
|
labels: {
|
||||||
inStock: {
|
inStock: {
|
||||||
container: '.product-availability',
|
container: '.product-availability',
|
||||||
text: ['Envío']
|
text: ['Envío']
|
||||||
},
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: '.text-price-total',
|
||||||
|
euroFormat: true
|
||||||
|
},
|
||||||
outOfStock: {
|
outOfStock: {
|
||||||
container: '.product-availability',
|
container: '.product-availability',
|
||||||
text: ['Sin Stock']
|
text: ['Sin Stock']
|
||||||
@@ -214,6 +219,76 @@ export const Coolmod: Store = {
|
|||||||
series: 'ryzen5950',
|
series: 'ryzen5950',
|
||||||
url:
|
url:
|
||||||
'https://www.coolmod.com/amd-ryzen-9-5950x-49ghz-socket-am4-boxed-procesador-precio'
|
'https://www.coolmod.com/amd-ryzen-9-5950x-49ghz-socket-am4-boxed-procesador-precio'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'dual',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.coolmod.com/asus-dual-geforce-rtx-3070-8gb-gddr6-tarjeta-grafica-precio'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'gaming x trio',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.coolmod.com/msi-geforce-rtx-3070-gaming-x-trio-8gb-gddr6-tarjeta-grafica-precio'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'msi',
|
||||||
|
model: 'ventus 2x',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.coolmod.com/msi-geforce-rtx-3070-ventus-2x-oc-8gb-gddr6-tarjeta-grafica-precio'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'evga',
|
||||||
|
model: 'xc3',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.coolmod.com/evga-geforce-rtx-3070-xc3-black-gaming-8gb-gddr6-tarjeta-grafica-precio'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'asus',
|
||||||
|
model: 'strix',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.coolmod.com/asus-rog-strix-geforce-rtx-3070-gaming-8gb-gddr6-tarjeta-grafica-precio'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'eagle',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.coolmod.com/gigabyte-geforce-rtx-3070-eagle-8gb-gddr6-tarjeta-grafica-precio'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'gigabyte',
|
||||||
|
model: 'aorus master',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.coolmod.com/gigabyte-aorus-geforce-rtx-3070-master-8gb-gddr6-tarjeta-grafica-precio'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'pny',
|
||||||
|
model: 'xlr8 revel',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.coolmod.com/pny-geforce-rtx-3070-xlr8-gaming-epic-x-rgb-8gb-gddr6-tarjeta-grafica-precio'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'zotac',
|
||||||
|
model: 'twin edge',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.coolmod.com/zotac-gaming-geforce-rtx-3070-twin-edge-8gb-gddr6-tarjeta-grafica-precio'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'kfa2',
|
||||||
|
model: 'sg oc',
|
||||||
|
series: '3070',
|
||||||
|
url:
|
||||||
|
'https://www.coolmod.com/kfa2-geforce-rtx-3070-sg-1-click-oc-8gb-gddr6-tarjeta-grafica-precio'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
name: 'coolmod'
|
name: 'coolmod'
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
import {Store} from './store';
|
||||||
|
|
||||||
|
export const Corsair: Store = {
|
||||||
|
currency: '$',
|
||||||
|
labels: {
|
||||||
|
inStock: {
|
||||||
|
container: '.add_to_cart_form',
|
||||||
|
text: ['add to cart']
|
||||||
|
},
|
||||||
|
maxPrice: {
|
||||||
|
container: '.product-price',
|
||||||
|
euroFormat: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
links: [
|
||||||
|
{
|
||||||
|
brand: 'test:brand',
|
||||||
|
model: 'test:model',
|
||||||
|
series: 'test:series',
|
||||||
|
url:
|
||||||
|
'https://www.corsair.com/us/en/Categories/Products/Power-Supply-Units/Power-Supply-Units-Advanced/SF-Series/p/CP-9020181-NA'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'corsair',
|
||||||
|
model: '750 platinum',
|
||||||
|
series: 'sf',
|
||||||
|
url:
|
||||||
|
'https://www.corsair.com/us/en/Categories/Products/Power-Supply-Units/Power-Supply-Units-Advanced/SF-Series/p/CP-9020186-NA'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
brand: 'corsair',
|
||||||
|
model: '600 platinum',
|
||||||
|
series: 'sf',
|
||||||
|
url:
|
||||||
|
'https://www.corsair.com/us/en/Categories/Products/Power-Supply-Units/Power-Supply-Units-Advanced/SF-Series/p/CP-9020182-NA'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
name: 'corsair'
|
||||||
|
};
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user