Skip to main content

Coursera Scraper

This repository contains a Python script that utilizes Selenium to scrape data from Coursera.

Scraped Fields

The script scrapes the following fields for each course:

  1. Link: Link of the course
  2. Title: The title of the course.
  3. Institute: The institution offering the course (if available).
  4. Rating: The course rating.
  5. Recent Views: The number of recent views for the course.
  6. Students Enrolled: The number of students enrolled in the course.
  7. Time Requirement: The approximate time required to complete the course.
  8. Skills: A list of skills covered in the course.
  9. Learner Count: The total number of learners who have taken the course.
  10. Difficulty Level: The difficulty level of the course.
  11. Duration: The duration of the course.
  12. Sub-course: Additional information about the course or its sub-courses.

The scraped data is stored in a dictionary format for each course.

Prerequisites

You can install the required Python packages by running the following command:

pip install coursera-scraper

from scraper.main import scraper

for course_detail in scraper(keyword='python'):
    # do some processing on course detail

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for coursera-scraper 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coursera-scraper 0.1.3
File Size Uploaded Provenance Actions
coursera-scraper-0.1.3.tar.gz 4.2 kB Without provenance Details for coursera-scraper-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for coursera-scraper 0.1.3
File Interpreter ABI Platform Actions
coursera_scraper-0.1.3-py3-none-any.whl Python 3 none any Details for coursera_scraper-0.1.3-py3-none-any.whl

Total release size: 9.0 kB

Release files / coursera-scraper-0.1.3.tar.gz

Download URL coursera-scraper-0.1.3.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
53b216c69cc31156943ebb877fd0a509cade6a4c3d1d557de14d4d3865df19a1
BLAKE2b-256 checksum
How to use checksums
bca93817d7f6c73f0c109d35ffc4514fcbcd1d794d16a1224137c695d5e344ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / coursera_scraper-0.1.3-py3-none-any.whl

Download URL coursera_scraper-0.1.3-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46dca9e6f1cc4734ba8a2b6319cbdb66972231f85c89c66ed29a9b6552568c1d
BLAKE2b-256 checksum
How to use checksums
72517add00859e587f34858e1e205c770b0d184c427a9fdaec0d9268af83383e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for coursera-scraper 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page