From 4aa40b69f631a628cd39312a7e7aaac9629a455e Mon Sep 17 00:00:00 2001 From: michigg Date: Sat, 23 Sep 2017 15:36:46 +0200 Subject: [PATCH] haha fail --- ofu-food/ofu-food.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ofu-food/ofu-food.py b/ofu-food/ofu-food.py index aff7fd5..8615b43 100644 --- a/ofu-food/ofu-food.py +++ b/ofu-food/ofu-food.py @@ -1,3 +1,6 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + import requests from bs4 import BeautifulSoup import urllib @@ -6,10 +9,10 @@ from shutil import copyfile -OUTPUTFILE = "../ofu-food.html" -# OUTPUTFILE = "/media/data_1/www/html/ofu-food.html" +# OUTPUTFILE = "../ofu-food.html" +OUTPUTFILE = "/media/data_1/www/pub-html/ofu-food.html" CSSFILE_SRC = "../bootstrap-4.0.0-beta-dist/css/bootstrap.css" -CSSFILE = "bootstrap.css" +CSSFILE = "/media/data_1/www/pub-html/bootstrap.css" LINK_FEKI_MENSA = "https://www.studentenwerk-wuerzburg.de/bamberg/essen-trinken/speiseplaene.html?tx_thmensamenu_pi2%5Bmensen%5D=3&tx_thmensamenu_pi2%5Baction%5D=show&tx_thmensamenu_pi2%5Bcontroller%5D=Speiseplan&cHash=c3fe5ebb35e5fba3794f01878e798b7c" LINK_AUSTR_MENSA = "https://www.studentenwerk-wuerzburg.de/bamberg/essen-trinken/speiseplaene.html?tx_thmensamenu_pi2%5Bmensen%5D=2&tx_thmensamenu_pi2%5Baction%5D=show&tx_thmensamenu_pi2%5Bcontroller%5D=Speiseplan&cHash=511e047953ee1370c3b82c11a04624bb" LINK_ERBA_CAFETE = "https://www.studentenwerk-wuerzburg.de/bamberg/essen-trinken/sonderspeiseplaene/cafeteria-erba-insel.html"