Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrap all information came from "Consulta de Licitações" page #3

Open
moacirmoda opened this issue May 13, 2018 · 1 comment
Open

Comments

@moacirmoda
Copy link
Collaborator

moacirmoda commented May 13, 2018

  • Scrap all informations from "Consulta de Licitações" page [1].
  • To execute search filling only "Período de Publicação" and "Modalidades" fields.
    • To fill the first field with the same date in field from and until.
    • To fill the last field checking "Todas" box.
    • See image below

image

  • After submiting the form, to scrap all information from each result in result page.
  • Retrieve a dict with scrapped informations
  • Maintain main language (portuguese) for all dict fields

[1] - http://comprasnet.gov.br/ConsultaLicitacoes/ConsLicitacao_Filtro.asp

@moacirmoda
Copy link
Collaborator Author

moacirmoda commented May 15, 2018

Sample:

1 Pirassununga- SP
MINISTÉRIO DA DEFESA
Comando do Exército
Comando Militar do Sudeste
2ªDivisão de Exército
11ªBrigada de Infantaria Blindada
13 Regimento de Cavalaria Mecanizado
Código da UASG: 160478

Pregão Eletrônico Nº 3/2018
Objeto: Objeto: Pregão Eletrônico - Contratação de empresa prestadora de Serviço Móvel Pessoal (SMP), área (019).
Edital a partir de: 11/05/2018 das 08:30 às 11:30 Hs e das 14:00 às 16:30 Hs
Endereço: Av Newton Prado, 2251 - Centro - Pirassununga - Sao Paulo - - Pirassununga (SP)
Telefone:
Fax:
Entrega da Proposta: a partir de 11/05/2018 às 08:30Hs
Abertura da Proposta: em 23/05/2018 às 08:30Hs, no endereço: www.comprasnet.gov.br

Dict:

{
	"cabecalho": [
			"MINISTÉRIO DA DEFESA",
			"Comando do Exército",
			"Comando Militar do Sudeste",
			"2ªDivisão de Exército",
			"11ªBrigada de Infantaria Blindada",
			"13 Regimento de Cavalaria Mecanizado",
		],
	"pregao-eletronico": "32018",
        "codigo-da-uasg": "160478",
        "cidade": "Pirassununga",
        "uf": "SP",
	"objeto": "Objeto: Pregão Eletrônico - Contratação de empresa prestadora de Serviço Móvel Pessoal (SMP), área (019)",
	"edital-a-partir-de-str": "11/05/2018 das 08:30 às 11:30 Hs e das 14:00 às 16:30 Hs",
	"edital-a-partir-de": datetime(2018, 5, 11),
	"endereco": "Av Newton Prado, 2251 - Centro - Pirassununga - Sao Paulo - - Pirassununga (SP)",
	"telefone": None,  
	"fax": None,  
	"entrega-da-proposta-str": "a partir de 11/05/2018 às 08:30Hs",
	"entrega-da-proposta": datetime(2018, 5, 11),
	"abertura-da-proposta-str": "em 23/05/2018 às 08:30Hs, no endereço: www.comprasnet.gov.br",
	"abertura-da-proposta": datetime(2018, 5, 23),
}

marceloandriolli pushed a commit that referenced this issue May 16, 2018
marceloandriolli pushed a commit that referenced this issue May 17, 2018
…abertura da proposta", info from auction page #3
moacirmoda pushed a commit that referenced this issue May 17, 2018
moacirmoda pushed a commit that referenced this issue May 17, 2018
…abertura da proposta", info from auction page #3
moacirmoda pushed a commit that referenced this issue May 17, 2018
marceloandriolli pushed a commit that referenced this issue May 19, 2018
* master:
  adding useful notebooks that helps in project
  adding new integration test
  encapsuling possibly errors on text exctration to avoid breaks total process
  Updating README.md
  reorganizing structure of tests to isolate unit tests from integration tests
  Creating new class called that wraps Dados.gov.br API for ComprasNet database (#9)
  {WIP} Fix date to search auctions #3
  {WIP} Get "endereço", "telefones", "fax", "entrada da proposta" and "abertura da proposta", info from  auction page #3
  {WIP} Fix tests #3
  {WIP} Get data from auctions page

Conflicts:
	comprasnet/__init__.py
	tests/test_class_comprasnet.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant