diff --git a/Attrap_pref75.py b/Attrap_pref75.py index b35823d829099583d5d01df2fa9b434a72080eb6..0ebcc4a315ba379b97dab0e8114515bc6ec6541a 100644 --- a/Attrap_pref75.py +++ b/Attrap_pref75.py @@ -95,9 +95,9 @@ class Attrap_pref75(Attrap): url = a['href'] url = unquote(url) name = a.find('span') - guessed = Attrap.guess_date(a.get('href'),"([0-9]+.[0-9]+.[0-9]+)")"([0-9]+.[0-9]+.[0-9]+)") - print(guessed) - date = datetime.datetime.strptime(guessed, '%d.%m.%Y') + quasidate = a.get('href') + guessed = Attrap.guess_date(quasidate,"([0-9]+\.[0-9]+\.[0-9]+)") + date = guessed raa = Attrap.RAA(url, date, name) elements.append(raa)