I don\'t want to use selenium since I dont want to open any browsers.
The button triggers a Javascript method that changes something in the page. I want
BeautifulSoup is an HtmlParser you can't do such thing. Buf if that button calls an API, you could make a request to that api and I guess that would simulate clicking the button.
HtmlParser
request
You can't do what you want. Beautiful soup is a text processor which has no way to run JavaScript.