Question: Construct TWO (2) codes for web mining activities based on the instruction bellow: 1) Grab a classs elements from the URL below using BeatifulSoup. https://en.wikipedia.org/wiki/Search_engine

Construct TWO (2) codes for web mining activities based on the instruction bellow: 1) Grab a classs elements from the URL below using BeatifulSoup.

https://en.wikipedia.org/wiki/Search_engine

Step 1: Get the request for the URL link. Step 2: Create a soup from the request. Step 3: Select the (. toctext) for grabbing the elements from the URL. Step 4: Print the element nicely.

2) Picture 1 bellow shows the Yahoo website for weather in Kuantan, Malaysia. Crawl the temperature by inspecting the element for the temperature from the link below using lxml and BeautifulSoup.

https://www.yahoo.com/news/weather/malaysia/kuantan/kuantan-28346898

Printscreen the correct inspect element of the temperature as evidence for the answer.

Construct TWO (2) codes for web mining activities based on the instruction bellow: 1) Grab a classs elements from the URL below using BeatifulSoup.

https://en.wikipedia.org/wiki/Search_engine

Step 1: Get the request for the URL link. Step 2: Create a soup from the request. Step 3: Select the (. toctext) for grabbing the elements from the URL. Step 4: Print the element nicely.

2) Picture 1 bellow shows the Yahoo website for weather in Kuantan, Malaysia. Crawl the temperature by inspecting the element for the temperature from the link below using lxml and BeautifulSoup.

https://www.yahoo.com/news/weather/malaysia/kuantan/kuantan-28346898

Printscreen the correct inspect element of the temperature as evidence for the answer.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!