Skip to content

Code to scrape news articles from the website of the newspaper Times of India

Notifications You must be signed in to change notification settings

azf99/times-of-india-scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

times-of-india-scraping

Code to scrape news articles from the website of the newspaper Times of India

Setup:

pip3 install bs4 tqdm

Steps:

  1. Go to "https://timesofindia.indiatimes.com/" and search for your desired topic.
  2. Then paste the link to that topic in the line 11 of the python code file
  3. run the file using:- python3 code.py
  4. I will take time, depending on the internet connection, and export the articles in CSV file with the format: {'Headlines': headlines, 'Article' : news, 'Published_Dates' : dates, 'Source_URLs' : urls }

About

Code to scrape news articles from the website of the newspaper Times of India

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages