You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,8 @@ More information on contributing and the general code of conduct for discussion
122
122
| Weather GUI |[Weather GUI](https://github.com/DhanushNehru/Python-Scripts/tree/master/Weather%20GUI)| Displays information on the weather. |
123
123
| Website Blocker |[Website Blocker](https://github.com/DhanushNehru/Python-Scripts/tree/master/Website%20Blocker)| Downloads the website and loads it on your homepage in your local IP. |
124
124
| Website Cloner |[Website Cloner](https://github.com/DhanushNehru/Python-Scripts/tree/master/Website%20Cloner)| Clones any website and opens the site in your local IP. |
125
+
| Web Scraper |[Web Scraper](https://github.com/Charul00/Python-Scripts/tree/main/Web%20Scraper)| A Python script that scrapes blog titles from Python.org and saves them to a file. |
126
+
125
127
| Weight Converter |[Weight Converter](https://github.com/WatashiwaSid/Python-Scripts/tree/master/Weight%20Converter)| Simple GUI script to convert weight in different measurement units. |
126
128
| Wikipedia Data Extractor |[Wikipedia Data Extractor](https://github.com/DhanushNehru/Python-Scripts/tree/master/Wikipedia%20Data%20Extractor)| A simple Wikipedia data extractor script to get output in your IDE. |
127
129
| Word to PDF |[Word to PDF](https://github.com/DhanushNehru/Python-Scripts/tree/master/Word%20to%20PDF%20converter)| A Python script to convert an MS Word file to a PDF file. |
In this script, we use the `requests` library to send a GET request to the Python.org blogs page. We then use the `BeautifulSoup` library to parse the HTML content of the page.
2
+
3
+
We find all the blog titles on the page by searching for `h2` elements with the class `blog-title`. We then print each title found and save them to a file named `blog_titles.txt`.
4
+
5
+
To run this script, first install the required libraries:
0 commit comments