Accessing Hidden Tabs, Web Scraping With Python 3.6
BeautifulSoup is used to parse HTML/XML content. You can't click around on a webpage with it. 
I recommend you look through the document to make sure it isn't just moving the content from one place to the other. If the content is loaded through AJAX when the button is clicked then you will have to use something like selenium to trigger the click.
An easier option could be to check what url the content is fetched from when you click the button and make a similar call in your script if possible.
I'm using bs4 and urllib.request in python 3.6 to webscrape. I have to open tabs / be able to toggle an "aria-expanded" in button tabs in order to access the div tabs I need.
The button tab when the tab is closed is as follows with <> instead of --:
button id="0-accordion-tab-0" type="button" class="accordion-panel-title u-padding-ver-s u-text-left text-l js-accordion-panel-title" aria-controls="0-accordion-panel-0" aria-expanded="false"
When opened, the aria-expanded="true" and the div tab appears underneath.
Any idea on how to do this?
Help would be super appreciated.