Website scraping in jQuery. Ongoing task.

Em Andamento Postado May 7, 2011 Pago na entrega
Em Andamento Pago na entrega

We are a group of young developers that are extremely excited about our startup. The startup is primarily a website that displays information from various other websites. We have a framework to do this automatically by screen scraping using jQuery.

We need someone with exceptional jQuery skills to help us scrape numerous websites. Most of the scraping is straightforward, one piece of information requires a little looking into. Example jQuery code is provided below.

Wage will be based on experience and turn around time. Wage will be a fixed rate per website scraped. Upon winning the bid, you will be provided with a list of sites to scrape.

If you show me how you would scrape the following website based on examples below, I'll get an idea of your skills. If you are the winning bid, you'll be paid for this site as well:

[url removed, login to view]

Example:

Website:

[url removed, login to view]

Example jQuery Code required:

var deal = $('#main .deal h2 a').html().trim();

var link = '[url removed, login to view]' + $('.deal h2 a').attr('href');

var company = $('.name').html().trim();

var image = $('.deal .secondary #everyscape ul li img').attr('src');

var l_counter = 0,

value = 0,

discount = 0;

$('#deal_discount dl dd').each(function(){

l_counter += 1;

if(l_counter == 1)

{

value = $(this).html().replace('C$','');

}

else if(l_counter == 2)

{

discount = $(this).html().replace('%','');

}

});

var bought = $('#number_sold_container .status .sum .left .number').html().replace(/[^0-9]/g,'');

var bought_info = $('.tipping').html().replace(/<span class="number">|<\/span>/g,'');

var dte = new Date($('#deal_deadline').attr('data-value'));

var now = new Date();

var time_left = [url removed, login to view]((dte - now)/1000);

var num_left = '';

l_return = ['{',

'"deal":', [url removed, login to view](deal) ,', ',

'"deal_link":', [url removed, login to view](link) ,', ',

'"company":', [url removed, login to view](company) ,', ',

'"image":', [url removed, login to view](image) ,', ',

'"time_left":', [url removed, login to view](time_left) ,', ',

'"bought":', [url removed, login to view](bought) ,', ',

'"num_left":', [url removed, login to view](num_left) ,', ',

'"bought_info":', [url removed, login to view](bought_info) ,', ',

'"discount":', [url removed, login to view](discount) ,',',

'"value":', [url removed, login to view](value) ,'',

'}'].join('');

Website:

[url removed, login to view]

Example jQuery Code required:

var deal = $('.today_deal_head p').html().trim();

var idx_1, idx_2;

idx_1 = [url removed, login to view]('</span>');

deal = [url removed, login to view](idx_1 + 7, [url removed, login to view]);

var link = '';

var company = '';

var image = $('.today_deal_pic_n img').attr('src');

idx_1 = [url removed, login to view]('ImagePath=');

idx_2 = [url removed, login to view]('&ImageWidth=');

image = '[url removed, login to view]' + [url removed, login to view](idx_1 + 10, idx_2);

var text, time_left, dte, now;

$('script').each(function()

{

text = $(this).html();

idx_1 = [url removed, login to view]('dealcountdown');

if(idx_1 > -1)

{

idx_2 = [url removed, login to view](');', idx_1);

dte = new Date([url removed, login to view](idx_1 + 17, idx_2 - 1).replace(/\+|"/g,''));

}

});

now = new Date();

time_left = [url removed, login to view]((dte - now)/1000) + 6*60*60;

var bought = '';

var num_left = '';

var bought_info = '';

var discount = $('.3sections .left_thum :nth-child(3)').html().replace('%','');

var value = $('#ctl00_DealziesClientContentPlaceHolder_lnkBuyNow p').html().replace(/[^0-9]/g,'');

l_return = ['{',

'"deal":', [url removed, login to view](deal) ,', ',

'"deal_link":', [url removed, login to view](link) ,', ',

'"company":', [url removed, login to view](company) ,', ',

'"image":', [url removed, login to view](image) ,', ',

'"time_left":', [url removed, login to view](time_left) ,', ',

'"bought":', [url removed, login to view](bought) ,', ',

'"num_left":', [url removed, login to view](num_left) ,', ',

'"bought_info":', [url removed, login to view](bought_info) ,', ',

'"discount":', [url removed, login to view](discount) ,',',

'"value":', [url removed, login to view](value) ,'','}'].join('')

HTML jQuery / Prototype

ID do Projeto: #1051946

Sobre o projeto

8 propostas Projeto remoto Ativo em May 17, 2011

Concedido a:

t83714

Have done [login to view URL] Please check the private message for my solution.

$300 CAD em 1 dia
(1 Comentário)
1.0

8 freelancers estão ofertando em média $366 nesse trabalho

SigmaVisual

We can help in your project, please check PMB and our ratings/reviews to get idea of our experience.

$350 CAD in 7 dias
(25 Comentários)
6.0
srinichal

I would like to deliver the project

$300 CAD in 6 dias
(17 Comentários)
5.8
garygoog

Hi ,I am data scraping expert .Please check PM

$300 CAD in 7 dias
(12 Comentários)
5.1
dolbol

We are a company named ‘Dolbol’ which is expert in making quality websites, web and desktop applications. We are a company of 25 people and have been working on this field for more than 10 years. Quality and customer s Mais

$400 CAD in 12 dias
(1 Comentário)
3.4
softwarevamp

Hello, i can do this in a timely manner look to work with you At your disposal for any query. Regards

$475 CAD in 5 dias
(4 Comentários)
3.4
theredesign

Let's scrap this project!!!

$300 CAD in 4 dias
(3 Comentários)
2.3
adicosoi

I an ready to start working for you.

$500 CAD in 2 dias
(0 Comentários)
0.0