Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
johnbourque
1,867 PointsWhere do I find JSON data?
I don't know how to find the JSON data for a blog. For instance, how do I find the data for http://www.shellibourque.com/ ?
1 Answer
Dai Phong
20,395 PointsHi John, the site must provide the JSON API (Data), if it is not, don't have any JSON data
johnbourque
1,867 Pointsjohnbourque
1,867 PointsHi Dai, thank you for your quick response. If the site must provide the JSON data then how do commercial blog readers retrieve blog posts?
Ricky Catron
13,023 PointsRicky Catron
13,023 PointsA web scraper could be used if a site lacks an API.
johnbourque
1,867 Pointsjohnbourque
1,867 PointsHi Ricky, how do I go about finding and using a web scraper?
Ricky Catron
13,023 PointsRicky Catron
13,023 PointsThis is a great tutorial for web scraping with Python. http://newcoder.io/scrape/ I cant think of a tutorial in any other language off the top of my head but I will look around.
A web scraper is almost like a spider that a search engine uses to crawl the web and pull in information.
James Barnett
39,199 PointsJames Barnett
39,199 PointsBlog readers use RSS, many blogs provide RSS feeds.
In general scraping content from a site you aren't authorized is often a copyright violation.