Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise: I would like to view all webpage links in the text file to make sure that none of weblinks look suspicious. 1. In addition

image text in transcribed

Exercise: I would like to view all webpage links in the text file to make sure that none of weblinks look suspicious. 1. In addition to printing the results to the screen, save the results in a dictionary named "dictionaryOfHyperLinks" 2. Capture (keep) only unique weblinks. I would like to know how many times a specific link showed up in the file. 3. Weblinks (aka HyperLinks) start with the word/characters http 4. You should only keep the weblink portion so if there are "(" or ")" in the link those characters should be removed. 5. Print the weblinks and the frequency of the weblinks that I am need to review (count them) There are 41 links below. Assume that " " (spaces) are not allowed in the weblink. List of Weblinks in the file: http: / /source. sakaiproject. org/viewsvn/?view =rev&rev=39772 https: / collab. sakaiproject.org/portal http: / /source. sakaiproject. org/viewsvn/?view=rev &rev=39771 http: //source. sakaiproject. org/viewsvn/?view =rev&rev=39770 https: //source. sakaiproject.org/svn/site-manage/trunk/ http: //source. sakaiproject. org/viewsvn/?view=rev &rev=39769 http: //source. sakaiproject. org/viewsvn/?view =rev&rev=39766 http: //source. sakaiproject. org/viewsvn/?view =rev&rev=39765 http: //source. sakaiproject. org/viewsvn/?view =rev&rev=39764 https: //source. sakaiproject.org/svn/msgcntr/trunk http: / j ira. sakaiproject. org/ j ira/browse/SAK-12488 http: //source. sakaiproject. org/viewsvn/?view =rev&rev=39763 http: / j ira. sakaiproject. org/ j ira/browse/SAK-12484 http: //source. sakaiproject. org/viewsvn/?view=rev\&rev=39762 http: / /bugs. sakaiproject. org/ j ira/browse/SAK-12596 http: //source. sakaiproject. org/viewsvn/?view=rev &rev=39761 http: / /bugs. sakaiproject. org/ j ira/browse/SAK-12595 http: //source. sakaiproject. org/viewsvn/?view =rev&rev=39760 http://source. sakaiproject. org/viewsvn/?view=rev\&rev=39759

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

Explain how SIHRM is linked to different global business strategies

Answered: 1 week ago