Is it possible for BeautifulSoup to work in a case-insensitive manner?

Posted by Nitin on Stack Overflow See other posts from Stack Overflow or by Nitin
Published on 2010-04-08T18:18:24Z Indexed on 2010/04/08 18:23 UTC
Read the original article Hit count: 457

Filed under:
|

I am trying to extract Meta Description for fetched webpages. But here I am facing the problem of case sensitivity of BeautifulSoup.

As some of the pages have <meta name="Description and some have <meta name="description.

My problem is very much similar to that of Question on Stackoverflow

The only difference is that I can't use lxml .. I have to stick with Beautifulsoup.

© Stack Overflow or respective owner

Related posts about python

Related posts about beautifulsoup