COMP 102 Lecture Notes - Lecture 6: Json, Reddit, Data Mining
Document Summary
Reddit can be mined to get a general consensus of what the public wants. Python can"t take a page directly from the site because not everything is in a simple text format. When you"re building a website, you"re spending most of. I. e. fixing spacing very carefully, or getting the right your time turning tiny knobs. Deeply linked to visual layout component shade of blue. Python has a hard time understanding text from here; cannot just pull out html code. Sites do store this data, but you cannot have direct access to it reddit will not give a random person access to all their data. Reddit can give you access to apis. The one in the comprehension exercises in based on json. The universal standard used to exchange and move around information on computers. Dominant way for computers to send information for one another. Apis give very structured representation of data.