Compare commits

..

No commits in common. "74518bc568dc204cdd11fb698d0b8d27b5c26fa0" and "7f9cac6be85f4483c2efd7b28ade6b30cdd579ad" have entirely different histories.

2 changed files with 0 additions and 12 deletions

View File

@ -1,7 +0,0 @@
<?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,11 +9,6 @@ from bs4 import BeautifulSoup
# Made for a friend with love # Made for a friend with love
# Tested with Python 3.10.7 on Windows 10 # 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(): def scrape():
contents = urllib.request.urlopen("https://kingslanding.nb.ca/employment/").read() contents = urllib.request.urlopen("https://kingslanding.nb.ca/employment/").read()
soup = BeautifulSoup(contents, "html.parser") soup = BeautifulSoup(contents, "html.parser")