File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ def example_complex():
136136 <body>
137137 <div class="main">
138138 <h1>Talks by PyCon 2016</h1>
139- <div class="talks">
139+ <div class="talks" id="d5esfbb5d03adfdfede8a342238d6a68" >
140140 <div class="talk" data-id="c7f1fbb5d03a409d9de8abb5238d6a68">
141141 <a href="/pycon2016/kelsey-gilmore-innis-seriously-strong-security-on-a-shoestring">
142142 <img src="/presentations/c7f1fbb5d03a409d9de8abb5238d6a68/thumb_slide_0.jpg">
@@ -183,7 +183,7 @@ def example_complex():
183183 """
184184
185185 # Parse the document
186- parser = HTMLement ("div" , attrs = {"class" : "talks" , "no " : False })
186+ parser = HTMLement ("div" , attrs = {"class" : "talks" , "id " : True })
187187 parser .feed (html )
188188 root = parser .close ()
189189
@@ -205,6 +205,7 @@ def example_complex():
205205 print ("Date = {}" .format (date ))
206206 print ("" )
207207
208+
208209if __name__ == "__main__" :
209210 example_simple ()
210211 print ("" )
You can’t perform that action at this time.
0 commit comments