Skip to content

Commit

Permalink
merge from master
Browse files Browse the repository at this point in the history
  • Loading branch information
arquejadalucy committed Nov 30, 2023
1 parent 28048de commit 720518f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/services/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ def parse_data(html):
'assunto': assunto.text if assunto else "",
'data': date.text[0:10] if date else "",
'juiz': juiz.text if juiz else "",
'valor': clean_data(" ".join(valor.text.split())) if valor else "",
'valor': clean_data(valor.text) if valor else "",
'partes': get_partes(html)
}


def parse_data_primeiro_grau(html):
data1 = parse_data(html)
data1.update({'movimentações': get_movimentos(grau=1, html=html)})
Expand Down

0 comments on commit 720518f

Please sign in to comment.