Amazing-Python-Scripts

Форк
0

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

  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>
}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.