Giter Site home page Giter Site logo

ianmarmour / nvidia-clerk Goto Github PK

View Code? Open in Web Editor NEW
222.0 23.0 64.0 62.28 MB

A cross-platform go bot that tracks for availability of stock from Nvidia's store and adds a cart to your checkout.

License: BSD 3-Clause "New" or "Revised" License

Go 100.00%
nvidia nvidia-clerk bot gpu nvidia-gpu

nvidia-clerk's Introduction

UPDATE

Nvidia is sadly no longer selling their GPUs on their own store, for the foreseeable future all Founders Edition cards will be sold via 3rd party retailers (I believe only in North America) as such this project is deprecated. I thank everybody for all their support and feedback throughout the process of writing and maintaining Clerk. I'm going to be deprecating this project but will leave the code up as a historical reference for the future in case NVIDIA starts to sell cards again using their same digital storefront.

Shield Badges

go Coverage Status discord nvidia-api

nvidia-clerk

nvidia-clerk is a command-line tool written to help you get an RTX 30XX or RTX 20XX series GPU.

alt text

Known Issues

NVIDIA API

If you have this message or similar please don't make an issue. "https://api-prod.nvidia.com/direct-sales-shop/DR/products/en_us/USD/5438481700": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Discord Server

To hear about any widespread issues or new releases of this tool join the Discord by clicking the chat button above.

Background

nvidia-clerk was written in response to the recent NVIDIA RTX 3080 release debacle. During the launch, multiple different groups of scalpers used private bots to procure large quantities of NVIDIA GPU's and most consumers were left without being able to purchase the product. This project will provide a short term solution so that customers can ensure they can buy a GPU and compete with these scalpers.

NVIDIA Clerk doesn't purchase products for customers, it simply tracks the available inventory from NVIDIAs APIs when a card becomes available it can automatically notify you or open your browser to the page with a cart containing your item.

Install

Download

Download your correct os file from LATEST RELEASE. What is ARM?

❗ Make sure you accept any browser warnings, these warnings are because these release binaries are not "signed" (this costs money and as a free project we haven't paid for a signing certificate)

Supported Region Codes

AUT, BEL, CAN, CZE, DNK, FIN, FRA, DEU, USA, GBR, IRL, ITA, SWE, LUX, POL, PRT, ESP, NOR, NLD

Supported Models By Region

-model=2060 NVIDIA RTX 2060 SUPER - All-Region Codes Except PRT

-model=2070 NVIDIA RTX 2070 SUPER - All-Region Codes Except PRT

-model=2080 NVIDIA RTX 2080 SUPER - All-Region Codes Except CAN, PRT

-model=2080TI NVIDIA RTX 2080 TI - All-Region Codes Except FRA, PRT

-model=3080 NVIDIA RTX 3080 - All-Region Codes

-model=3090 NVIDIA RTX 3090 - All-Region Codes Except PRT

Usage

Windows - Command Prompt

πŸ“ All commands should be executed inside of cmd.exe
nvidia-clerk-windows.exe -region=REGION_CODE_HERE -model=3080

Windows - Powershell

πŸ“ All commands should be executed inside of powershell.exe
.\nvidia-clerk-windows.exe -region=REGION_CODE_HERE -model=3080

Mac OSX

πŸ“ All commands should be executed inside of Terminal.app
chmod +x ./nvidia-clerk-darwin

./nvidia-clerk-darwin -region=REGION_CODE_HERE -model=3080

Linux

πŸ“ All commands should be executed inside of Shell
chmod +x ./nvidia-clerk-linux

./nvidia-clerk-linux -region=REGION_CODE_HERE -model=3080

Testing

Testing is currently only supported in regions with the 2060 but it should show you what the automated checkout will look like.

Windows

πŸ“ All commands should be executed inside of cmd.exe
nvidia-clerk-windows.exe -region=USA -model=2060

Mac OSX

πŸ“ All commands should be executed inside of Terminal.app
./nvidia-clerk-darwin -region=USA -model=2060

Linux

πŸ“ All commands should be executed inside of Shell
./nvidia-clerk-linux -region=USA -model=2060

Advanced Usage

Desktop Notifications

Can be used in conjunction with sms/telegram/etc adds popup notifications on your desktop with sound/visual indicator.

nvidia-clerk-windows.exe -model=3080 -desktop

Remote Mode

Disables browser automation and instead sends you the checkout link via one of the below notification services you can click the link on any device to get to your checkout with the card added. This is great for people who can't be at their computer during the day! (Try testing with -model=2060 to see how this new feature works)

nvidia-clerk-windows.exe -model=3080 -sms -remote

Manual Delay Usage

Example of setting a 1 second delay (delay is specificed in miliseconds)

nvidia-clerk-windows.exe -region=USA  -model=3080 -delay=1000

SMS Notifications

❗ Android users must disable the link preview feature in their messaging app of choice!!!!

Configuration

set TWILIO_ACCOUNT_SID=YOUR_TWILIO_ACCOUNT_SID_HERE
set TWILIO_TOKEN=YOUR_TWILIO_TOKEN_HERE
set TWILIO_SOURCE_NUMBER=YOUR_TWILIO_SERVICE_NUMBER_HERE
set TWILIO_DESTINATION_NUMBER=YOUR_DESITNATION_NUMBER_FOR_NOTIFICATIONS_HERE

Testing

Testing only works fully with an in-stock card.

nvidia-clerk-windows.exe -sms -model=2060

Usage

nvidia-clerk-windows.exe -sms -region=REGION_CODE_HERE -model=3080

Discord Notifications

Configuration

set DISCORD_WEBHOOK_URL=DISCORD_WEBHOOK_URL_HERE

Testing

./nvidia-clerk-windows.exe -discord -model=2060

Usage

./nvidia-clerk-windows.exe -discord -region=REGION_CODE_HERE -model=3080

Twitter Notifications

Configuration

set TWITTER_CONSUMER_KEY=YOUR_TWITTER_CONSUMER_KEY_HERE
set TWITTER_CONSUMER_SECRET=YOUR_TWITTER_CONSUMER_SECRET_HERE
set TWITTER_ACCESS_TOKEN=YOUR_TWITTER_ACCESS_TOKEN_HERE
set TWITTER_ACCESS_SECRET=YOUR_TWITTER_ACCESS_SECRET_HERE

Testing

./nvidia-clerk-windows.exe -twitter -model=2060

Usage

./nvidia-clerk-windows.exe -twitter -region=REGION_CODE_HERE -model=3080

Telegram Notifications

Configuration

  1. In Telegram, create a new bot by contacting the @BotFather and either creating a new bot or getting an existing bot token.
  2. Once you have your token (e.g. 123456789:LaeQH7pvhJbqmqV9_akkVbClpsSZr7su63o), add your bot to a group or channel.
  3. Get the chat id of your group or channel by following the instructions available on GitHub here. This will be either in the format -10012345678 or @my_channel_or_group.
  4. Use the full token, including the :, as your API key, and use the full chat id, including the - or @, as your chat id.
set TELEGRAM_API_KEY=YOUR_TELEGRAM_API_KEY_HERE
set TELEGRAM_CHAT_ID=YOUR_TELEGRAM_CHAT_ID_HERE

Testing

./nvidia-clerk-windows.exe -telegram -model=2060

Usage

./nvidia-clerk-windows.exe -telegram -region=REGION_CODE_HERE -model=3080

FAQ

❗ Before you or ask for help go get the latest release! and check Discord by clicking the chat button above.

exec: "google-chrome": executable file not found in %PATH%

The path to google chrome needs to be added to the path. While reinstalling Chrome can fix it, a quick search on Google will show you how to do exactly this.

My environment variables are being unset

You can add them to your .bashrc or .zsh files and be sure to export them. Sourcing the files and/or restarting your window will load them. That said, the easiest way to do this is just to wrap these values in a wrapper script. eg.

set TWILIO_ACCOUNT_SID={YOUR_TWILIO_ACCOUNT_SID}
set TWILIO_TOKEN={YOUR_TWILIO_TOKEN}
set TWILIO_SOURCE_NUMBER={YOUR_TWILIO_PHONE_NR}
set TWILIO_DESTINATION_NUMBER={THE_NUMBER_TO_WHICH_TO_SEND_THE_NOTIFICATIONS}

nvidia-clerk-windows.exe -region={REGION_CODE_HERE} -model=3080

The log says "Access Denied" and then quits

This can be caused by a myriad of things. However, here are some items to check:

  1. Is your antivirus blocking it? Some AVs will copy the threatening file into a separate directory and give a notification
  2. Is your firewall blocking access?
  3. Do you have the right permissions to run this program?

It's still not working...help!

Please search in the Issues tab of this repository for solutions, and if you can't find anything, post a detailed listing. Please follow the following structure for asking questions:

Operating system: 
The version of nvidia-clerk you're running:
Parameters passed in (redact sensitive info):
Additional info:

nvidia-clerk's People

Contributors

bryanberger avatar forestlovewood avatar ianmarmour avatar nickottrando avatar penguinologist avatar redstone2019 avatar rpomykala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nvidia-clerk's Issues

v1.5 - refresh stop after some times

Hey, so i'm using v1.5 and at my first try of this version, the refresh stopped after 30min, no error though

Capture d’écran 2020-09-22 103229
Capture d’écran 2020-09-22 103204

Then i restarted for a 2nd try, and it stopped after 10min
1
2

So i did a 3rd try, stopped after 12min
3
4

Intermittent errors

Getting the following intermittent errors:

invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
SKU Name: NVIDIA GEFORCE RTX 3080 - FR
SKU Status: PRODUCT_INVENTORY_OUT_OF_STOCK
Product Inventory: 7

Error attempting to access URL: https://in-and-ru-store-api.uk-e1.cloudhub.io/DR/get-inventory/fr_fr/5438795200?format=json&expand=availablequantity
Error getting SKU Inventory retrying...
Error attempting to access URL: https://in-and-ru-store-api.uk-e1.cloudhub.io/DR/products/fr_fr/EUR/5438795200
Error getting SKU Information retrying...
SKU Name: NVIDIA GEFORCE RTX 3080 - FR
SKU Status: PRODUCT_INVENTORY_OUT_OF_STOCK
Product Inventory: 7

invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Inventory retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
Error attempting to access URL: https://in-and-ru-store-api.uk-e1.cloudhub.io/DR/products/fr_fr/EUR/5438795200
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
Error attempting to access URL: https://in-and-ru-store-api.uk-e1.cloudhub.io/DR/products/fr_fr/EUR/5438795200
Error getting SKU Information retrying...

Environment Variables unset despite setting

I'm unable to run the program on windows due to the environment variables not being set.
I realize this is likely an issue on my end but I was hoping I could get some help here.

I'm running it in Powershell.

image

Index out of range (GB)

Variables:
SKU: 5438792800 (Great Britain RTX 3080)
Locale: en_GB
Currency: GBP

Receive the error below as soon I run the exe.

Exception:
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
main.main()
goroutine 1 [running]:main.main()/home/inarm/go/src/github.com/ianmarmour/nvidia-clerk/main.go:59 +0x746

Index out of range

System:
Windows 10 1909 18363.1082
Chrome: 85.0.4183.102

Variables:
SKU: 5438792300 (Germany)
Locale: de-de
Currency: EUR

I'm getting an "index out of range" error as soon as I start it. All variables are set.

Exception:
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
main.main()
/home/runner/work/nvidia-clerk/nvidia-clerk/main.go:33 +0x625

Telegram not working "flag provided but not defined: -telegram"

Looks like the flag -telegram is not defined yet.
Can you check?

nvidia-clerk-windows.exe -telegram -test
flag provided but not defined: -telegram
Usage of nvidia-clerk-windows.exe:
  -discord
        Enable Discord webhook notifications for whenever SKU is in stock.
  -region string
        3 Letter region code (default "USA")
  -sms
        Enable SMS notifications for whenever SKU is in stock.
  -test
        Enable testing mode
  -twitter
        Enable Twitter Posts for whenever SKU is in stock.

Country Locale

Hello!

First I need to say thanks you for your awesome job, that little monitor bot is really nice and it seems to work perfectly, even tested with -sms -test and a notification is correctly received :) .

But I have a question about the locale, I'm in Canada so I'm questioning myself if your bot will really work for me.
The bot currently echo "SKU Name: NVIDIA GEFORCE RTX 3080 - US"

Do you think it's possible to have "- CA"? Or maybe it's just the same locale for North America.
What's your thought on this?

Thanks again!

option to select the delay

It would be cool to have as launch argument a delay option. Seems like 500ms may be way too fast. Had multiple "Api rate limites", and seems like it's somewhat heavy to let it run on the background.

Panic runtime error

does anyone know what this means? or is It working properly.
Thanks for the help

Feature Request More Robust Logging

Need to update all the logging in the application to log to a file so that users can post more in depth bug reports, this includes more data begin captured regarding response failures and log formatting should be consistent across the application.

E.X

nvidia-clerk-log.log

[log_type][process_id][timestamp] - log_message_content

Different SKU

How would you go by searching for different SKU like for upcoming 3090RTX?

Feature request

Display item name and region on every attempt.

It's just reassuring to know you are targeting the right item, and not accidentally ordering something else by mistake.

Latest version not working

Updated to latest version and it no longer works. Opens Chrome but doesn't get any further. After about 30 seconds I get the following message before the script closes. Downgrading to older version resolves the issue.

2020/09/22 09:19:09 websocket url timeout reached

Rate limit exceeded for API_KEY

After about 10 to 20 seconds running fine, I get the error Rate limit exceeded for API_KEY.
Polling might be too fast?
Region: FRA

Connection refused

Getting this error upon trying to setup the bot:

Get "http://localhost:9222/json/version": dial tcp [::1]:9222: connect: connection refused

These are my commands that I previously entered:

% export NVIDIA_CLERK_SKU=5438481700
% export TWILIO_ACCOUNT_SID=[redacted]
% export TWILIO_TOKEN=[redacted]
% export TWILIO_SOURCE_NUMBER=[redacted]
% export TWILIO_DESTINATION_NUMBER=[redacted]
% chmod +x ./nvidia-clerk-darwin
% ./nvidia-clerk-darwin -sms

Running MacOS. Chrome is installed.
Script was working last time I ran which was v0.4

Error sending Telegram notification

2020/09/22 20:05:10 Unable to send message to telegram, bad request.
Error testing Telegram notification exiting...

Using in CMD
set TELEGRAM_API_KEY=XXX:XXX
set TELEGRAM_CHAT_ID=-XXX
nvidia-clerk-windows.exe -telegram -test

Netherlands SKU

Hi there could the Netherlands be added as well?

set NVIDIA_CLERK_SKU=5438796700
set NVIDIA_CLERK_LOCALE=nl_nl
set NVIDIA_CLERK_CURRENCY=EUR

Good job making this tool!

Allow options for 3070 and 3090

Thank you for providing this service to users. I would like to use this for the 3090 so I can actually get one to install in my PC and one for a friend.

Feature request

  1. Time stamp for each order attempt so we know if the script stopped

  2. Previous version showed number in stock. Can you bring this back?

Segfault on version 2.1 (MacOS)

./nvidia-clerk-darwin -region=GBR -sms -model=3080
2020/09/23 11:36:08 Erorr unmarshalling inventory XML
2020/09/23 11:36:08 Error getting Product Information retrying...
2020/09/23 11:36:09 Product ID: 5438792800
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x144cf18]

goroutine 1 [running]:
main.MonitorRelease(0x15c5de0, 0xc0001940f0, 0xc000196000, 0x1)
/home/runner/work/nvidia-clerk/nvidia-clerk/main.go:164 +0x238
main.main()
/home/runner/work/nvidia-clerk/nvidia-clerk/main.go:96 +0x626

Product Inventory

Does the Product Inventory response indicate the amount of current "in-warehouse' inventory that is waiting to be released for purchase? I've seen some people reporting a number of "2" as where I've consistently been seeing 363. Does that mean that 363 cards are ready to go pending Nvidia changing the status to "in stock"?

GO Exception on Launch

I am getting this stacktrace whenever I download the .exe, place it on my desktop, and Admin CMD to launch the app with nvidia-clerk-windows.exe -region=USA -test

Exception 0xc0000005 0x0 0x7ff855172fff 0x237b6ff0000
PC=0x237b6ff0000

syscall.Syscall6(0x7ff854396600, 0x6, 0x2, 0x1, 0x0, 0x0, 0x0, 0x81, 0x0, 0x0, ...)
        /opt/hostedtoolcache/go/1.15.2/x64/src/runtime/syscall_windows.go:201 +0xf2
internal/syscall/windows.WSASocket(0x100000002, 0x0, 0x0, 0x8100000000, 0xc000359260, 0x30, 0x30)
        /opt/hostedtoolcache/go/1.15.2/x64/src/internal/syscall/windows/zsyscall_windows.go:122 +0xcc
net.sysSocket(0x2, 0x1, 0x0, 0x1401aa0, 0xcb314b, 0xc0000314b0)
        /opt/hostedtoolcache/go/1.15.2/x64/src/net/sock_windows.go:20 +0x66
net.socket(0x110f240, 0xc00019da40, 0x106e139, 0x3, 0x2, 0x1, 0x0, 0x0, 0x1110140, 0x0, ...)
        /opt/hostedtoolcache/go/1.15.2/x64/src/net/sock_posix.go:19 +0x65
net.internetSocket(0x110f240, 0xc00019da40, 0x106e139, 0x3, 0x1110140, 0x0, 0x1110140, 0xc000359260, 0x1, 0x0, ...)
        /opt/hostedtoolcache/go/1.15.2/x64/src/net/ipsock_posix.go:141 +0x170
net.(*sysDialer).doDialTCP(0xc000038b00, 0x110f240, 0xc00019da40, 0x0, 0xc000359260, 0xfe7020, 0x1401968, 0x0)
        /opt/hostedtoolcache/go/1.15.2/x64/src/net/tcpsock_posix.go:65 +0xc9
net.(*sysDialer).dialTCP(0xc000038b00, 0x110f240, 0xc00019da40, 0x0, 0xc000359260, 0xc000134b48, 0xb559e5, 0x60)
        /opt/hostedtoolcache/go/1.15.2/x64/src/net/tcpsock_posix.go:61 +0xde
net.(*sysDialer).dialSingle(0xc000038b00, 0x110f240, 0xc00019da40, 0x110c5c0, 0xc000359260, 0x0, 0x0, 0x0, 0x0)
        /opt/hostedtoolcache/go/1.15.2/x64/src/net/dial.go:580 +0x5e5
net.(*sysDialer).dialSerial(0xc000038b00, 0x110f240, 0xc00019da40, 0xc00006f3f0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
        /opt/hostedtoolcache/go/1.15.2/x64/src/net/dial.go:548 +0x15e
net.(*Dialer).DialContext(0x13ce760, 0x110f240, 0xc00019da40, 0x106e139, 0x3, 0xc0003684b5, 0xf, 0x0, 0x0, 0x0, ...)
        /opt/hostedtoolcache/go/1.15.2/x64/src/net/dial.go:425 +0x6f7
github.com/gobwas/ws.Dialer.dial(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/runner/go/pkg/mod/github.com/gobwas/[email protected]/dialer.go:226 +0x19b
github.com/gobwas/ws.Dialer.Dial(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/runner/go/pkg/mod/github.com/gobwas/[email protected]/dialer.go:165 +0x190
github.com/gobwas/ws.Dial(...)
        /home/runner/go/pkg/mod/github.com/gobwas/[email protected]/dialer.go:47
github.com/chromedp/chromedp.DialContext(0x110f240, 0xc00019da40, 0xc0003684b0, 0x4a, 0xc000135448, 0x1, 0x1, 0x0, 0xc00007a040, 0xc000135534)
        /home/runner/go/pkg/mod/github.com/chromedp/[email protected]/conn.go:59 +0xb8
github.com/chromedp/chromedp.NewBrowser(0x110f280, 0xc000359170, 0xc0003684b0, 0x4a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/runner/go/pkg/mod/github.com/chromedp/[email protected]/browser.go:104 +0x285
github.com/chromedp/chromedp.(*ExecAllocator).Allocate(0xc00007c140, 0x110f280, 0xc000359170, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/runner/go/pkg/mod/github.com/chromedp/[email protected]/allocate.go:240 +0xc1c
github.com/chromedp/chromedp.Run(0x110f280, 0xc000359170, 0xc000135848, 0x3, 0x3, 0x0, 0x1108ee0)
        /home/runner/go/pkg/mod/github.com/chromedp/[email protected]/chromedp.go:227 +0x1f7
github.com/ianmarmour/nvidia-clerk/internal/browser.StartSession(0x106e9eb, 0x5, 0x106e05b, 0x3, 0x1f4, 0x107091d, 0xa, 0x1070913, 0xa, 0x0, ...)
        /home/runner/work/nvidia-clerk/nvidia-clerk/internal/browser/browser.go:167 +0x3d6
main.main()
        /home/runner/work/nvidia-clerk/nvidia-clerk/main.go:105 +0x538

goroutine 6 [chan receive]:
github.com/chromedp/chromedp.NewContext.func1(0x110f280, 0xc000359170, 0xc00014cb00)
        /home/runner/go/pkg/mod/github.com/chromedp/[email protected]/chromedp.go:129 +0x7f
created by github.com/chromedp/chromedp.NewContext
        /home/runner/go/pkg/mod/github.com/chromedp/[email protected]/chromedp.go:128 +0x24d

goroutine 7 [select]:
os/exec.(*Cmd).Start.func2(0xc000158420)
        /opt/hostedtoolcache/go/1.15.2/x64/src/os/exec/exec.go:449 +0xd5
created by os/exec.(*Cmd).Start
        /opt/hostedtoolcache/go/1.15.2/x64/src/os/exec/exec.go:448 +0x751

goroutine 8 [chan receive]:
github.com/chromedp/chromedp.(*ExecAllocator).Allocate.func2(0x110f280, 0xc000359170, 0xc000158420, 0xc000158401, 0xc00035aac0, 0x3d, 0xc00014cb00, 0xc00007c140)
        /home/runner/go/pkg/mod/github.com/chromedp/[email protected]/allocate.go:199 +0x53
created by github.com/chromedp/chromedp.(*ExecAllocator).Allocate
        /home/runner/go/pkg/mod/github.com/chromedp/[email protected]/allocate.go:198 +0x9b8
rax     0x7ff8516ed84a
rbx     0x7ff8516ed848
rcx     0x77
rdi     0xffffffffffbadd11
rsi     0x0
rbp     0x237b6d34e40
rsp     0xd3231fead0
r8      0x94b
r9      0x94b
r10     0x94b
r11     0x94b
r12     0x7ff854f80000
r13     0x0
r14     0x7ff8516ed84a
r15     0xc000007a
rip     0x237b6ff0000
rflags  0x10202
cs      0x33
fs      0x53
gs      0x2b

Sweden SKU

Swedens sku is 5438798100

Your cmd should look like this before dragging the exe in the window
9440fd3c82a23610da2c04aee8f1c087

Quick question

Is this what it's supposed to be doing now? Just grabbed the newer release and want to make sure.
Screenshot 2020-09-22 18 01 41

Access is denied

As of 00:00GMT, the program has only returned Access Is Denied

invalid character 'E' looking for beginning of value

Getting a loop of errors as shown below:

invalid character 'E' looking for beginning of value Error getting SKU Information retrying...

My setup was as follows:
set NVIDIA_CLERK_LOCALE=en-gb set NVIDIA_CLERK_SKU=5438792800 set NVIDIA_CLERK_CURRENCY=GBP

Any idea if it's something I'm doing wrong? Cheers!

Twilio option to configure Account SID and Auth SID

For Twilio, I have an API Key setup that I would prefer to use instead of the primary account. Unfortunately the SMS feature does not work because of this. Can you add a new variable to supply an Auth SID to be used in the SetBasicAuth() call? If AUTH SID is empty you could fall back to Account SID.

Help?

I am very new to coding in general and am unable to find the root of my problem. I cannot get the clerk executable to run through command prompt

C:\Users___>/nvidia-clerk-windows.exe
'/nvidia-clerk-windows.exe' is not recognized as an internal or external command,
operable program or batch file.

Is there something I am doing incorrectly?

Not all chrome paths supported

On windows, my chrome.exe is located at

C:\Users\{USERNAME}\AppData\Local\Google\Chrome\Application\chrome.exe

I'm looking into seeing if it's possible to use the exists function with a regex and modify this block to also check for this path.

SMS Issues

I tried to enable the SMS responses, however I haven't been able to get it set up.

I tried typing in the "config settings" (both manually and through a batch file) but command prompt wouldn't give me a response (no error or confirmation messages). So, I went into the source [config.go] and hard-coded my config codes (commenting out the automated setup lines).

image
I blurred out my info for security reasons

Now, I am getting nvidia stock results back on the debug console (yay), however, I don't see any SMS messages (even after running the test flag).

Any thoughts on why this isn't working?

Api Limit Request

Just to let you know that having a delay of 2 seconds or less that 1 time on 3 we get an error that the api exceed the limit.
I'm currently using a delay of 3000 and it seems to be good!

Pretty use Nvidia put that limit yesterday with their new reCaptcha.

Runtime error

after setting up the correct region and SKU number (5438796700, nl_nl, EUR) when i try to run it it opens chrome just fine but throws a fatal error

C:\Users\Mitchell\Desktop\Nvidia Clerk>nvidia-clerk-windows.exe
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
main.main()
        /home/runner/work/nvidia-clerk/nvidia-clerk/main.go:33 +0x625

any ideas what it could be?
SKU was found using the DigitalRiver API and postman

            "uri": "https://api.digitalriver.com/v1/shoppers/me/products/5438796700",
            "id": 5438796700,
            "displayName": "NVIDIA GEFORCE RTX 3080",
            "pricing": {
                "uri": "https://api.digitalriver.com/v1/shoppers/me/products/5438796700/pricing",
                "formattedListPrice": "719,00 €",
                "formattedSalePriceWithQuantity": "719,00 €"
            }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.