figure - blog post on apress com now that we have the required page and its urlwe will use the requests library to query the required url and get response the following snippet does the same base_url "blog_suffix "/wannacry-how-to-prepare/ response requests get(base_url+blog_suffixif the get request is successfulthe response object' status_code attribute contains value of (equivalent to html success codeupon getting successful responsethe next task is to devise method to extract the required information since in this case we are interested in the blog post' actual contentlet' analyze the html behind the page and see if we can find specific tags of interest ##note most modern browsers come with html inspection tools built-in if you are using google chromepress or right-click on the page and select inspect or view source this opens the html code for you to analyze