Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Tool for monitoring web changes
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Tool for monitoring web changes

I would like to setup my own tool like distill to check website for changes
It be mostly for checking if more expensive items change in pricing. If company adds a better coupon.

With the goal of using price protection if their is a drastic drop in the price of an item. I think this will be a lot cheaper then the 9 dollars per month distill wants for their service. I would like to know though if anyone knows of any good scripts to do this kind of monitoring.

VPS scripts are fine
but also windows

Thanked by 1arnavchaudhary

Comments

  • WSSWSS Member
    edited December 2017

    SHOE GOTTA BE KEDDING ME!

    camelcamelcamel does just fine for Amazon.. or you could use a HTML DOM parser and roll your own.

  • Contrary to popular belief amazon is not the only site out their.

  • hzrhzr Member
    edited December 2017

    Use any script to pull a page and look for a DOM element like #price-amt, save it to a file, and check if new!=prev

    Usually under 3-5 lines in most languages

  • @hzr said:
    Use any script to pull a page and look for a DOM element like #price-amt, save it to a file, and check if new!=prev

    Usually under 3-5 lines in most languages

    I already suggested this, but OP is a douche.

  • hzr said: lement like #price-amt, save it to a file, and check if new!=prev

    Usually under 3-5 lines in most langu

    @WSS said:

    @hzr said:
    Use any script to pull a page and look for a DOM element like #price-amt, save it to a file, and check if new!=prev

    Usually under 3-5 lines in most languages

    I already suggested this, but OP is a douch

    I like your camelcamelcamel idea for amazon.
    Though I was thinking more like premade scripts on github or similar. My coding skills are lacking.

  • vovlervovler Member
    edited December 2017

    @snickerpop said:

    I like your camelcamelcamel idea for amazon.
    Though I was thinking more like premade scripts on github or similar. My coding skills are lacking.

    What you are requesting is easily done in most languages. Your skills are not just lacking, they are mostly none.

    Oh wait...

    Hello World!

  • A 2 minute google search:

  • WSSWSS Member
    edited December 2017

    You could do it real easy..

    #!/bin/sh
    PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
    #What to watch
    URL="http://clownpenis.fart"
    #Where to store our files- not wasting time with mktemp
    TMPDIR=/tmp
    #Whatever we want for dumping the file to stdout- curl,wget,lynx, et al..
    PROGRAM="wget -qO-"
    if [ ! -f "$TMPDIR"/localpenis.txt ]; then 
      $PROGRAM "$URL" > "$TMPDIR"/localpenis.txt
    else
      $PROGRAM "$URL" > "$TMPDIR"/newpenis.txt
      LAST=`cksum "$TMPDIR"/localpenis.txt | cut -f1 -d\ `
      LATEST=`cksum "$TMPDIR"/newpenis.txt | cut -f1 -d\ `
      if [ $LAST"x" != $LATEST"x" ]; then
        echo "HOLY FUCK SOMETHING CHANGED!"
        mv "$TMPDIR"/newpenis.txt "$TMPDIR"/localpenis.txt
      fi
    fi
    

    that'll be $7

  • @WSS said:
    You could do it real easy..

    #!/bin/sh
    PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
    #What to watch
    URL="http://clownpenis.fart"
    #Where to store our files- not wasting time with mktemp
    TMPDIR=/tmp
    #Whatever we want for dumping the file to stdout- curl,wget,lynx, et al..
    PROGRAM="wget -qO-"
    if [ ! -f "$TMPDIR"/localpenis.txt ]; then 
      $PROGRAM "$URL" > "$TMPDIR"/localpenis.txt
    else
      $PROGRAM "$URL" > "$TMPDIR"/newpenis.txt
      LAST=`cksum "$TMPDIR"/localpenis.txt | cut -f1 -d\ `
      LATEST=`cksum "$TMPDIR"/newpenis.txt | cut -f1 -d\ `
      if [ $LAST"x" != $LATEST"x" ]; then
        echo "HOLY FUCK SOMETHING CHANGED!"
        mv "$TMPDIR"/newpenis.txt "$TMPDIR"/localpenis.txt
      fi
    fi
    

    that'll be $7

    How about "alternative" payment methods

  • @snickerpop said:
    How about "alternative" payment methods

    You can give me a BJ next week.. I need to refill, first.

    Thanked by 1inthecloudblog
  • @WSS said:

    @snickerpop said:
    How about "alternative" payment methods

    You can give me a BJ next week.. I need to refill, first.

    Since when you blay Black Jack? :)

  • @WHT said:
    Since when you blay Black Jack? :)

    Pretty much every time I take a shit.

    Thanked by 1WHT
Sign In or Register to comment.