Giter Club home page Giter Club logo

Comments (21)

KicksDNA avatar KicksDNA commented on July 23, 2024

It will do something once a new product is found. Your keywords are long and messy. I'm not exactly sure how the keyword scanner works but I stick to one word or two with a hyphen in between.

from shopify-monitor.

OneLifeOnly avatar OneLifeOnly commented on July 23, 2024

When my friend runs it, it instantly starts showing stuff, I think its because my port 1337 is closed and I tried opening it both on my router and by firewall, but no luck

from shopify-monitor.

KicksDNA avatar KicksDNA commented on July 23, 2024

from shopify-monitor.

dezngbt avatar dezngbt commented on July 23, 2024

Hi! My monitor is not scanning, I kept getting the interval completion time repeatedly with no results

[11:42:32] Local server started on port 1337
[11:42:32] Looking for items matching your keywords...
[11:42:32] Currently monitoring https://shop-usa.palaceskateboards.com/sitemap_products_1.xml and http://kithnyc.com/sitemap_products_1.xml
[11:42:32] Getting initial data...
[11:42:32] Interval set for every 6000ms
[11:42:34] Time elapsed to gather inital data: 1599ms
[11:42:34] Now seeking for items with the keywords nmd, ultraboost and yeezy
[11:42:40] Interval completion time: 1ms
[11:42:46] Interval completion time: 1ms
[11:42:52] Interval completion time: 1ms
[11:42:58] Interval completion time: 1ms
[11:43:04] Interval completion time: 1ms
[11:43:10] Interval completion time: 2ms
[11:43:16] Interval completion time: 1ms
[11:43:22] Interval completion time: 1ms
[11:43:28] Interval completion time: 2ms
[11:43:34] Interval completion time: 4ms
[11:43:40] Interval completion time: 2ms

from shopify-monitor.

dgdgdgdg avatar dgdgdgdg commented on July 23, 2024

that means it's successfully scanning ^^, it's calculating the time the monitor takes to scan through the products on the selected interval that you picked in your config.json. due to the sites you picked and the keywords you have, and whether or not you have notify when keyword matches on or not, the monitor won't pick anything up from palace and kith because there's no current products on either sites that fulfills the criteria. the monitor will notify when a new product is found.

from shopify-monitor.

dezngbt avatar dezngbt commented on July 23, 2024

Thanks dgdgdgdg for the response. I just added the "kith" to the keywords and I'm still getting the interval completion. What I also did was to change the notify settings for this test:
"new": false,
"restocks": false,
"keywords": true

Still getting the same report

from shopify-monitor.

yourfavorite avatar yourfavorite commented on July 23, 2024

@dezngbt try adding some generic keywords like jordan, nike, and adidas. Just to test. Leave it running for a while to make sure it is working. The way this monitor works is that it checks the urls when you start the app up. It collects this data and then checks every x milliseconds (interval) to see if there is anything new. So unless the site you are monitoring has posted something new, nothing is going to happen. If you try these keywords for 24 hours on a few sites and nothing happens, then something is probably wrong. If it works, then swap out for keywords you actually want.

from shopify-monitor.

OneLifeOnly avatar OneLifeOnly commented on July 23, 2024

@yourfavorite @dgdgdgdg I've tried adding generic keywords and everything, it still does the same thing, while my friend runs the monitor with the exact same config.json as me, he copied his over to my computer , his is able to find stuff right away

from shopify-monitor.

yourfavorite avatar yourfavorite commented on July 23, 2024

Delete everything and start over.

from shopify-monitor.

OneLifeOnly avatar OneLifeOnly commented on July 23, 2024

@yourfavorite I just deleted everything and restarted, now when i try to run monitor it just flashes and closes, or when i try to do npm start on command it says Missing, config.json file or invalid json syntax.

from shopify-monitor.

ed-biz23 avatar ed-biz23 commented on July 23, 2024

did u update the script?

from shopify-monitor.

OneLifeOnly avatar OneLifeOnly commented on July 23, 2024

@eviled23 no, I just deleted everything and started over like @yourfavorite had said. I did everything and did git pull too

from shopify-monitor.

yourfavorite avatar yourfavorite commented on July 23, 2024

Says config.json is missing. Do you have a config.json file in the root folder? The repo doesn't come with one. You have to edit and rename the example one.

from shopify-monitor.

OneLifeOnly avatar OneLifeOnly commented on July 23, 2024

@yourfavorite yes I have the config.json in root, I used example and edited and saved as a new config.json then deleted the config.example

from shopify-monitor.

ed-biz23 avatar ed-biz23 commented on July 23, 2024

did u run npm install after redownloading the script

from shopify-monitor.

OneLifeOnly avatar OneLifeOnly commented on July 23, 2024

@eviled23 yes i ran npm install

from shopify-monitor.

yourfavorite avatar yourfavorite commented on July 23, 2024

Well I've actually never run this thing... but I just downloaded it, edited config. Saved as config.json. Ran npm i. Now its running and hasn't found any updates. Since I didn't put in slack or twitter info I'd imagine it will error out when it does find a product.

But as far as I can tell the code is working for me.

from shopify-monitor.

yourfavorite avatar yourfavorite commented on July 23, 2024

Should add that I'm on a mac though. Perhaps its a windows problem?

from shopify-monitor.

yourfavorite avatar yourfavorite commented on July 23, 2024

Not really seeing anything in that to let me know what the error might be since I'm not familiar with this code. You can google around based on error messages to see how to fix it, but probably better off to just let your friend run the code and give you access to the twitter and slack :D

from shopify-monitor.

dzt avatar dzt commented on July 23, 2024

@dezngbt It's actually looking for new items regarding your keywords it just isnt' going to pick up the ones in the store already just for to prevent spamming on Slack/Twitter since it was a problem that people didn't like how the results would show up as soon as the monitor started

from shopify-monitor.

dezngbt avatar dezngbt commented on July 23, 2024

@dzt Thanks for the response peter! Got it. I will try setting up slack/twitter next. Appreciate everything you did here!

from shopify-monitor.

Related Issues (20)

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.