Remove unused variables
This commit is contained in:
parent
d87d05b7d1
commit
cf616b1d09
|
@ -3,9 +3,6 @@ from datetime import datetime
|
|||
from xml.etree import ElementTree
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
daydict = {1: 'Mon', 2: 'Tue', 3: 'Wed', 4: 'Thu', 5: 'Fri', 6: 'Sat', 7: 'Sun'}
|
||||
monthdict = {1: 'Jan', 2: 'Feb', 3: 'Mar', 4: 'Apr', 5: 'May', 6: 'Jun', 7: 'Jul', 8: 'Aug', 9: 'Sep', 10: 'Oct', 11: 'Nov', 12: 'Dec'}
|
||||
|
||||
with open('index.html') as file:
|
||||
soup = BeautifulSoup(file.read())
|
||||
sbbsbase = soup.find('link', rel='canonical')['href']
|
||||
|
|
Loading…
Reference in New Issue