diff --git a/releases/pangp.json b/releases/pan-gp.json similarity index 100% rename from releases/pangp.json rename to releases/pan-gp.json diff --git a/src/pangp.py b/src/pan-gp.py similarity index 88% rename from src/pangp.py rename to src/pan-gp.py index 69b68053..9263c945 100644 --- a/src/pangp.py +++ b/src/pan-gp.py @@ -1,7 +1,6 @@ import json import urllib.request from bs4 import BeautifulSoup -from html.parser import HTMLParser URL = "https://www.paloaltonetworks.com/services/support/end-of-life-announcements/end-of-life-summary" @@ -16,5 +15,5 @@ with urllib.request.urlopen(URL, data=None, timeout=5) as response: abs_date = f"{year}-{month:0>2}-{date:0>2}" list[version] = abs_date -with open('releases/pangp.json', 'w') as f: +with open('releases/pan-gp.json', 'w') as f: f.write(json.dumps(list, indent=2))