Git Product home page Git Product logo

shopify-monitor's People

Contributors

dam998 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shopify-monitor's Issues

problem when npm start

it returns the following error when npm start

(node:8778) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:8778) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

how to solve it?

thanks

It's start getting errors when the code runs for 10 minutes

I don't know what it's mean so I copied all here:
Error: getaddrinfo ENOTFOUND https
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26) {
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'https',
config: {
url: 'https://https://nrml.ca//products.json?limit=250',
method: 'get',
headers: {
Accept: 'application/json, text/plain, /',
'User-Agent': 'axios/0.19.2'
},
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
validateStatus: [Function: validateStatus],
data: undefined
},
request: Writable {
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: false,
bufferedRequestCount: 0,
corkedRequestsFree: [Object]
},
writable: true,
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError]
},
_eventsCount: 2,
_maxListeners: undefined,
_options: {
protocol: 'https:',
maxRedirects: 21,
maxBodyLength: 10485760,
path: '//nrml.ca//products.json?limit=250',
method: 'GET',
headers: [Object],
agent: undefined,
agents: [Object],
auth: undefined,
hostname: 'https',
port: null,
nativeProtocols: [Object],
pathname: '//nrml.ca//products.json',
search: '?limit=250'
},
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [TLSSocket],
connection: [TLSSocket],
_header: 'GET //nrml.ca//products.json?limit=250 HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'User-Agent: axios/0.19.2\r\n' +
'Host: https\r\n' +
'Connection: close\r\n' +
'\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Agent],
socketPath: undefined,
method: 'GET',
insecureHTTPParser: undefined,
path: '//nrml.ca//products.json?limit=250',
_ended: false,
res: null,
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
_redirectable: [Circular],
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
_currentUrl: 'https://https//nrml.ca//products.json?limit=250',
[Symbol(kCapture)]: false
},
response: undefined,
isAxiosError: true,
toJSON: [Function]
}

Message Sending

I added this to my server and it is monitoring Nike, but it hasn't sent any messages. I added it 2 hours ago though so I'm not sure when messages should be sent. Does it only send when new products are added?

Issue with the ATC Link

Hi i noticed a problem with the ATC link
When we click on it, it puts an error. I managed to correct the problem by removing the .js from the link. I suggest you make this change on your next update

Otherwise everything works perfectly, thank you
(in the future, an AIO monitor would also be perfect lol)

Would like to now if setting file written correctly

Hi there I just wanted to know if the config file that I have written is good .
Because it seems the monitor does not seem to filter keywords as output .

there is the config file :

},
"requestTiming": 30000,
"__KEYWORDS_EXPLAINED" : "",
"keywords": [[""]],
"sites": [
{
"url": "hanon-shop.com",
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Jordan","11"],["Nike","Jordan","4"],["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90$
},
{
"url": "a-ma-maniere.com",
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Jordan","11"],["Nike","Jordan","4"],["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"$
},
{
"url": "apbstore.com",
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Jordan","11"],["Nike","Jordan","4"],["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"$
},
{
"url": "alifenewyork.com",
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Jordan","11"],["Nike","Jordan","4"],["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"$
},
{
"url": "antisocialsocialclub.com",
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Jordan","11"],["Nike","Jordan","4"],["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"$
},
{
"url": "atmosny.com",
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Jordan","11"],["Nike","Jordan","4"],["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"$
},
{
"url": "bapefrance.com",
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Jordan","11"],["Nike","Jordan","4"],["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"$
},
{
"url": "bdgastore.com",
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Jordan","11"],["Nike","Jordan","4"],["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"$
},
{
"url": "fearofgod.com",
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Jordan","11"],["Nike","Jordan","4"],["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"$
},
{
"url": "humanmade.jp",
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Jordan","11"],["Nike","Jordan","4"],["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"$
}

linux

Will this run on linux? I had issues trying to get it to run on ubuntu.
It works perfect on windows though.
Thanks!

Getting errors after running the script on Ubuntu after a day or so

  timeout: 0,
  adapter: [Function: httpAdapter],
  xsrfCookieName: 'XSRF-TOKEN',
  xsrfHeaderName: 'X-XSRF-TOKEN',
  maxContentLength: -1,
  validateStatus: [Function: validateStatus],
  data: undefined
},
request: ClientRequest {
  _events: [Object: null prototype],
  _eventsCount: 6,
  _maxListeners: undefined,
  outputData: [],
  outputSize: 0,
  writable: true,
  _last: true,
  chunkedEncoding: false,
  shouldKeepAlive: false,
  useChunkedEncodingByDefault: false,
  sendDate: false,
  _removedConnection: false,
  _removedContLen: false,
  _removedTE: false,
  _contentLength: 0,
  _hasBody: true,
  _trailer: '',
  finished: true,
  _headerSent: true,
  socket: [TLSSocket],
  connection: [TLSSocket],
  _header: 'GET /products.json?limit=250 HTTP/1.1\r\n' +
    'Accept: application/json, text/plain, */*\r\n' +
    'User-Agent: axios/0.19.2\r\n' +
    'Host: packershoes.com\r\n' +
    'Connection: close\r\n' +
    '\r\n',
  _onPendingData: [Function: noopPendingOutput],
  agent: [Agent],
  socketPath: undefined,
  method: 'GET',
  insecureHTTPParser: undefined,
  path: '/products.json?limit=250',
  _ended: true,
  res: [IncomingMessage],
  aborted: false,
  timeoutCb: null,
  upgradeOrConnect: false,
  parser: null,
  maxHeadersCount: null,
  reusedSocket: false,
  _redirectable: [Writable],
  [Symbol(kCapture)]: false,
  [Symbol(kNeedDrain)]: false,
  [Symbol(corked)]: 0,
  [Symbol(kOutHeaders)]: [Object: null prototype]
},
data: ''

},
isAxiosError: true,
toJSON: [Function]
}
[ERROR ] Bad gateway error, if you are using ipv6 proxy don't use it, because it's not supported. If this is not the solution please open an issue on github [https://github.com/Dam998/shopify-monitor]

Im running the same config on a windows server and have no issues
I am not running any proxies.

Server

Hi Dam,
how can I do if I would like export the program in a server like mongo?
Where can I modify the code to connect it with the server?

proxy

Hi, I use private proxies, 10 sites, in the config 2 proxy addresses, the request time is 15000, but after connecting to all sites I see ban

npm start

how do I solve this error?

SyntaxError: C:\shopify-monitor-master\shopify-monitor-master\config.json: Unexpected token m in JSON at position 981
at parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1172:22)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (C:\shopify-monitor-master\shopify-monitor-master\index.js:2:17)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2020-07-21T10_30_27_906Z-debug.log

Errror

Please help me with this error, I will be very grateful

image

Need advices

Hey Dam, do you have a host and proxies advised?
I am based in France.

Discord.js error

Hello, i have this problem when i put npm start

EnriqueMartinez$ npm start

[email protected] start /Users/EnriqueMartinez/Downloads/shopify-monitor-master
node index.js

/Users/EnriqueMartinez/Downloads/shopify-monitor-master/src/classes/Discord.js:13
var setBotName = botSettings.botName && botSettings.botName != "";
^

TypeError: Cannot read property 'botName' of undefined
at Object. (/Users/EnriqueMartinez/Downloads/shopify-monitor-master/src/classes/Discord.js:13:30)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/Users/EnriqueMartinez/Downloads/shopify-monitor-master/src/classes/Task.js:4:17)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/Users/EnriqueMartinez/Downloads/shopify-monitor-master/index.js:6:14)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/EnriqueMartinez/.npm/_logs/2020-10-06T06_27_02_425Z-debug.log

Thank you!

user agent

From the request log looks like the user agent is axios/0.19.2.
Should this be overridden to some non script user agent?

Not picking up items

I set it up and get the notification on my discord but I've been running for 5 hours on 7 sites and not one thing picked up. Is this due to the script or nothing being loaded?

Hosting Question

Hey. I have a simple short question... Would it be possible to run this on gltich.com ? Sorry, I'm not the best with hosting. Haha.

multiple discord webhooks

Hi there,

Is there a specific way to edit the config.json so 1 discord webook can have unfiltered products (no keywords) and then another discord webhook for filtered products (nike, adidas, yeezy)?

Webhook works but not receiving any notifications

I got the original message from the shopify monitor bot on discord that it successfully started but, I haven't received any notifications from the sites. I'm using the default sites and keywords in the config. I have only changed the webhook url to mine in the entire config file to see if it would work but, it hasn't. Instead my cmd is stuck at this:
[INFO ] Connection done with hanon-shop.com
[INFO ] Connection done with sesinko.com

issues due to sites more than 10.

Hey. my server is crashing every now and then
either says Try running less websites or contact Damm998. and the second error at times i get is too many tasks for node.

i had 30 websites in the monitor. then tried creating three versions of the monitor in different directories to run 10 sites each. still got the errors after some time. what am I doing wrong or what would be the best way to setup multiple monitors on my site without them clashing with each other? i have around 30 to 40 sites to monitor.

Thanks.

Maybe I made a mistake

Hey Dam,
I launched the monitor at 5.30pm and it still hasn't detected any items. I'm afraid I made a mistake. Can you check? Thanks

},
"requestTiming": 30000,
"__KEYWORDS_EXPLAINED" : "In this default example that I've created the monitor will notify you if find a Nike product in hanon or sensinko site, and it'll notify if find a New Balance or Adidas Yeezy product only in hanon site",
"keywords": [["Nike"]],
"sites": [
{
"url": "hanon-shop.com",
"keywords": [["Adidas"],["New Balance"],["Yeezy"],["Nike","Jordan"]]
},
{ "url": "sesinko.com" },
{ "url": "thenextdoor.fr" },
{ "url": "a-ma-maniere.com" },
{ "url": "noirfonce.fr" },
{ "url": "pampamlondon.com" },
{ "url": "de.afew-store.com" },
{ "url": "extrabutterny.com" }
]
}

webhook

in the config file, I think I am entering my webhook incorrectly because I get a config.json error

Cant open it

It says this plz help:

C:\Users\Diego\Desktop\shopify-monitor-master>npm start

[email protected] start C:\Users\Diego\Desktop\shopify-monitor-master
node server.js

internal/modules/cjs/loader.js:1170
throw err;
^

SyntaxError: C:\Users\Diego\Desktop\shopify-monitor-master\config.json: Unexpected token . in JSON at position 961
at parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1167:22)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (C:\Users\Diego\Desktop\shopify-monitor-master\server.js:31:17)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Diego\AppData\Roaming\npm-cache_logs\2020-05-13T03_09_04_480Z-debug.log

start = async error

Hello,
When I wanted to try out your monitor I got the error:

C:\Users\Dylan\Desktop\shopify-monitor-master\src\classes\Task.js:24
    start = async () => {
          ^

SyntaxError: Unexpected token =
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (C:\Users\Dylan\Desktop\shopify-monitor-master\index.js:6:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Dylan\AppData\Roaming\npm-cache\_logs\2020-05-04T21_34_03_272Z-debug.log

Because I am not very experienced with javascript I don't know how to fix this myself.
Do you know how I could fix this?
(hope it's not a stupid question)
Thnx :)

Received this message today.

blendus.com has an high level of protection from monitors, please notify Dam998 by opening an issue on github [https://github.com/Dam998/shopify-monitor]

Discord notis

Yo so everything is set up correct, I get the notification that the bot is installed in discord im just wondering why nothing is popping up when I have no errors in the code or anything any suggestions?
And can you check if my code is correct im pretty certain it is !
},
"requestTiming": 30000,
"__KEYWORDS_EXPLAINED" : "",
"keywords": [[""]],
"sites": [
{ "url": "hanon-shop.com" ,
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Dunk"],["Nike","Jordan","4"],
["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"]]
},
{ "url": "sesinko.com" ,
"keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Dunk"],["Nike","Jordan","4"],
["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"]]

    },

    { "url": "a-ma-maniere.com" ,
        "keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Dunk"],["Nike","Jordan","4"],
        ["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"]]
    
    },
    { "url": "de.afew-store.com" ,
        "keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Dunk"],["Nike","Jordan","4"],
        ["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"]]
    
    },
    { "url": "extrabutterny.com" ,
        "keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Dunk"],["Nike","Jordan","4"],
        ["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"]]
    
    },
    { "url": "kith.com" ,
        "keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Dunk"],["Nike","Jordan","4"],
        ["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"]] 
    },
    { "url": "shopnicekicks.com" ,
        "keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Dunk"],["Nike","Jordan","4"],
        ["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"]]
    },
    { "url": "jimmyjazz.com",
        "keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Dunk"],["Nike","Jordan","4"],
        ["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"],["Nike","Jordan","Mid"]]
    },
    { "url": "topsandbottomsusa.com",
        "keywords": [["Adidas","Yeezy"],["Nike","SB"],["Nike","Air","Jordan","1"],["Nike","Jordan","1"],["Nike","Dunk"],["Nike","Jordan","4"],
        ["Nike","AIR","FORCE","1"],["Nike","AIR","MAX","90"],["Nike","Jordan","Mid"]]
    }

],
"proxiesList": []

}

Webhook Question

@Dam998 If I were to add multiple Webhook URLs into the webhook array in the config.json file, would it send to all those webhooks? Wanted to ask before I tried it.

Sites

How can I add more sites?

installing mongodb on linux

Hey, I got the Scirpt running on my Windows(10) Laptop, so it wont be the config that I messed up with, but on my linux server I always get the following Error:

npm WARN npm npm does not support Node.js v10.21.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/

> [email protected] start /home/quentin/resellheads/shopify_monitor/resellheads_shopify_monitor
> node index.js

/home/quentin/resellheads/shopify_monitor/resellheads_shopify_monitor/src/classes/Task.js:24
    start = async () => {
          ^

SyntaxError: Unexpected token =
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/quentin/resellheads/shopify_monitor/resellheads_shopify_monitor/index.js:6:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/quentin/.npm/_logs/2020-08-20T08_44_50_895Z-debug.log

I guess it´s because of mongodb,
thanks <3

impressive Script btw., love it <3

error starting

C:\Users\alky4\Desktop\shopify-monitor\src\classes\Task.js:31
start = async () => {
^

SyntaxError: Unexpected token =
at new Script (vm.js:79:7)
at createScript (vm.js:251:10)
at Object.runInThisContext (vm.js:303:10)
at Module._compile (internal/modules/cjs/loader.js:657:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (C:\Users\alky4\Desktop\shopify-monitor\index.js:6:14)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)

this is the error im getting, can you point me in the right direction of what i might be missing?

Proxies?

Hey, im wondering what ipv4 proxy provider would be fine for this?
Edit: Do we have to run proxies in order to run this or we can use no proxies?

How I can add normal pages?

[ERROR ] oqium.com has an high level of protection from monitors, please notify Dam998 by opening an issue on github [https://github.com/Dam998/shopify-monitor]
How i can add oqium.com and more pages¿¿¿

npm start problem

Hi sorry for this stupid question but I start code. When I start the monitor with "npm start" I have this :
C:\Users\Augustin\shopify-monitor>npm start

[email protected] start C:\Users\Augustin\shopify-monitor
node index.js

internal/modules/cjs/loader.js:1237
throw err;
^

SyntaxError: C:\Users\Augustin\shopify-monitor\config.json: Unexpected token ] in JSON at position 750
at parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1234:22)
at Module.load (internal/modules/cjs/loader.js:1049:32)
at Function.Module._load (internal/modules/cjs/loader.js:937:14)
at Module.require (internal/modules/cjs/loader.js:1089:19)
at require (internal/modules/cjs/helpers.js:73:18)
at Object. (C:\Users\Augustin\shopify-monitor\index.js:2:17)
at Module._compile (internal/modules/cjs/loader.js:1200:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
at Module.load (internal/modules/cjs/loader.js:1049:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Augustin\AppData\Roaming\npm-cache_logs\2020-05-23T12_34_00_298Z-debug.log
Please help me !

Timeout

Hello. I set it up correctly and it worked for like 5 mins but now I get this messages everytime. Using 5 Sites and 10 proxies. With a delay of 15000.

Log: �[0m Timeout occurred, a node js script cannot manage a lot of requests in the same time (I raccomand max 10 sites for script's istance, to stay more safe), please start more that 1 monitor with splitted sites or contact Dam998 for help [https://github.com/Dam998/shopify-monitor]
�[31m [ERROR ] �[0m Timeout occurred, a node js script cannot manage a lot of requests in the same time (I raccomand max 10 sites for script's istance, to stay more safe), please start more that 1 monitor with splitted sites or contact Dam998 for help [https://github.com/Dam998/shopify-monitor]
�[31m [ERROR ] �[0m Timeout occurred, a node js script cannot manage a lot of requests in the same time (I raccomand max 10 sites for script's istance, to stay more safe), please start more that 1 monitor with splitted sites or contact Dam998 for help [https://github.com/Dam998/shopify-monitor]
�[31m [ERROR ] �[0m Timeout occurred, a node js script cannot manage a lot of requests in the same time (I raccomand max 10 sites for script's istance, to stay more safe), please start more that 1 monitor with splitted sites or contact Dam998 for help [https://github.com/Dam998/shopify-monitor]

ENETDOWN

When i start the monitor it runs. But after a while i get the error message: "ENETDOWN" how do i solve it?

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.