+ 2
How to extract 'data-src' url from this line ?
It's should print full url example : ( https://cdni.example_domain.com/460/7/47/26565500/6565500_051_51d5.jpg) <img alt="Chechik, Karmen Karma, Megan Rain 26565500" data-src="https://cdni.example_domain.com/460/7/47/26565500/2 6565500_051_51d5.jpg" height="450" src="https://static.example_domain.com/style4/img/1px.png" width="300"/>
2 Réponses
+ 1
// assuming there's only one img
document.querySelector('img').dataset.src
https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/dataset
0
uzbekmisz pythonni orgating menga