Skip to content

Prenada Media Scraper This Python script is designed to scrape book information from the Prenada Media website. It gathers data such as book titles, authors, prices, publication years, descriptions, availability, ISBNs, weights, dimensions, page counts, cover types, and image URLs. The scraped data is then stored in a CSV file for further analysis

Notifications You must be signed in to change notification settings

dms-codes/scrape-prenadamedia-com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Prenada Media Scraper

This Python script is designed to scrape book information from the Prenada Media website. It gathers data such as book titles, authors, prices, publication years, descriptions, availability, ISBNs, weights, dimensions, page counts, cover types, and image URLs. The scraped data is then stored in a CSV file for further analysis or use.

Features

  • Scrapes book data from the Prenada Media website.
  • Retrieves a variety of book information.
  • Supports scraping multiple pages within each category.
  • Automatically determines if a book is out of stock.

Prerequisites

Before running the script, make sure you have the following Python libraries installed:

  • requests: To make HTTP requests.
  • BeautifulSoup: For web scraping.

You can install these libraries using pip:

pip install requests beautifulsoup4

Usage

  1. Modify the script to specify the HOME_URL variable with the URL of the Prenada Media category you want to scrape.

  2. Run the script by executing the following command in your terminal:

python your_script_name.py
  1. The script will scrape book data from the specified category, including details like titles, authors, prices, and more.

  2. The scraped data will be stored in a CSV file named 'data.csv' in the same directory as the script.

Configuration

  • HOME_URL: The URL of the Prenada Media category you want to scrape.
  • COLUMNS: The column names for the CSV file where the data will be saved.
  • STOCK: The default stock value for in-stock items (modify as needed).

Example

Suppose you want to scrape books from a specific Prenada Media category. After running the script, you will find the scraped data saved in 'data.csv' in the script's directory.

License

This script is provided under the MIT License.


Replace `"your_script_name.py"` with the actual name of your script. You can also add more details to the README.md file, such as installation instructions and additional usage examples, based on your project's specific needs.

About

Prenada Media Scraper This Python script is designed to scrape book information from the Prenada Media website. It gathers data such as book titles, authors, prices, publication years, descriptions, availability, ISBNs, weights, dimensions, page counts, cover types, and image URLs. The scraped data is then stored in a CSV file for further analysis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages