Added a Python web scraper script to scrape blog titles from Python.org and save them to a file.
Description
I created a Python script that uses requests to fetch the HTML content of Python.org's blog page and BeautifulSoup to parse and extract the titles of blog posts. The titles are printed to the console and saved in a text file (blog_titles.txt).
The changes are as follows:
Added a new script named Web_Scraper.py to scrape blog titles from Python.org.
Included usage of requests and BeautifulSoup for web scraping.
Stored the scraped blog titles into a text file.
Checks
in the repository
[x] Made no changes that degrade the functioning of the repository.
[x] Gave each commit a better title (unlike updated README.md).
in the PR
[x] Followed the format of the pull_request_template.
[x] Made the Pull Request at a small level (for the creator's welfare).
PR Title
Added Python Web Scraper Script
Summary
Added a Python web scraper script to scrape blog titles from Python.org and save them to a file.
Description
I created a Python script that uses
requests
to fetch the HTML content of Python.org's blog page andBeautifulSoup
to parse and extract the titles of blog posts. The titles are printed to the console and saved in a text file (blog_titles.txt
).The changes are as follows:
Web_Scraper.py
to scrape blog titles from Python.org.requests
andBeautifulSoup
for web scraping.Checks
in the repository
in the PR
issue no:#278
Thank You,
Charul Chim