X-Git-Url: http://gitweb.pimeys.fr/?p=today.git;a=blobdiff_plain;f=today_server.py;fp=today_server.py;h=d40d5525d5ba636c2533f66c5ce6c6188fa8aa6f;hp=0c5016048f04f009ed06e71982598bbd0a1dd543;hb=498e92a26ccd83ce1cca487308b4351c1a37d7ce;hpb=f858db9ed9baa860032d2777838aa029c0cb99b9 diff --git a/today_server.py b/today_server.py index 0c50160..d40d552 100755 --- a/today_server.py +++ b/today_server.py @@ -24,13 +24,6 @@ import serverconfig #: Récupération de toutes les nouveautés import gather -def last_xantah(): - p = urllib.urlopen("http://www.adoprixtoxis.com/lite/download/xantah_downloads.php") - t = p.read() - ids = re.findall("""
Xantah (.*?)
""", t) - ids = [int(i) for i in ids] - return max(ids) - def get_file(): """Récupère la liste des derniers ids de chaque truc, stockée dans le fichier.""" f = open(serverconfig.store_published_file) @@ -45,7 +38,6 @@ def update_file(news): f.close() FETCHS = { - "xantah" : last_xantah, } def fetch_all():