Skip to content
Discussion options

You must be logged in to vote

Hi Sandeep!
You do this easily using getElementAttribute method. Check the following example for images:

final images = webScraper.getElementAttribute("img", 'src');
images.forEach((link) => print(link));

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sandys
Comment options

@tusharojha
Comment options

@sandys
Comment options

Answer selected by tusharojha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #39 on April 05, 2021 14:54.