Code to scrape course reviews from Coursera and perform sentiment analysis and topic modeling
Last updated Dec 9, 2025
17
Stars
7
Forks
0
Issues
0
Stars/day
Attention Score
8
Topics
Language breakdown
No language data available.
▸ Files
click to expand
README
CourseraScraper
Code to scrape course reviews from Coursera and perform sentiment analysis and topic modelingContents
Code ready to use
- CourseraClass.py
- scrapecourserareviews.py
- scrapecourseraurls.py
- ReviewSentimentAnalysis.ipynb
- ReviewTopicModeling.ipynb
- courserareviewsscraper.ipynb
- courseraurlscrapper.ipynb
Instructions
- To scrape all course urls use scrapecourseraurls.py
- To scrape reviews from stored course urls in text files, use scrapecourserareviews.py
- To perform sentiment analysis and topic modeling, use respective jupyter notebooks
- Selenium
- Pandas
- ScikitLearn
- BeautifulSoup
- A stable internet connection
- Sometimes when scrapping the whole Coursera site the server leads you to a different website than expected, so it is good to once in a while check on the browser driver if everything is going well.
🔗 More in this category