An open API service indexing awesome lists of open source software.

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.

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