This commit is contained in:
ada-dmitry
2023-05-09 17:40:17 +03:00
parent f538b447f3
commit 2d743e743b
20 changed files with 4 additions and 4 deletions
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -1,5 +1,5 @@
hostname = "localhost"
databname = "PythonDB"
username = "postgres"
passw = "Q1w2e3r4"
databname = "ada"
username = "ada"
passw = "Ri588856"
api = "6285042955:AAEPprYo9K7Ta0RkDcoqO2Z4Ejdw8to1NX0"
Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

+1 -1
View File
@@ -21,7 +21,7 @@ for i in range(15):
print(i)
url = 'https://amwine.ru' + \
parser.pictures[i].find('a').find('img').attrs['data-src']
filename = f"Python\\TeleBot\img\{i}.jpg"
filename = f"Python/TeleBot/image/{i}.jpg"
wget.download(url, filename)
try:
ins_qwery = f"""insert into public.Parser(page_name, price, priceDis, mark, scr) values ('{parser.name[i].text}', '{parser.price[i].text}', '{parser.priceDis[i].text}', '{parser.mark[i].text}', '{filename}')"""