diff --git a/extras/extract_router_relative_links.py b/extras/extract_router_relative_links.py new file mode 100644 index 0000000..67454f2 --- /dev/null +++ b/extras/extract_router_relative_links.py @@ -0,0 +1,8 @@ +import re, bs4 +with open('menuBcm.js', 'r') as f: + z = f.read() + s = re.findall('\w+[.]html', z) + with open('html_pages.txt', 'a') as x: + for i in s: + x.write('http://192.168.1.1/{}'.format(i.strip()) + '\n') +