Community
1
Scraping (Day 96_100Days)This Python code scrapes the website "https://news.ycombinator.com/" using the requests library and then parses the HTML content using BeautifulSoup. It then searches for specific words in the titles of the articles on the website. If a title contains any of the predefined words (like "Python", "replit", "AI", etc.), it adds the title to a list and prints it along with the corresponding link. This is a simple web scraping and data filtering script that searches for specific words in the titles of articles on the given website and displays the titles with their corresponding links.
0
1