sethwoodworth/FriendlyToS — comment on commit 1b7e729f22070ac30abf77331ef77b2d68385aa9
File: frndlyts/tosCrawl/MarkdownTranslator.py line 92
By wbushey:

I think it should be a public method since its an option that the class user can set. There maybe times when the user wants to translate lists, and times when the user doesn't. Does Python have access control on methods?

In translate, el needs to be an lxml.html.HtmlElement, and I need to do some type checking. .xpath() returns a list of HtmlElement, so you need to pass one of its items to translate.