Skip to content

Commit 0104be1

Browse files
committed
fix 0009 readme.md
1 parent 9c03abd commit 0104be1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

burness/0009/readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313
* attrs是(属性,值)元组的list
1414
* HTMLParser自动将tag和attrs都转为小写
1515

16-
16+
··
1717
def handle_starttag(self, tag, attrs):
1818
#print "Encountered the beginning of a %s tag" % tag
1919
if tag == "a":
2020
if len(attrs) == 0: pass
2121
else:
2222
for (variable, value) in attrs:
2323
if variable == "href":
24-
self.links.append(value)
24+
self.links.append(value)
25+
··

0 commit comments

Comments
 (0)