12345678910111213141516171819202122232425262728 |
- import pnalib
- import html.parser
- # Pikante does not have any student restaurants at the moment
-
- pikante_url = "http://www.pikante.fi/lounaslistat-pdf";
-
- restaurant_info = [
- [ "(TAYS) Finnmedin ravintola", "$pky_url", "all", "middle" ],
- [ "(TAYS) Café Olive", "$pky_url", "all", "middle" ],
- [ "(TAYS) Ellipsi", "$pky_url", "all", "middle" ]
- ]
-
- class PikanteHTMLParser(html.parser.HTMLParser):
- def handle_starttag(self, tag, attrs):
- pass
- def handle_endtag(self, tag):
- pass
- def handle_data(self, data):
- pass
-
- def get_restaurants(use_old, week):
-
- #data = pnalib.get_file(pikante_url, "pikante.html", use_old)
- #parser = PikanteHTMLParser()
- #parser.feed(data)
-
- return []
|