Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BCG12345 committed Dec 14, 2019
1 parent 3c50503 commit ca63e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -6,7 +6,7 @@
#
# # Read in a page
html = scraperwiki.scrape("https://advocates.sindhbarcouncil.org/enrollments_list.php")
id = html.attrib[data-field="pre_reg_no"]
id = html.attrib["data-field":"pre_reg_no"]
print(id)

#
Expand Down

0 comments on commit ca63e5c

Please sign in to comment.