pylinkvalidator icon indicating copy to clipboard operation
pylinkvalidator copied to clipboard

follows tel: links but shouldn't

Open fredericrous opened this issue 7 years ago • 2 comments

links beginning with "tel:" should be skipped

source file:

<a href="tel:0033111111111">+ 33 <u>(0)1 11 11 11 11</u></a>

output

not found (404): http://localhost:8000/tel:0033111111111
    from http://localhost:8000/

I didn't try "mailto:", it might not work as well

fredericrous avatar May 31 '18 18:05 fredericrous

Hi, did you try to -b (--ignore-bad-tel-urls) option? I believe you are experiencing the same issue as #16 .

bartdag avatar Jun 09 '18 19:06 bartdag

Hello @bartdag, I tested flag --ignore-bad-tel-urls and issue still happens

$ pylinkvalidate.py --ignore-bad-tel-urls --parser=html5lib --progress http://localhost:33215
...
not found (404): http://localhost:33215/page1/tel:0033659092097

FYI: I had to pip install the repository, --ignore-bad-tel-urls flag is in a version not published yet on pypi

fredericrous avatar Jul 03 '18 22:07 fredericrous