From 32face301d380c8943961cc67a322b28ff87556c Mon Sep 17 00:00:00 2001 From: VladEpifanov <124862300+VladEpifanov@users.noreply.github.com> Date: Tue, 21 Feb 2023 22:02:16 +0300 Subject: [PATCH] =?UTF-8?q?Delete=20=D0=9F=D0=B0=D1=80=D1=81=D0=B8=D0=BD?= =?UTF-8?q?=D0=B3.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Задания/task1/Epifanov/Парсинг.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 Задания/task1/Epifanov/Парсинг.py diff --git a/Задания/task1/Epifanov/Парсинг.py b/Задания/task1/Epifanov/Парсинг.py deleted file mode 100644 index 8914bf7..0000000 --- a/Задания/task1/Epifanov/Парсинг.py +++ /dev/null @@ -1,13 +0,0 @@ -from bs4 import BeautifulSoup -from selenium import webdriver -from selenium.webdriver.chrome.service import Service - -s = Service('C:\Desktop\exe\chromedriver.exe') -browser = webdriver.Chrome(service=s) -browser.get('https://pythonpip.ru/examples/kak-posmotret-ustanovlennye-moduli-python-i-vyvesti-ih-spisok') -html_text = browser.page_source -print(html_text) -soup = BeautifulSoup(html_text, 'lxml') -infos = soup.find_all(attrs={"class":"relpost-block-single-text"}) -for info in infos: - print(info.text)