GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Python/parseHTMLwithBS.py at master · antykuba/Python Expand file tree/ Copy pathparseHTMLwithBS.pyMore file actions 12 lines (8 loc) · 222 Bytes / Copy pathparseHTMLwithBS.pyFile metadata and controls12 lines (8 loc) · 222 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 import urllib from BeautifulSoup import * url = "http://www.dr-chuck.com/page1.htm html = urllib.urlopen(url).read() soup = BeautifulSoup(html) tags = soup('a') for tag in tags: print tag.get('href', None) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |