@marlen Вы можете использовать библиотеку requests для скачивания страницы сайта в Python. Пример кода:
1 2 3 4 5 6 7 |
import requests url = 'https://www.example.com' response = requests.get(url) with open('example.html', 'w') as f: f.write(response.text) |