forecast part of the web page is sunnywith high near west wind to mphwith gusts as high as mph this is exactly what you were looking forit seems that the forecast information is contained inside element with the forecast-text css class right-click on this element in the browser' developer consoleand from the context menu that appearsselect copy css selector this will copy string such as 'div row-odd:nth-child( div:nth-child( )to the clipboard you can use this string for beautiful soup' select(or selenium' find_element_by_css_selector(methodsas explained later in this now that you know what you're looking forthe beautiful soup module will help you find it in the string parsing html with the bs module beautiful soup is module for extracting information from an html page (and is much better for this purpose than regular expressionsthe beautiful soup module' name is bs (for beautiful soupversion to install ityou will need to run pip install --user beautifulsoup from the command line (check out appendix for instructions on installing thirdparty modules while beautifulsoup is the name used for installationto import beautiful soup you run import bs for this the beautiful soup examples will parse (that isanalyze and identify the parts ofan html file on the hard drive open new file editor tab in muenter the followingand save it as example html alternativelydownload it from the website title download my python book from my website learn python the easy wayby al sweigart as you can seeeven simple html file involves many different tags and attributesand matters quickly get confusing with complex websites thankfullybeautiful soup makes working with html much easier web scraping