by Pratik Dhakal | Dec 6, 2024 | Programming
In the previous parts we completed building the API to list the news items stored in our database, and a scraper to collect news items from two news portals: Setopati and Ekantipur. If your code up to now is not working as expected, you can verify your code against...
by Pratik Dhakal | Dec 4, 2024 | Programming
In the previous part we finished building an API to fetch all news items from a database. In this part we will build a scraper that will extract the link, title and image URL from news portals. We are going to be scraping the title, link and related image of news...
by Pratik Dhakal | Dec 2, 2024 | Programming
You may have come across Google News (https://news.google.com/) and wondered how it works. The basic principle behind the site is that Google crawls the sites they have listed as news sites and grabs the title, link and thumbnail of various news on the sites. Then...