NEEDED: Automated Scraper

Status
Not open for further replies.

iamsgf

Regular Member
Joined
Oct 6, 2008
Messages
307
Reaction score
271
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.
 
Hi. We specialize in these kind of systems. Add me on skype and let's discuss and get it done.

Skype: sugata.sbrtech
 
Job Filled, Thanks
 
Status
Not open for further replies.
This thread has been auto closed due to the forum's thread age policy. Read more.
Back
Top