I want to find the span tag beween the LI tag and its attributes but no luck.
- by Mahesh
I want to find the span tag beween the LI tag and its attributes. Trying with beautful soap but no luck. Details of my code. Is any one point me right methodlogy
In this this code, my getId function should return me id = "0_False-2"
Any one know right method?
from BeautifulSoup import BeautifulSoup as bs
import re
html = '<ul>\
<li…