File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ Here is a list of variables that you can use to customize your newly copied `.en
77
77
| ` HEADLESS ` | Puppeteer to run headless or not | Debugging related, default: ` true ` |
78
78
| ` IN_STOCK_WAIT_TIME ` | Time to wait between requests to the same link if it has that card in stock | In seconds, default: ` 0 ` |
79
79
| ` LOG_LEVEL ` | [ Logging levels] ( https://github.com/winstonjs/winston#logging-levels ) | Debugging related, default: ` info ` |
80
- | ` LOW_BANDWIDTH ` | Blocks images/fonts to reduce traffic (Note: disabled adblocker) | Default : ` false ` |
80
+ | ` LOW_BANDWIDTH ` | Blocks images/fonts to reduce traffic | Disables ad blocker, default : ` false ` |
81
81
| ` MICROCENTER_LOCATION ` | Specific MicroCenter location to search | Default : ` web ` |
82
82
| ` OPEN_BROWSER ` | Toggle for whether or not the browser should open when item is found | Default: ` true ` |
83
83
| ` PAGE_TIMEOUT ` | Navigation Timeout in milliseconds | ` 0 ` for infinite, default: ` 30000 ` |
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ async function lookup(browser: Browser, store: Store) {
33
33
continue ;
34
34
}
35
35
36
- if ( Config . page . inStockWaitTime && inStock [ store . name ] ) {
36
+ if ( Config . page . inStockWaitTime && inStock [ link . url ] ) {
37
37
Logger . info ( Print . inStockWaiting ( link , store , true ) ) ;
38
38
continue ;
39
39
}
You can’t perform that action at this time.
0 commit comments