Unconfigured Ad Widget

Collapse

Ammo finding/instock notification scripts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diveRN
    Senior Member
    • Dec 2012
    • 1743

    Ammo finding/instock notification scripts

    Awhile back, someone posted some PHP scripts that sent email when stock at various vendors was available, but I can't seem to find them through a CG search.

    I'd write my own, but my php skills are very dusty and I'd have some catch up to do... last php coding I did was when PHP3 was new. Going to modify it some to display on my own active desktop page and send notices if pricing thresholds are hit. I'm looking specifically for .22lr and reloading components.

    Anyone have a custom script they use for ammo/reloading supplies that they'd wouldn't mind sharing? I have my own server where it'll reside. Can use perl, but would prefer PHP.

    Thanks in advance.
  • #2
    ocabj
    Calguns Addict
    • Oct 2005
    • 7924

    Someone did something in Korn shell and I responded with a proof of concept in Perl.



    I still think Perl is the way to go since you can leverage LWP and just have your Perl script automatically add items to the checkout cart and place the order for you when it detects the items in stock.

    The problem with writing something that hits other vendor/retailer sites is that there isn't a standard format used so your parsing is going to be unique per site.

    Distinguished Rifleman #1924
    NRA Certified Instructor (Rifle and Metallic Cartridge Reloading) and RSO
    NRL22 Match Director at WEGC

    https://www.ocabj.net

    Comment

    • #3
      diveRN
      Senior Member
      • Dec 2012
      • 1743

      That's it. LWP is already installed. It has been an even longer time since I've done any PERL programming. Time to RTFM.

      Thanks much!
      Last edited by diveRN; 08-17-2013, 12:43 AM.

      Comment

      Working...
      UA-8071174-1