1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NEEDED: Automated Scraper

Discussion in 'Hire a Freelancer' started by iamsgf, Nov 9, 2016.

  1. iamsgf

    iamsgf Regular Member

    Joined:
    Oct 6, 2008
    Messages:
    307
    Likes Received:
    268
    need a simple scraper ASP.

    1. URL: https://www.royalmail.com/track-your-item
    2. Get Traking number from File
    3. Submit Tracking number
    4. Scrape results
    5. Save into CSV (~ seperator)
    6. Get next tracking number from file & repeat

    Tracking number file will be a simple text file containing a single tracking number per line.

    Example Tracking Number:
    FP342044297GB

    Example Results to scrape:
    Code:
    <tr class="odd"><td>20-OCT-2016</td><td>06:51</td><td>Ready For Delivery</td><td>Central Aston SUDO</td> </tr>
     <tr class="even"><td>20-OCT-2016</td><td>00:43</td><td>Accepted at Inward Mail Centre</td><td>Birmingham Mail Centre</td> </tr>
     <tr class="odd"><td>19-OCT-2016</td><td>11:47</td><td>Accepted at Outward Mail Centre</td><td>Cardiff Mail Centre</td> </tr>
     <tr class="even"><td>19-OCT-2016</td><td>06:52</td><td>Sales Order Raised</td><td></td> </tr>
     <tr class="odd"><td>18-OCT-2016</td><td>17:00</td><td>Return to Sender - RETENTION PERIOD EXCEEDED</td><td>Pontypool DO</td> </tr>
     <tr class="even"><td>29-SEP-2016</td><td>15:23</td><td>No Answer - Available for collection</td><td>Pontypool DO</td> </tr>
     <tr class="odd"><td>29-SEP-2016</td><td>11:25</td><td>NO ANSWER - NOT AVAILABLE FOR COLLECTION</td><td>Pontypool DO</td> </tr>
     <tr class="even"><td>29-SEP-2016</td><td>07:51</td><td>Ready For Delivery</td><td>Pontypool DO</td> </tr>
     <tr class="odd"><td>29-SEP-2016</td><td>06:00</td><td>Sales Order Raised</td><td></td> </tr>
     <tr class="even"><td>29-SEP-2016</td><td>02:44</td><td>Accepted at Inward Mail Centre</td><td>Cardiff Mail Centre</td> </tr>
     <tr class="odd"><td>28-SEP-2016</td><td>10:51</td><td>Accepted at Outward Mail Centre</td><td>Birmingham Mail Centre</td> </tr>
    Save data to CSV Example
    Code:
    FP342044297GB~20-OCT-2016~00:43~Accepted at Inward Mail Centre~Birmingham Mail Centre
    FP342044297GB~19-OCT-2016~11:47~Accepted at Outward Mail Centre~Cardiff Mail Centre
    FP342044297GB~19-OCT-2016~06:52~Sales Order Raised
    FP342044297GB~18-OCT-2016~17:00~Return to Sender - RETENTION PERIOD EXCEEDED~Pontypool DO
    FP342044297GB~29-SEP-2016~15:23~No Answer - Available for collection~Pontypool DO
    FP342044297GB~29-SEP-2016~11:25~NO ANSWER - NOT AVAILABLE FOR COLLECTION~Pontypool DO
    FP342044297GB~29-SEP-2016~07:51~Ready For Delivery~Pontypool DO
    FP342044297GB~29-SEP-2016~06:00~Sales Order Raised
    FP342044297GB~29-SEP-2016~02:44~Accepted at Inward Mail Centre~Cardiff Mail Centre
    FP342044297GB~28-SEP-2016~10:51~Accepted at Outward Mail Centre~Birmingham Mail Centre
    

    Only post if you can do it now and post a price.
     
  2. seopencil

    seopencil Supreme Member

    Joined:
    Aug 3, 2011
    Messages:
    1,487
    Likes Received:
    532
    Location:
    BHW
    Home Page:
    add me on skype : ractors

    or send me pm
     
  3. matureisland

    matureisland Newbie

    Joined:
    Oct 2, 2013
    Messages:
    23
    Likes Received:
    0
    Home Page:
    Hello

    Add me via skype.: skiny8814 /vazzeg/

    I can do it for you!
     
  4. Gogol

    Gogol Jr. VIP Jr. VIP

    Joined:
    Sep 10, 2010
    Messages:
    3,476
    Likes Received:
    3,103
    Gender:
    Male
    Hi. We specialize in these kind of systems. Add me on skype and let's discuss and get it done.

    Skype: sugata.sbrtech
     
  5. iamsgf

    iamsgf Regular Member

    Joined:
    Oct 6, 2008
    Messages:
    307
    Likes Received:
    268
    Job Filled, Thanks