Skip to content

Repository designed to help freshers easily grasp the basics of web scripting, offering simple guides and examples to build a strong foundation.

License

Notifications You must be signed in to change notification settings

gayanukabulegoda/Web-Scraping-Starter-Kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Web-Scraping-Starter-Kit

A repository designed to help freshers grasp the basics of web scraping. This kit provides simple guides and examples to build a strong foundation in web scraping.

Repository Contents

This repository includes four essential Python scripts for web scraping:

  1. Web.py
    This script introduces the basics of web scraping. It captures and prints data from a website to the terminal.

  2. WebDataToExcel.py
    This script extracts data from a website and saves it to an Excel sheet, with two columns: Heading and Content.

  3. WebImgToFolder.py
    This script retrieves image source paths via web scraping and downloads the images, saving them to a specified folder.

  4. PaginatedDataSetToExcel.py
    This script scrapes data from a paginated site and saves it to an Excel sheet with seven separate columns, organized page by page.

How to Use

  1. Clone the Repository
    git clone https://github.com/gayanukabulegoda/Web-Scraping-Starter-Kit.git
    
  2. Navigate to the Project Directory
    cd Web-Scraping-Starter-Kit
    
  3. Run the Scripts
  • For Web.py:
    python Web.py
  • For WebDataToExcel.py:
    python WebDataToExcel.py
  • For WebImgToFolder.py:
    python WebImgToFolder.py
  • For PaginatedDataSetToExcel.py:
    python PaginatedDataSetToExcel.py
    

Dependencies

Ensure you have the required Python libraries installed. You can install them using pip:

pip install requests beautifulsoup4 pandas

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or inquiries, please contact me via LinkedIn.


© 2024 Gayanuka Bulegoda