Определить, что делает код и провести его оптимизацию
import requests as req from bs4 import BeautifulSoup file = open('links.txt',```