I'm porting Java code to Python and the Java code used org.jsoup. I believe BeautifulSoup (bs4) will be the best replacement. However, there are classes I need for parameter references in my methods. So far, I believe I can use these mappings from Java -> Python but was wondering if someone has gone through this slog and could provide some advice:
Tag -> Tag
Node -> PageElement
Element -> Node (PageElement)
TextNode -> NavigableString
Document -> BeautifulSoup
Thanks in advance for any help you can provide.
Best Regards, Nat