a new datatype called CustomTree, which extends Tree. CustomTree has one extra attribute called webPage Name
changed the build_tree function to make a CustomTree instead of a Tree
change the initialize_tree function to put soup.title value inside the CustomTree instance (which is being created instead of a Tree instance)
-change show() function and save() function to show the webpage name and the url for each node
Explanation of Changes
The basic concept is that, each node now also has the title of the web page. This has been done by creating a new datatype which extends Tree and adds a new attribute called webPageName.
@PSNAppz @KingAkeem , the only problem is, that the formatting I've done is very rudimentary. It just uses basic python string formatting to display the url name and the web page name in two different lines.
Issue #120
Changes Proposed
a new datatype called CustomTree, which extends Tree. CustomTree has one extra attribute called webPage Name
changed the build_tree function to make a CustomTree instead of a Tree
change the initialize_tree function to put soup.title value inside the CustomTree instance (which is being created instead of a Tree instance) -change show() function and save() function to show the webpage name and the url for each node
Explanation of Changes
The basic concept is that, each node now also has the title of the web page. This has been done by creating a new datatype which extends Tree and adds a new attribute called webPageName. @PSNAppz @KingAkeem , the only problem is, that the formatting I've done is very rudimentary. It just uses basic python string formatting to display the url name and the web page name in two different lines.
Screenshots of new feature/change