Commit 17513a12 by Juan Pablo dure

dsad

1 parent 0d46a2a2
from datetime import datetime
from time import sleep
class FosaDiaria():
"""Esta clase almacenara todos los datos de finalizacion de
......@@ -21,9 +22,9 @@ class FosaDiaria():
return data
self.ActualizarDatosDominios(selenium)
return self.LimpiarData(data)
return self.LimpiarData(data,dominio,dia)
def LimpiarData(self,data):
def LimpiarData(self,data,dominio,dia):
return(data)
def ActualizarDatosDominios(self,selenium):
......@@ -33,10 +34,13 @@ class FosaDiaria():
mes = now.strftime("%m")
ano = now.strftime("%Y")
self.LimpiarCarpertaDescarga()
sleep(5)
URL = f"""https://rto.cent.gov.ar/rto/report/planillaDiariaEXCEL/planillaDiariaEXCEL?codTaller=54&fechaConsulta={dia}%2F{mes}%2F{ano}&agruparPorLinea=false&format=excel&extension=xls"""
print(URL)
selenium.get(URL)
sleep(5)
self.BajarExcel()
def BajarExcel(self):
pass
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!