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

https://github.com/hackersandslackers/beautifulsoup-tutorial

:sparkles: :ramen: Scrape webpage metadata using BeautifulSoup.
https://github.com/hackersandslackers/beautifulsoup-tutorial

beautifulsoup beautifulsoup4 python scraping scraping-websites scripting tutorial

Last synced: 6 months ago
JSON representation

:sparkles: :ramen: Scrape webpage metadata using BeautifulSoup.

Awesome Lists containing this project

README

          

# BeautifulSoup Web Scraping Tutorial

![Python](https://img.shields.io/badge/Python-v^3.10-blue.svg?logo=python&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
![BeautifulSoup](https://img.shields.io/badge/BeautifulSoup4-v4.12.2-blue.svg?longCache=true&logo=python&longCache=true&style=flat-square&logoColor=white&colorB=5e81ac&colorA=4c566a)
![Requests](https://img.shields.io/badge/Requests-v2.31.0-blue.svg?longCache=true&logo=python&longCache=true&style=flat-square&logoColor=white&colorB=5e81ac&colorA=4c566a)
![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square&colorA=4c566a&colorB=a3be8c)
[![GitHub Issues](https://img.shields.io/github/issues/hackersandslackers/beautifulsoup-tutorial.svg?style=flat-square&colorA=4c566a&colorB=ebcb8b&logo=Github)](https://github.com/hackersandslackers/beautifulsoup-tutorial/issues)
[![GitHub Stars](https://img.shields.io/github/stars/hackersandslackers/beautifulsoup-tutorial.svg?style=flat-square&colorB=ebcb8b&colorA=4c566a&logo=Github)](https://github.com/hackersandslackers/beautifulsoup-tutorial/stargazers)
[![GitHub Forks](https://img.shields.io/github/forks/hackersandslackers/beautifulsoup-tutorial.svg?style=flat-square&colorA=4c566a&colorB=ebcb8b&logo=Github)](https://github.com/hackersandslackers/beautifulsoup-tutorial/network)

![Beautifulsoup Tutorial](https://github.com/hackersandslackers/beautifulsoup-tutorial/blob/master/.github/beautifulsoup@2x.jpg?raw=true)

A beginner's tutorial to scraping websites using Python's [BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) library.

This repository is the source code for the tutorial found [here](https://hackersandslackers.com/beautifulsoup-tutorial/).

## Getting Started

Get set up locally in two steps:

### Environment Variables

Replace the value in **.env.example** with your value, and rename this file to **.env**:

* `TARGET_URL`: An HTTP URL to scrape and display metadata from.

### Installation

Get up and running with `make deploy`:

```shell
git clone https://github.com/hackersandslackers/beautifulsoup-tutorial.git
cd beautifulsoup-tutorial
make deploy
```

------------------

**Hackers and Slackers** tutorials are free of charge. If you found this tutorial helpful, a [small donation](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.