Загрузка данных


import re
import requests

url = "https://httpbin.org/"
html = requests.get(url, timeout=10).text

hrefs = re.findall(r'href=["\'](.*?)["\']', html)

for h in hrefs:
    print(h)