Code Monkey home page Code Monkey logo

web_scrapping_with_beautifulsoup-and-wptool's Introduction

Web Scrapping with Beautiful Soup and Wptool API

This project is about listing the Top 100 Universities in Nigeria and gathering information about them. The first data was extracted with BeautifuSoup package, from Webometric Ranking table of 2020. This data include the list of the schools with their ranking and world ranking.

The other data was extracted from each school wikipedia page, with the help of Wptools API. It includes information such chancellor and vice-chancellor of the school, if there is any.

Libraries/Package Required

  • Requests
  • Pandas
  • BeautifulSoup
  • os
  • Wptools
  • Time
  • JSON
  • Numpy

Summary

The extraction from webometrics ranking using BeautifulSoup was successful.

While manually getting the urls of each school from wikipedia, some schools such as Federal University Kashere Gombe State, had no wikipedia page, while some school had wikipedia page but no infobox. As a result of some schools not having the required information needed, the JSON data was extracted with NaN as default value.

Both datas from Beautilful soup extraction and wptools extraction was merged together and saved to a file top_100_universities_in_nigeria.csv

web_scrapping_with_beautifulsoup-and-wptool's People

Contributors

telrich 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.