This package provides interface for retrieval of data published at the ESPI and EBI news website of PAP.
PAP is Polish Press Agency (Polish: Polska Agencja Prasowa).
The two eponymous news systems from which the news are sourced are:
This package is in development and is not yet published at PyPI. You can install it by running:
pip install git+https://github.com/wegar-2/py-espi-ebi-pap.git@master
from datetime import date
from pyespiebipapapi import scrape_date_entries
entries = scrape_date_entries(date(2026, 2, 6))
from pyespiebipapapi import make_node_soup
node = make_node_soup(node_id=715_032)
from pyespiebipapapi import extract_node_source, make_node_soup
source = extract_node_source(
node_soup=make_node_soup(node_id=715_032)
)
print(f"{source=}")
from pyespiebipapapi import parse_espi_node_soup, make_node_soup
node_data = parse_espi_node_soup(
soup=make_node_soup(node_id=715_032)
)