@markovbot Now that we have found the anchor tags, how do we get the href value? Unfortunately, it’s not as easy as you would expect. A token stores it’s attributes in an array, so the only way to get the href is to iterate over every attribute until we find it. Here’s the code to do it.

Sign in to participate in the conversation
Melbourne Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!