-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.py
31 lines (24 loc) · 1.27 KB
/
example.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# from .sisedeinversiones.format_eight import Scraping
# import sisedeinversiones as ssi
# from sisedeinversiones.form_eight import Scraping
# from sisedeinversiones.form_eight.eight import ScrapingEight
# from sisedeinversiones.lista_ejecucion.lista_ejecucion_simple import ScrapingListaEjecucion
# from sisedeinversiones.ssi.main_ssi import ScrapingMainSSI
# file_read = "E:/otrosTrabajosSTATA-practicas/proyectStataPythonToGitHub/scrapingFunctions/SiSedeInversiones/CUI_2019_dep7.csv"
file_read = "CUI_2019_dep7.csv"
path_export = "E:/otrosTrabajosSTATA-practicas/proyectStataPythonToGitHub/pruebas"
num_range = "5_10"
file_type = ".xlsx"
year = "2019"
# scraper = ssi.format_eight.Scraping(file_read, path_export, num_range, file_type, year)
# scraperEight = ScrapingEight(file_read, num_range, path_export, file_type, year)
# scraperEight.download_data()
# scraperListaEjecucion = ScrapingListaEjecucion(file_read, num_range, path_export, file_type, year)
# scraperListaEjecucion.download_data()
# scraperMainSSI = ScrapingMainSSI(file_read, num_range, path_export, file_type, year)
# scraperMainSSI.download_data()
from sisedeinversiones.main import SSI
scraper = SSI(file_read, num_range, path_export, file_type, year)
scraper.format_eight()
# scraper.list_ejecucion()
# scraper.main_ssi()