1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-07-07 07:04:00 +02:00

Fixed publish date when there is only the year

This commit is contained in:
Yohann D'ANELLO
2020-02-10 19:33:34 +01:00
parent 92dc21f014
commit 343ab02874
2 changed files with 9 additions and 3 deletions

View File

@ -2,6 +2,7 @@ from http.server import BaseHTTPRequestHandler, HTTPServer
import os
import socket
from time import sleep
"""
GetBlue Android parameters
@ -24,6 +25,8 @@ class Server(BaseHTTPRequestHandler):
print("Hey j'ai un ISBN :", isbn)
os.system("xdotool type " + isbn)
os.system("xdotool key KP_Enter")
sleep(1)
os.system("xdotool click 1")
def do_HEAD(self):
self._set_headers()