-
Notifications
You must be signed in to change notification settings - Fork 100
Closed
Labels
PR-verifyHas a PR, must be checkedHas a PR, must be checkedbugSomething isn't workingSomething isn't working
Milestone
Description
Issue by monstrfolk
Sun Dec 13 01:34:57 2020
Originally opened as codelucas/newspaper#862
Perhaps misunderstand the relationship from clean_top_node to clean_doc or doc, but cannot transverse from clean_top_node to clean_doc or doc.
For example, following will not work.
a = Article('https://somesite.com/some_article')
a.download()
a.parse()
print(a.clean_doc.getroottree().getpath(a.clean_top_node))
Expect to be able to print the path from clean_doc/doc to clean_top_node.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PR-verifyHas a PR, must be checkedHas a PR, must be checkedbugSomething isn't workingSomething isn't working