Home > Extract_Links_1

Extract_Links_1

Extract_Links_1 is a project mainly written in Python, it's free.

python code to extract links from a webpage using SGMLParser, urllib

used sgmllib - simple SGML(Standard Generalized Mark-up Language) Parser

input link used as an example is "http://in.yahoo.com/?p=us"

links pertaining to all hrefs is saved in the file "url.txt"

also the links are sorted

Commands to run->

python UseURLLister.py

output is file "url.txt"

Previous:sampleapp