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

https://github.com/aasmpro/xurl

Extract links (href data) from html files/web pages.
https://github.com/aasmpro/xurl

hacktoberfest python3 urls

Last synced: 7 months ago
JSON representation

Extract links (href data) from html files/web pages.

Awesome Lists containing this project

README

          

### xurl

extract links (href data) from html files/web pages.

#### Installation
```
pip install xurl
```

#### Options
run the `xurl -h` or `xurl --help` for options
```
-a = append an URL to start of the links
-c = contain text (REGEX)
-C = not contain text (REGEX)
-q = quiet mode (do not print Errors/Warnings/Infos)
-v = version
```

#### Usages
```
xurl https://example.com
```
and same for the files
```
xurl path/to/file
```
search using regex
```
xurl https://example.com -c "section\-[1-10].*.[pdf|xlsx]"
```