ScriptUO

General => Off Topic => Topic started by: NObama on February 24, 2016, 07:20:49 PM

Title: How do I write a script to scrape data from a website?
Post by: NObama on February 24, 2016, 07:20:49 PM
Looking for something very simple:

Would like to scrape price data from MTGgoldfish.com and dump it into a csv so I can run some pivot tables in excel. 

If you've never used the site, go here to see what I want to capture every day:

http://www.mtggoldfish.com/index/modern#online

Thanks!
Title: Re: How do I write a script to scrape data from a website?
Post by: Crome969 on February 24, 2016, 11:47:22 PM
If you look into the source code they call a java script http://assets1.mtggoldfish.com/assets/card-a6b4514e838532eb848e367ded342054.js to build the table.
You may could modify it and pipe the output. Enjoy my MTG Fellow!
Title: Re: How do I write a script to scrape data from a website?
Post by: Teartmez on May 14, 2016, 01:08:42 AM
It's so good