Skip to content

Commit

Permalink
Update parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
salko-ua authored Aug 30, 2024
1 parent 63900f1 commit ce92f44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions olxparser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_main_information(soup: BeautifulSoup) -> [str, str, str, str]:
]

checklist = []
tags = soup.find("ul", class_="css-px7scb").find_all("p")
tags = soup.find("ul", class_="css-rn93um").find_all("p")

for need_word in need_words_russian:
for tag in tags:
Expand Down Expand Up @@ -245,4 +245,4 @@ async def get_data(message: types.Message):
await bot.delete_message(message_id=message_photo[0].message_id, chat_id=-1001902595324)
except Exception as e:
new_photo_group.remove(photo_group[i])
await message.answer_media_group(media=new_photo_group)
await message.answer_media_group(media=new_photo_group)

0 comments on commit ce92f44

Please sign in to comment.