Page.from_bs4_soup#
- Page.from_bs4_soup(bs4_soup)[source]#
Converts a bs4.BeautifulSoap object to a Page object. The bs4.BeautifulSoap object will be copied before converting.
Warning
If this method is called after the app starts running, it will call the JavaScript function document.write(). This might lead to potential security issues so use it with care.
- Parameters:
bs4_soup (bs4.BeautifulSoap) –
See also