From cf616b1d09ce055a6948a3a21cec04c37b6e3b1b Mon Sep 17 00:00:00 2001 From: blank X Date: Wed, 21 Jul 2021 14:40:01 +0700 Subject: [PATCH] Remove unused variables --- gensbbsrss.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/gensbbsrss.py b/gensbbsrss.py index f7857d6..14bb135 100644 --- a/gensbbsrss.py +++ b/gensbbsrss.py @@ -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']