Im looking for how i would get this format of data when web scraping: How would I instruct it to grab content that is marked in the source code as:
<div hidden="">https://doi.org/10.1016/S0272-7757(21)00078-9</div>
I have a working web scraping application that takes data in this format, taking the class data and pushing it into an array:
$('.js-article-title', html).each(function () {
const title = $(this).text()
articles.push({
title
})
How would I take this code and help me find this hidden data on the page? Please help im a beginner.