Skip to content
Snippets Groups Projects
Commit ba713d04 authored by Alê Borba's avatar Alê Borba
Browse files

Ajustando o wrapper para resultado positivo.

parent fc8391f1
No related branches found
Tags v1.3.1
No related merge requests found
......@@ -14,10 +14,7 @@ class EctTracker():
response = requests.get(self.url+cod)
html = fromstring(response.text)
tree = html.iter(tag='table')
table = tree.next()
form = html.body.getchildren()
for item in form:
resultado = item.find('center')
return resultado.text_content()
\ No newline at end of file
return table.text_content()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment