Skip to content

el HTML de los reportes financieros ha cambiado #2

Description

@aniversarioperu

y el script ya no puede parsear la info.

por ejemplo el comando:

datos_empresa("B80004", 2015, 2, 2015, 2)

genera este error.

libbvl/obtener_data.pyc in balance_general(url_balance_general)
     91         +
     92         int(hallar_valor(report_tree, u'1D0104', BALANCE).replace(',',''))
---> 93         +
     94         int(hallar_valor(report_tree, u'1D0103', BALANCE).replace(',',''))
     95         )
AttributeError: 'NoneType' object has no attribute 'replace'

este es el reporte http://www.bvl.com.pe/jsp/ShowEEFF_new.jsp?Ano=2015&Trimestre=3&Rpj=B80004&RazoSoci=BBVA%20BANCO%20CONTINENTAL&TipoEEFF=BAL&Tipo1=T&Tipo2=I&Dsc_Correlativo=0000&Secuencia=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions