mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-20 16:00:26 +00:00
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1288 e7d03fd6-7b0d-0410-9947-9c21f3af8025
13 lines
269 B
Python
Executable file
13 lines
269 B
Python
Executable file
#!/usr/bin/env python
|
|
# -*- coding: iso-8859-1 -*-
|
|
import sys
|
|
from linkcheck.parser.htmllib import HtmlPrinter
|
|
|
|
def _main (filename):
|
|
data = file(filename).read()
|
|
p = HtmlPrinter()
|
|
p.feed(data)
|
|
p.flush()
|
|
|
|
if __name__=='__main__':
|
|
_main(sys.argv[1])
|