Đ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, top ruby, ruby remote, ruby rails remote, ruby rails installation, ruby price, watir ruby, ruby linux, javascript ruby, set linux rails, set rails, linux cronjob, cronjob linux, set server 2013, schema database mysql, ruby nokogiri, ruby rails linux, rails screen, mysql schema, read write data, ruby server, write javascript mysql, write code mysql, javascript write mysql, linux write

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

Mã Dự Án: #4542089

Đã trao cho:


Ruby experience, timely delivery. Please check PMB.

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

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


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á)

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á)