Question: Subject :Computer vision OpenCV and Visualization using Bokeh. This contains 6 problem statements. The problem statements are based on hyperlinks from the website, BeautifulSoup, Bokeh,

Subject :Computer vision OpenCV and Visualization using Bokeh.

This contains 6 problem statements. The problem statements are based on hyperlinks from the website, BeautifulSoup, Bokeh, etc.

1.Write program to fetch hyperlinks from any website entered by the user.

2.Write program to download all the videos from youtube.com for Django

from the hyperlink given below.

https://www.youtube.com/playlist?list=PLxxA5z-8B2xk4szCgFmgonNcCboyNneMD

3.Create CSV file with name and hyperlink after fetching it from the web page.

http://bioguide.congress.gov/biosearch/biosearch1.asp

Download the page source and save it in an html file before Scrapping

is performed.

4.From the above stated question, fetch only the hyperlinks.

5.From the above stated question , fetch -names,years,positions,parties,states,congress,and full link.

6.Perform Web Scrapping on the following page.

</p> <p>Page title</p> <p>

This is paragraph

one

This is paragraph

two

i)Read the page using Beautiful Soup and show it in a well -formatted,indented manner

ii)Print the b tag from the page

iii)Print all the tags that start from b

iv)Print text from the tags having title and p by using lists

v)Print text from the tags having title and p by using dictionaries

vi)Print all the tag names present in the page

vii)Print the complete tag that has two, and only two, attributes

viii)Print the tags that have one -character names and no attributes

ix)Print all the tags which have a value of center for align attribute

x)From the XML content ''

print the attributes having name as Alice

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 Programming Questions!