تفاصيل العمل

# Ketabak Book Scraper

A lightweight and efficient Python web scraping tool designed to extract book information, details, and pricing data from the [Ketabak Book](https://ketabakbook.ps/) platform.

This project was built to collect structured data smoothly while keeping dependencies minimal and ensuring compatibility across different hardware architectures (including older or low-resource Linux systems).

---

## 🚀 Features

* **Data Extraction:** Automatically parses book listings to retrieve:

* Book Title

* Direct Link / URL

* Author / Category

* Price

* **Pagination Support:** Automatically navigates through multiple catalog pages until the target item limit is reached.

* **Lightweight & Fast:** Built using standard Python libraries and lightweight parsers to avoid heavy memory footprints or architecture-specific compilation issues (e.g., CPU instruction errors).

* **CSV Export:** Cleanly exports all collected data into a structured `.csv` file with full UTF-8 support for Arabic text.

---

## 🛠️ Tech Stack

* **Python 3.x**

* **Requests** (for HTTP handling)

* **BeautifulSoup4** (for HTML parsing and data extraction)

* **CSV Standard Library** (for file output generation)

---

## 📂 Project Structure

```text

├── book_s.py # The core Python scraping script

├── books_dataset.csv # The output dataset containing scraped book records

├── page_structure.html # Sample HTML snapshot acquired via Wget for analysis

└── documentation.doc # Project overview and notes

ملفات مرفقة

بطاقة العمل

اسم المستقل
عدد الإعجابات
0
تاريخ الإضافة
تاريخ الإنجاز
المهارات