N
Nicolas Cavigneaux
Hello,
I've written, some times ago, a Ruby code that allows me to follow web
links and to retrieve easily interesting files. This little software
works well. To extract the links from a downloaded webpage I use
URI.extract and I've noticed that URI.extract miss a lot of links. In
fact URI.extract doesn't understand (resolve ?) relative links (for
example <a href="../dir/file.pdf">link</a>). Am I wrong ? If I don't,
what way do you advice to me to be sure to retrieve all the relative links ?
Thank you and good evening.
I've written, some times ago, a Ruby code that allows me to follow web
links and to retrieve easily interesting files. This little software
works well. To extract the links from a downloaded webpage I use
URI.extract and I've noticed that URI.extract miss a lot of links. In
fact URI.extract doesn't understand (resolve ?) relative links (for
example <a href="../dir/file.pdf">link</a>). Am I wrong ? If I don't,
what way do you advice to me to be sure to retrieve all the relative links ?
Thank you and good evening.