Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 820 Bytes

File metadata and controls

34 lines (29 loc) · 820 Bytes

Coursera Courses Scraper

Description

A simple scraping module that gets coursera courses by web scraping. The purpose of this is to provide an alternate way to get list of courses from coursera

Language

  • Python

Usage

To access the courses, this application imports the following modules.

import selenium

Instructions to run this application

  1. Fork the repository and open courses.py
  2. Initialize the courses class with
c = Courses("<Course_Name>","<No_of_pages>")
  1. Use any of the functions to get required data like
c.scrape_all()
  1. It will return a dictionary containing the list of courses
Example Output

The functions will return -

{
    data : [<List of Dictionaries>],
    msg : Course Titles for <Keyword>
}