{"id":60,"date":"2017-01-04T21:00:05","date_gmt":"2017-01-04T21:00:05","guid":{"rendered":"http:\/\/slob.coplacdigital.org\/course\/?page_id=60"},"modified":"2019-08-03T18:08:29","modified_gmt":"2019-08-03T23:08:29","slug":"chrome-web-browser-and-extensions","status":"publish","type":"page","link":"https:\/\/slob.coplacdigital.org\/course\/tools\/chrome-web-browser-and-extensions\/","title":{"rendered":"Chrome web browser and extensions"},"content":{"rendered":"<p>For at least one exercise, we&#8217;re going to need to scrape data from a web site. (Depending on the direction you choose for your final project, you may need to do this again. In any case, it can be a handy thing to know how to do.) We&#8217;ll use Google&#8217;s Chrome web browser and the Scraper extension to get this done.<!--more--><\/p>\n<p>If you don&#8217;t already have the Chrome browser on your computer, please <a href=\"https:\/\/www.google.com\/chrome\/browser\/desktop\/\">download<\/a>\u00a0and install it (Chrome is available for Windows, macOS, and Linux).<\/p>\n<p>When you&#8217;ve installed Chrome, launch it. Click\u00a0on the three vertical dots at the upper right of the window, then select More Tools &gt; Extensions to go to the Chrome web store:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-35 aligncenter\" src=\"http:\/\/slob.coplacdigital.org\/course\/files\/2017\/01\/chromeextensions-e1483553289880.png\" alt=\"Getting to the Chrome web store in the Chrome browser\" width=\"401\" height=\"318\" \/><\/p>\n<p>At the Chrome web store, search for &#8220;Scraper.&#8221; You&#8217;ll get a few different results, but you want the one developed by &#8220;dvhtn&#8221; (Dave Heaton). Click the blue &#8220;Add to Chrome&#8221; button to add this extension to your copy of Chrome. (I&#8217;ve already done so in this screenshot, so your screen will look different from mine):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-36 size-full\" src=\"http:\/\/slob.coplacdigital.org\/course\/files\/2017\/01\/scraper-e1483553629669.png\" alt=\"The Scraper extension from dvhtn at the Chrome Wen Store\" width=\"600\" height=\"229\" \/><\/p>\n<p>We&#8217;ll end up having to learn a little bit of something called XPath to use the Scraper extension to extract data from web pages. We&#8217;ll work on this when we get to our unit on social networking, but you can find tutorials online\u00a0(the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/XPath\">Mozilla Developer Network<\/a> has a good one, for instance).\u00a0There appear to be a few different Chrome extensions that can help you\u00a0figure out XPaths. One that seems pretty helpful is &#8220;xPath Finder&#8221; (which is said to be &#8220;offered by www.skyfz.com,&#8221; though no site seems to be active at that address&#8230;)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For at least one exercise, we&#8217;re going to need to scrape data from a web site. (Depending on the direction you choose for your final project, you may need to do this again. In any case, it can be a handy thing to know how to do.) We&#8217;ll use Google&#8217;s Chrome web browser and the &hellip; <a href=\"https:\/\/slob.coplacdigital.org\/course\/tools\/chrome-web-browser-and-extensions\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Chrome web browser and extensions&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":63,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-60","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P8UIEH-Y","_links":{"self":[{"href":"https:\/\/slob.coplacdigital.org\/course\/wp-json\/wp\/v2\/pages\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/slob.coplacdigital.org\/course\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/slob.coplacdigital.org\/course\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/slob.coplacdigital.org\/course\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/slob.coplacdigital.org\/course\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":1,"href":"https:\/\/slob.coplacdigital.org\/course\/wp-json\/wp\/v2\/pages\/60\/revisions"}],"predecessor-version":[{"id":61,"href":"https:\/\/slob.coplacdigital.org\/course\/wp-json\/wp\/v2\/pages\/60\/revisions\/61"}],"up":[{"embeddable":true,"href":"https:\/\/slob.coplacdigital.org\/course\/wp-json\/wp\/v2\/pages\/63"}],"wp:attachment":[{"href":"https:\/\/slob.coplacdigital.org\/course\/wp-json\/wp\/v2\/media?parent=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}