Skip to content

Commit

Permalink
fixed bug in demandados field
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielGnzlzVll committed Oct 31, 2019
1 parent 9382c59 commit 0d4c868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rjco_scraping/scraping.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def _tranform_table(data, col):
resultado["datos"]["demandados"] = wait_for_by_xpath(
contenedor, "//span[@id='lblNomDemandado']"
).text.split("-")[1:]
resultado["datos"]["demandados"] = [x.strip() for x in resultado["datos"]["demandantes"]]
resultado["datos"]["demandados"] = [x.strip() for x in resultado["datos"]["demandados"]]
resultado["datos"]["contenido"] = wait_for_by_xpath(
contenedor, "//span[@id='lblContenido']"
).text
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def read_readme():
author='Daniel gonzalez',
author_email='[email protected]',
license='APACHE',
version='0.0.5',
version='0.0.6',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
Expand Down

0 comments on commit 0d4c868

Please sign in to comment.