https://github.com/ranjithdb/gh-actions-python-05
Python web scraper that extracts the title of a webpage. GitHub Actions workflow runs tests on multiple Python versions. Test results are uploaded as artifacts for review.
https://github.com/ranjithdb/gh-actions-python-05
artifacts bs4 github-actions github-actions-ci python
Last synced: 17 days ago
JSON representation
Python web scraper that extracts the title of a webpage. GitHub Actions workflow runs tests on multiple Python versions. Test results are uploaded as artifacts for review.
- Host: GitHub
- URL: https://github.com/ranjithdb/gh-actions-python-05
- Owner: ranjithdb
- Created: 2025-03-01T05:36:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-01T06:21:40.000Z (over 1 year ago)
- Last Synced: 2025-10-25T12:53:53.602Z (7 months ago)
- Topics: artifacts, bs4, github-actions, github-actions-ci, python
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gh-actions-python-05
## Web Scraper Validator using GitHub Actions
A simple Python web scraper that extracts the title of a webpage. The project includes automated testing using unittest and GitHub Actions to validate functionality.
GitHub Actions workflow runs tests on multiple Python versions.
Test results are uploaded as artifacts for review.
## Setup
Install Dependencies
```sh
pip install -r requirements.txt
```
Run tests
```sh
pytest test_scraper.py
```
Run the Scraper
```sh
python scraper.py
```