Đang Thực Hiện

Screen Scraping in Ruby + Read/Write to MySQL server

I have a MySQL server on a remote linux box already. There may be installation requirements for ruby.

I need this written in Ruby, because I will have to use Watir to interpret a javascript-driven website.

This will have to be run from a cronjob (but I can handle that). The code I need is essentially:

# require nokogiri, open-uri, watir, mysql

# Mysql database exists already with schema + data.

#

# Get url data from database (url, min_price, max_price, undercut_by, admin_latest_price)

# For each URL

# Scrape up to Top 2 Seller names (new products only), total price

# If OURACCOUNT is the lowest price seller [check if we are within undercut_by of next seller]

# Check if OURACCOUNT_curr_total_price = undercut_by + seller_number_2_price

# Yes: Do nothing

# No: set admin_latest_price = (seller_number_2_price - undercut_by)

# Write admin_latest_price to DB

# else

# Check if total_price_seller lower than min_price

# No -> set admin_latest_price = (total_price_seller - undercut_by)

# Yes -> set admin_latest_price = admin_min_price

# Write admin_latest_price to DB

#

Kỹ năng: Linux, MySQL, Ruby on Rails

Xem thêm: write names, we can write that, top ruby, scraping a server, ruby remote, ruby rails remote, ruby rails installation, ruby price, ruby on rails linux, watir ruby, ruby on rails mysql, ruby on rails javascript, price ruby, url scraping, ruby linux, javascript ruby, mysql scrape website, set linux rails, set rails, database driven scraping, linux cronjob, cronjob linux, javascript scrape mysql, scrape data mysql, set server 2013

Về Bên Thuê:
( 33 nhận xét ) London, United Kingdom

Mã Dự Án: #4542089

Đã trao cho:

sashamd

Ruby experience, timely delivery. Please check PMB.

$250 USD trong 4 ngày
(8 Đánh Giá)
4.3

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

nuprogramer

We can make your required scrapper in ruby and can insert in data in MYSQL as you require. Thanx

$333 USD trong 7 ngày
(9 Đánh Giá)
4.6
codeware1

Hello, Hope you are well and doing well!!! We are eager to work with you. We are ready to start the project right away. CODEWARE is a web & Mobile application development company providing professional design, developm Thêm

$298 USD trong 10 ngày
(11 Đánh Giá)
4.6