Jan-13-2021, 04:53 PM
Hello,
Here is the page I explore:
Advanced ASP.NET Core 3 Security
In particular I'm interested in the page's fragment "Product details":
![[Image: Screenshot-from-2021-01-13-17-43-17.png]](https://i.postimg.cc/8PDgkRv6/Screenshot-from-2021-01-13-17-43-17.png)
Here is how I've found first items of "Product details" table (i.e. Publisher, Language, Paperback, etc.)
Thanks.
Here is the page I explore:
Advanced ASP.NET Core 3 Security
In particular I'm interested in the page's fragment "Product details":
![[Image: Screenshot-from-2021-01-13-17-43-17.png]](https://i.postimg.cc/8PDgkRv6/Screenshot-from-2021-01-13-17-43-17.png)
Here is how I've found first items of "Product details" table (i.e. Publisher, Language, Paperback, etc.)
bbb = soup.find_all(attrs={"id":"detailBullets_feature_div"}) for child in list(bbb[1].children)[1].children: if isinstance(child, Tag): try: print("\n\1st item\t:", child.span.span.next_element.string) except: print("failed !")How to find 2nd items in the table (i.e. Apress, English, 425 pages) ?
Thanks.