mirror of
https://github.com/KUlishevgeniy/c22712.git
synced 2026-09-24 08:00:22 +00:00
tbot added
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from bs4 import BeautifulSoup
|
||||
from selenium import webdriver
|
||||
from selenium.webdriver.chrome.service import Service
|
||||
from wget import download
|
||||
import psycopg2 as psyc
|
||||
|
||||
@@ -27,5 +26,4 @@ with psyc.connect(dbname="db_for_parse", user="perfecto") as conn:
|
||||
|
||||
cursor.execute(f"""insert into images(link, name, price, description, file)
|
||||
values ('{image}', '{title}', '{price}', '{desc}', 'images/{i}.jpg')""")
|
||||
|
||||
conn.commit()
|
||||
|
||||
Reference in New Issue
Block a user