Код: Выделить всё
2544-1558
Код: Выделить всё
2024-09-19T14:16:51.314812Z
https://bibliotekanauki.pl/api/oai/articles
oai:bibliotekanauki.pl:1664
2022-04-07T18:08:48.997Z
4
Medical Science Pulse
2544-1558
2544-1620
[...] rest of file cutted - too much
Код: Выделить всё
tree = ET.parse("bib_full-001664.xml")
xml_data = tree.getroot()
issn_find = xml_data.find("issn")
Я могу извлечь это информация по коду:
Код: Выделить всё
front = xml_data.findall('*')[2][0][1][0][0]
journal_meta = front[0]
lista = [el for el in journal_meta]
journal_title = lista[0][0].text
journal_issn = lista[1].text
Подробнее здесь: https://stackoverflow.com/questions/790 ... ttree-as-e