Update Slate

This commit is contained in:
unkn0w7n 2024-06-02 10:37:33 +05:30
parent 7a2a5a7cdd
commit 4949f9e6d3
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ class Slate(BasicNewsRecipe):
from datetime import date
soup = self.index_to_soup(url)
ans = []
dt = date.today().strftime('/%Y/%m')
dt = date.today().strftime('/%Y/')
for a in soup.findAll('a', attrs={'href':lambda x: x and x.startswith(url + dt)}):
url = a['href']
head = a.find(attrs={'class':[