Find Jobs
Hire Freelancers

Screen Scraping in Ruby + Read/Write to MySQL server

$30-250 USD

Completed
Posted almost 11 years ago

$30-250 USD

Paid on delivery
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 #
Project ID: 4542089

About the project

2 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Ruby experience, timely delivery. Please check PMB.
$250 USD in 4 days
5.0 (8 reviews)
4.3
4.3
2 freelancers are bidding on average $292 USD for this job
User Avatar
We can make your required scrapper in ruby and can insert in data in MYSQL as you require. Thanx
$333 USD in 7 days
4.9 (9 reviews)
4.6
4.6

About the client

Flag of UNITED KINGDOM
London, United Kingdom
5.0
33
Payment method verified
Member since Feb 1, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.