Definition at line 233 of file MakeHierTags.py.
◆ __init__()
def MakeHierTags.Parser.__init__ |
( |
|
self, |
|
|
|
url |
|
) |
| |
Definition at line 235 of file MakeHierTags.py.
236 HTMLParser.__init__ (self)
238 self.feed (urllib2.urlopen(url).
read())
◆ handle_starttag()
def MakeHierTags.Parser.handle_starttag |
( |
|
self, |
|
|
|
tag, |
|
|
|
attrs |
|
) |
| |
Definition at line 243 of file MakeHierTags.py.
243 def handle_starttag (self, tag, attrs):
244 if tag !=
'a':
return
245 href = dict(attrs).get (
'href')
247 ii = href.find (
'?tag_name=')
250 self.tags.append (tag)
◆ tags
The documentation for this class was generated from the following file: