Question: Please for the exact code determine if their brand name occurs in the news. Using only concepts from lectures 1-11, write a python function that
Please for the exact code

determine if their brand name occurs in the news. Using only concepts from lectures 1-11, write a python function that will take two arguments, (the corporation name, and a news URL) The purpose of the function is to scrape website using BeautifulSoup to determine if the corporation name occurs on the front page. For each time it is found, print the website URL and the ten words preceding and following the corporations name. Submission Drag and drop files here or click to add text. I
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
