Skip to content

This code can scrape base.gov for contract information and download the Peças de Procedimento if they are stored in a zip file. This code is WIP

License

Notifications You must be signed in to change notification settings

LuisJSousa/New-Scraper-Base.Gov-Pe-as-do-Procedimento

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

New-Scraper-Base.Gov-Peças-do-Procedimento

This code can scrape base.gov for contract information and download the Peças de Procedimento

Running the Scraper

To run the scraper, use the file anogov copy.py. To search for a specific time frame, edit the scraping URL in line 23 of this file. You can change the search query by changing the date in the "desdedatapublicacao=2023-09-01&atedatapublicacao=2023-09-27" section of the URL.

Common Errors

Base.gov may show no results when the code first tries to open the results, showing a warning "Não foi possivel obter dados do servidor". If this happens, you can try to refresh Chrome, or you may have to wait for Base.gov server to be online.

Citation

When citing this project please refer to the following publications:

About

This code can scrape base.gov for contract information and download the Peças de Procedimento if they are stored in a zip file. This code is WIP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages