Đang Thực Hiện

Website scraping in jQuery. Ongoing task.

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('')

Kỹ năng: HTML, jQuery / Prototype

Xem thêm: scraping jquery, victoria young, value website, ul com, this class jquery, the p.i.c. group, substring in c, substring c, substring 0 2, startup need developers, startup looking for developers, scraping com, prototype idea, prototype help, prototype date, per website, p&a group, math rate, link jquery, li.be, li-be, jquery developers, jquery class, jquery 2.1 0, jquery 2

Về Bên Thuê:
( 2 nhận xét ) Victoria, Canada

Mã Dự Án: #1051946

Đã trao cho:

t83714

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

$300 CAD trong 1 ngày
(1 Đánh Giá)
1.0

8 freelancer đang chào giá trung bình $366 cho công việc này

SigmaVisual

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

$350 CAD trong 7 ngày
(25 Đánh Giá)
6.0
srinichal

I would like to deliver the project

$300 CAD trong 6 ngày
(17 Đánh Giá)
5.8
garygoog

Hi ,I am data scraping expert .Please check PM

$300 CAD trong 7 ngày
(12 Đánh Giá)
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 Thêm

$400 CAD trong 12 ngày
(1 Đánh Giá)
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 trong 5 ngày
(4 Đánh Giá)
3.4
theredesign

Let's scrap this project!!!

$300 CAD trong 4 ngày
(3 Đánh Giá)
2.3
adicosoi

I an ready to start working for you.

$500 CAD trong 2 ngày
(0 Đánh Giá)
0.0