Bu yerda Python-da asosiy skript bor, u veb-sahifa ma'lumotlarini skrap qiladi va ularni Excel fayliga saqlaydi: import requests from bs4 import BeautifulSoup import pandas as pd # Veb-sahifaga so'rov yuborish url = "https://www.example.com/annonces" page = requests.get(url) # Veb-sahifa HTML-ni tahlil qilish soup = BeautifulSoup.page.content, "html.parser") # Elementlarni topish, ular e'lon ma'lumotlarini o'z ichiga oladi e'lon ma'lumotlarini qidirish = soup.find_all ((("class",_="annonce") # E'lon ma'lumotlarini saqlash uchun ro'yxat yaratish = [] for e'lon in ads: title = e'lon.find.text"{
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence