inscriptis icon indicating copy to clipboard operation
inscriptis copied to clipboard

How to extract the page title from the HTML?

Open StubbornDeer opened this issue 1 year ago • 1 comments

Hi guys, your library looks pretty promising but I can't figure out how to extract the page title. With BeautifulSoup, it's pretty straightforward:

parser.title.text

How to get it with inscriptis? Thanks!

StubbornDeer avatar Mar 13 '24 20:03 StubbornDeer

inscriptis currently focuses on providing an accurate representation of the web page (without site metadata such as title).

if there is sufficient user interest, i might add options to extract the title and other site metadata as well.

AlbertWeichselbraun avatar Mar 18 '24 14:03 AlbertWeichselbraun