Simple Scrape Page in .NET
Budget $30-250 USD
I need a ASP.NET or C# (just need the code) application written that scrapes the page (see notes below) and inserts each map selection into a list array of an entity object representing each block on the map and each block contains another list array of an entity object of all resources.
You may use HtmlAgilityPack if you know how to use it.
Page: [url removed, login to view]
You are scraping the page above and placing contents in a single List of [url removed, login to view] (I have given you the entity object parameters)
* An array containing each block/section.
- Each block (class="mapsquare") is a zone (see example)
- Each block has several other divs that contain keys and a percentage amount
Entity object code:
using [url removed, login to view];
namespace Entities
{
public class MiningZone
{
public string ZoneName { get; set; }
public string Mineral { get; set; }
public string MineralKey { get; set; }
public float DistributionRate { get; set; }
public float MarkupPct { get; set; }
}
}
Example scrape block:
<div style="background-image:url(./img/[url removed, login to view]);width:510px;height:340px;float:left;position:relative;"><div class="mapsquare" style="position:absolute; left:0px; top:170px;" onmouseover="show('4_15_10');" onmouseout="hide('4_15_10');"><div id="4_15_10" class="mapsquaredetails" style="left:-0px;" onmousemove="hide('4_15_10');"><div style="background-image:url(./img/elements/[url removed, login to view]); background-repeat:no-repeat; margin:1px; width:75px; height:75px; float:left; text-align:right;">15.2% </div><div style="background-image:url(./img/elements/[url removed, login to view]); background-repeat:no-repeat; margin:1px; width:75px; height:75px; float:left; text-align:left;"> 1.7%</div><div style="clear:both;"></div>
Expected Results:
Zone Name for line in this section is: 4_15_10.
Using the zone name, you would add an entry in the List as follows:
Mineral and MineralKey would be the value of the *.png - such as Gg.
DistributionRate value would be the % amount, in this case 1.7%.
Bid requirements:
* Your bid must be what you are offering based on these requirements. No bait and switch. This will result in auto-rejection.
* No auto-bids - auto bidding means you never bothered to read the requirements
* This is a small amount of work and as such am looking to do this with a small budget. Please bid accordingly.
Awarded to:
Thanks for the detailed description. It should be fairly straight forward and i would use htmlagilitypack.
19 freelancers are bidding on average $147 for this job
I'm c# developer with 12 years experience on .net framework and related tools Relevant Skills and Experience I can do this with jquery and c# code Proposed Milestones $88 USD - offer
Hi, I am expert in asp.net c# programming. I can do this project. Hoping for positive response. Thanks Mahesj