idajikuu commited on
Commit
9b75ad5
·
1 Parent(s): db3727e

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +4 -0
functions.py CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  def scrape_website(url):
2
  try:
3
  # Set the user agent header
 
1
+ from urllib.request import urlopen, Request
2
+ from urllib.error import URLError
3
+ from bs4 import BeautifulSoup
4
+ import re
5
  def scrape_website(url):
6
  try:
7
  # Set the user agent header