I have a list of html tags defined as below:
tags = ["text1", "text2", "text3"]I will need to use theses values in a method chaining as shown below:
soup.find("div", class_="text1").find("div", class_="text2").find("div", class_="text3").textSince the list is dynamic, is there any way i can make the method chaining find() dynamic as well (in a for loop maybe?)