Skip to content

Parhamfakhar1/Python-web-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Python-web-scraper

پروژه: Web Scraper ساده — Python

این پروژه یک Web Scraper ساده در Python است که داده‌ها (مانند عناوین اخبار) را از یک وب‌سایت می‌گیرد و در فایل CSV ذخیره می‌کند.

ویژگی‌ها:

  • دریافت داده‌ها با requests
  • پردازش HTML با BeautifulSoup
  • ذخیره خروجی در CSV

فایل‌های داخل مخزن:

  • scraper.py — کد اصلی برنامه
  • README.md — همین فایل دوزبانه

پیش‌نیازها

  • Python 3
  • کتابخانه‌ها: requests, beautifulsoup4, pandas

نصب کتابخانه‌ها

pip install requests beautifulsoup4 pandas

اجرا

python scraper.py

Project: Simple Web Scraper — Python

This project is a simple web scraper in Python that fetches data (like news titles) from a website and saves it to a CSV file.

Features:

  • Fetch data using requests
  • Parse HTML with BeautifulSoup
  • Save output to CSV

Files included:

  • scraper.py — main Python script
  • README.md — bilingual readme

Requirements

  • Python 3
  • Libraries: requests, beautifulsoup4, pandas

Install libraries

pip install requests beautifulsoup4 pandas

Run

python scraper.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages