Python: How to simulate a click using BeautifulSoup

前端 未结 2 881
庸人自扰
庸人自扰 2021-01-28 20:07

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

2条回答
  •  情深已故
    2021-01-28 20:56

    You can't do what you want. Beautiful soup is a text processor which has no way to run JavaScript.

提交回复
热议问题