This project will use internet on run time. You will provided with URLS of 25 websites in a text file each URL in a separate line. Most of the URLs will be sports specific (dedicated to a particular sport) and some are not. Your program will access the websites and for each URL provide a result saying which URL is specific to which sport and if it is not sport specific the result will say NA. Example input:
#www.icc-cricket.com #www.fifa.com #www.rolandgarros.com #www.yahoo.com #www.lancasterarchery.com #https://twitter.com/fih_hockey #http://hoopshype.com/
Expected Output:
#Cricket #Football #Tennis #NA #Archery #Hockey #Basketball
The links are inside the " new.txt " file . Just run the " pythonScrapperTool.py " script to get the output.
python 2.7 or 3.5
packages to install #bs4 #requests