И он захватывает только 3 авторов, с четвертый при выводе усекается до эллипса.
Вот код:
Код: Выделить всё
import csv
import requests
from bs4 import BeautifulSoup
# URL
url = 'https://doi.org/10.1155/2021/2122095'
# Send a GET request to the URL
response = requests.get(url)
# Parse the HTML content
soup = BeautifulSoup(response.content, 'html.parser')
authors = soup.find("meta", {"name": "authors"})['content']
print(authors)
Датянь Би | Цзинъюань Конг | ... | Цзюньли Ян
Почему, почему, почему? Спасибо!
Подробнее здесь: https://stackoverflow.com/questions/781 ... -truncated