Compare commits

...

2 Commits

Author SHA1 Message Date
74518bc568 Add discord config 2023-01-25 23:11:31 -04:00
ae9033ebff Add comments about improvments 2023-01-25 23:11:21 -04:00
2 changed files with 12 additions and 0 deletions

7
.idea/discord.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DiscordProjectSettings">
<option name="show" value="ASK" />
<option name="description" value="" />
</component>
</project>

View File

@ -9,6 +9,11 @@ from bs4 import BeautifulSoup
# Made for a friend with love
# Tested with Python 3.10.7 on Windows 10
# TODO: Look into using requests, urllib3, and/or selenium to scrape the page
# https://pypi.org/project/selenium/
# https://pypi.org/project/urllib3/
# https://pypi.org/project/requests/
def scrape():
contents = urllib.request.urlopen("https://kingslanding.nb.ca/employment/").read()
soup = BeautifulSoup(contents, "html.parser")