An open API service indexing awesome lists of open source software.

https://github.com/lmihailovic/link

Project 4 in the Gophercises course!
https://github.com/lmihailovic/link

go golang html html-parser html-parsing html5-parser html5-parsing link-parsing links

Last synced: 6 months ago
JSON representation

Project 4 in the Gophercises course!

Awesome Lists containing this project

README

          

# Link parser
This program returns html links in a map which looks like this:
```
path: text
```

## Example
The following html:
```
A link to another page
```
will result in
```
path: /other-page
text: A link to another page
```
Nested tags are also taken account of:
```

Check me out on twitter



Gophercises is on Github!


Faster, stronger, better web development!

```
results in
```
path: https://www.twitter.com/joncalhoun
text: Check me out on twitter

path: https://github.com/gophercises
text: Gophercises is on Github!

path: https://lukam.xyz
text: Faster, stronger, better web development!
```