Metadata-Version: 2.1
Name: us-news
Version: 0.0.6
Summary: A web crawler to crawl Best Global University Ranking on usnews, Times Higher Education, and QS websites
Home-page: https://github.com/M140042/university_ranking_scraper
Author: Low Wei Hong
Author-email: M140042@e.ntu.edu.sg
License: UNKNOWN
Keywords: university_rankings,usnews,times_higher_education,qs
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: pandas
Requires-Dist: httpx
Requires-Dist: lxml

# University Subject Ranking Best Global Universities scraper
A web crawler to scrape university rankings from US News, Times Higher Education, and QS websites.

Interested to know how I do it? Visit [here](https://towardsdatascience.com/how-to-build-a-simple-web-crawler-66082fc82470) for more info.

# Installation
Install with pip:

`$ pip install us_news`

# Usage

```Python
import university_ranking_scraper

# usnews, https://www.usnews.com/education/best-global-universities/surgery?region=asia
df = university_ranking_scraper.scrape_usnews('asia', 'surgery')

# timeshighereducation, https://www.timeshighereducation.com/world-university-rankings/2025/subject-ranking/arts-and-humanities
df = university_ranking_scraper.scrape_times('arts-and-humanities')

# qs, https://www.topuniversities.com/university-subject-rankings/linguistics
df = university_ranking_scraper.scrape_qs('linguistics')
```





