Skip to content

Tag: python

Extract data from json in these format

I’ve been messing around with JSON for some time, just pushing it out as text and it hasn’t hurt anybody (that I know of), but I’d like to start doing things properly. this is my code : this is my json file: my output is these: I want output like in these format as you have shown in the pic

beautifulsoup Case Insensitive?

I was reading: Is it possible for BeautifulSoup to work in a case-insensitive manner? But it’s not what I actually needed, I’m looking for all img tags in webpage, which include: IMG, Img etc… This code: Will only look for img tags case sensitive so how can I solve this problem without addin…