in firefoxyou can bring up the web developer tools inspector by pressing ctrlshift- on windows and linux or by pressing option- on macos the layout is almost identical to chrome' developer tools in safariopen the preferences windowand on the advanced pane check the show develop menu in the menu bar option after it has been enabledyou can bring up the developer tools by pressing option- after enabling or installing the developer tools in your browseryou can right-click any part of the web page and select inspect element from the context menu to bring up the html responsible for that part of the page this will be helpful when you begin to parse html for your web scraping programs don' use regul pre ssions to pa rse tml locating specific piece of html in string seems like perfect case for regular expressions howeveri advise you against it there are many different ways that html can be formatted and still be considered valid htmlbut trying to capture all these possible variations in regular expression can be tedious and error prone module developed specifically for parsing htmlsuch as bs will be less likely to result in bugs you can find an extended argument for why you shouldn' parse html with regular expressions at web scraping