Def. emergence: A wild property appeared.
Monthly Archives: January 2015
Website Mapper
Here is a small python program a friend and I wrote to map and visualize the structure of websites. It is licensed with the BSD license. The programs opens all links in the start address and recursivly searches through all following links. The crawling process may take a long time for more than 1 or 2 recursions. This may cause a lot of traffic for a website, therefore please contact the site’s admin before you run the program.
Download: https://sven-seeberg.de/download/iac.py
It creates a text file which can be visualized by graphviz. The result may look like this or with 2 recursions like this.
The program requires Python 2.7, urllib2 and BeautifulSoup.
Usage:
$ python(.exe) iac.py [parameters]
The required parameters are:
-f [path to result file]
-r [number of recursions]
-n [“title”|”url”] (map site titles or URls)
-u [url to map]
Create a visualization with graphviz:
$ dot -Tsvg result.txt -o sitemap.svg