Start by checking how the address is presented. A printed address such as https://example.com/reports can be picked up as text if you can select and copy it. A clickable label such as “Quarterly report” may also work if your PDF reader copies the underlying web address along with the label. How the document was made and how your reader copies it determine what arrives in the editor.
A link that jumps to another page in the same document may have no web address. A link that opens a local file may also have no public URL. If your goal is to collect websites, keep those entries out of your working list and focus on complete http or https addresses.