which command I should write after
if (attr.tag=='author' or attr.tag=='title' or attr.tag=='price'):
print (attr.text)
Not just one tiltle, but in all titles, I wish only to take the first part of it (before :)
if (attr.tag=='author' or attr.tag=='title' or attr.tag=='price'):
print (attr.text)
Not just one tiltle, but in all titles, I wish only to take the first part of it (before :)