Compare commits
No commits in common. "74518bc568dc204cdd11fb698d0b8d27b5c26fa0" and "7f9cac6be85f4483c2efd7b28ade6b30cdd579ad" have entirely different histories.
74518bc568
...
7f9cac6be8
@ -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>
|
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user