Skip to content

Commit 5d4d63c

Browse files
committed
Fix link extraction logic in workshop dictionary
1 parent 72619d8 commit 5d4d63c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

episodes/a-real-website.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ As shown in the previous episode, we can store all this information in a Python
230230
# Create an empty dictionary and fill it with the info we are interested in
231231
dict_workshop = {}
232232
dict_workshop['host'] = div_firsth3.find('h3').get_text()
233-
dict_workshop['link'] = div_firsth3.find('h3').find('a').get('href')
233+
dict_workshop['link'] = div_firsth3.find('a').get('href')
234234
dict_workshop['curriculum'] = div_firsth3.get('data-curriculum')
235235
dict_workshop['country'] = div_firsth3.get('data-country')
236236
dict_workshop['format'] = div_firsth3.get('data-meeting')

0 commit comments

Comments
 (0)