Skip to content
Snippets Groups Projects
Commit 84742b2c authored by Tilman Vatteroth's avatar Tilman Vatteroth :robot:
Browse files

Merge branch 'master' of bitbucket.org:FsInformatikDortmund/infoscreen

parents e63f51ab 08d27b90
Branches
No related tags found
No related merge requests found
......@@ -13,8 +13,10 @@ def parseDay( dom, dayName ):
tds = day[tr].find("td");
gericht = tds[0].text()
gericht = re.sub(r'\([\d+,]+\)', '', gericht)
gericht = re.sub(r'\bdazu \d Beilagen nach Wahl\b', '', gericht)
gericht = re.sub(r' ,', ',', gericht)
gericht = re.sub(r',\S', ', ', gericht)
gericht = re.sub(r',$', '', gericht)
art = tds[1].text()
kategorie = tds[2].find("img").first().attr( "src" )
gerichte.append({'gericht': gericht,"art": art,"kategorie":kategorie})
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment