UNICT-DMI / Telegram-DMI-Bot

A telegram bot for the DMI students 🎓 (@DMI_Bot)
https://t.me/DMI_Bot
GNU General Public License v3.0
41 stars 30 forks source link

lessons scraper #227

Closed Helias closed 1 year ago

Helias commented 1 year ago
An exception was raised:
  File "/dmibot/module/job_updater.py", line 20, in updater_lep
    Lesson.scrape(f"1{get_year_code(9, 20)}", delete=True)  # aaaa/09/21 (cambio nuovo anno lezioni) data dal quale vengono prelevate le lezioni del nuovo anno
  File "/dmibot/module/data/lesson.py", line 80, in scrape
    tr_all = table.find_all('tr')
AttributeError: 'NoneType' object has no attribute 'find_all'