GithubHelp home page GithubHelp logo

tobigiwa / selenium-webscrapping Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6.76 MB

This project demonstrates an elaborate webscraping program that spans mutilple webpages using Selenium with Python.

License: MIT License

Python 100.00%

selenium-webscrapping's Introduction

Webscraping and Automation with Selenium

Project Description

This project demonstrates an elaborate webscraping program that spans mutilple webpages using Selenium with Python.

Project Objective

Automaing and designing a maintainable codebase for scraping mutiple webpages using Selenium with python.

  • A script(soup.py) of a Python Class with it only attribute as the browser driver and it methods are function doing a singular scraping job.

  • A script(cooking.py) with a context manager variable calling each function and appending the scrape data to a list of dictionaries.

  • A script(chopping.py) responsible for managing extra transformation needed for the scrape data.

  • A script(create_log.py) to create logging for our code.

Running the script

Run pip install -r requirement.txt in your activated virtualenv to have all needed dependencies.

Run python cooking.py to execute the program. The list of dictionaries is converted into a Pandas Dataframe which is then written to tab seperated file format.

The repo also includes another script that houses the codebase in a single script(served.py).

I do hope my code brings good readability. ๐Ÿ‘ ๐Ÿ‘

selenium-webscrapping's People

Contributors

tobigiwa avatar

Stargazers

 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.