Code Monkey home page Code Monkey logo

web-scraping's Introduction

Web Scraping Repository

Introduction

Welcome to my Web Scraping Repository! This repository contains a collection of Jupyter Notebook (.ipynb) files, each designed to scrape different websites. The scripts are written in Python and utilize various web scraping libraries and tools. My goal is to provide a useful resource for those looking to learn about web scraping techniques or gather data from a range of online sources.

Repository Structure

Each .ipynb file in the repository is named according to the website it is designed to scrape. Here's a brief overview:

  • Elmenus_Scraping.ipynb: Script for scraping Elmenus website.
  • IMDP.ipynb: Script for scraping IMDP website.
  • Pokemon.ipynb: Script for scraping Pokemon website.
  • Departments_Scraping.ipynb: Script for scraping departments from york.ac.uk website.
  • Institute_Cleaning.ipynb: Script for cleaning institutes.

Features

  • Multiple Website Scrapers: Each notebook is tailored to extract specific data from a different website.
  • Error Handling: Scripts include basic error handling to manage common scraping issues.
  • Data Parsing and Cleaning: Methods to clean and format the scraped data.

Prerequisites

  • Python 3.8
  • Jupyter Notebook
  • Web scraping library: Selenium

Installation

To use these scripts, follow these steps:

  1. Clone the Repository

    git clone https://github.com/eyadshabrawy/web-scraping.git
  2. Navigate to the Repository Folder

    cd web-scraping

Usage

  1. Open Jupyter Notebook

    • Launch Jupyter Notebook in your environment.
    • Navigate to the cloned repository directory.
  2. Select a Notebook

    • Open the .ipynb file corresponding to the website you are interested in scraping.
  3. Run the Notebook

    • Execute the cells in the notebook to perform web scraping.

Contributing

We welcome contributions to improve the existing scripts or add new ones. Please adhere to the following steps for contributing:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -am 'Add some feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a new Pull Request.

License

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

Disclaimer

Web scraping can be against the Terms of Service of some websites. Always ensure that your scraping activities are legal and ethical.

web-scraping's People

Contributors

eyadshabrawy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.