urlscan does not work on HTML fragments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
urlscan (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This yields no output:
curl -s 'https:/
Without the sed filter, urlscan works. But then urlscan dumps all URLs in the whole document. It seems urlscan was only designed to work on whole documents. So perhaps this is not a "bug" but rather a feature request.
The workaround would normally be to use urlview instead, but urlview has the limitation of only working interactively. Perhaps the fix here is for urlscan to add a --fuzzyhtml option, and use the guts of urlview to do the processing.
(edit)
This workaround works for urlscan:
curl -s 'https:/
which might give a clue about what the problem is.