Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
dezzyderr
SUBMITTED BY:
dezzyderr
DATE:
Oct. 9, 2022, 1:30 p.m.
FORMAT:
Text only
SIZE:
265 Bytes
Raw
Download
Tweet
HITS:
561
Go to comments
Report
import requests
import re
while True:
url = input("Enter the URL: ")
if url == "":
print("Invalid URL")
continue
break
html = requests.get(url).text
links = re.findall('"(https?://.*?)"', html)
for link in links:
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus