Amazing-Python-Scripts
..
/
Coursera Scraper
README.md
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
- Fork the repository and open
courses.py
- Initialize the courses class with
c = Courses("<Course_Name>","<No_of_pages>")
- Use any of the functions to get required data like
c.scrape_all()
- 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>
}