Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem Statement: Utilizing the Requests Python package, develop a Python script that queries the catalog's search Webpage of JUST library (http://hip.jopuls.org.jo/web/just) to obtain the available

image text in transcribed
Problem Statement: Utilizing the Requests Python package, develop a Python script that queries the catalog's search Webpage of JUST library (http://hip.jopuls.org.jo/web/just) to obtain the available resources for given search items. The script requirements are as follows: The script accepts as a command line argument the required search items. For exam- ple, the script will be run as in the following examples ./Search.py Python Programming ./Search.py Regular Expressions The script retrieves the library's resources (i.e., books and other materials) whose titles contain all the keywords given on the command line. The program saves the retrieved HTML page in the same current working directory with the name ID-xxxxxx.html, where 'xxxxxx' is your students ID. The program parses the retrieved HTML page, and outputs on the standard output the queried results (i.e., the matched library's resources) as in the following format: Titel: Gray hat Python Python programming for hackers and reverse engineers Author: Seitz, Justin Title: Programming with Python Author: Padmanabhan, TR : If there are more than 10 results, display only the first 10 of them. Problem Statement: Utilizing the Requests Python package, develop a Python script that queries the catalog's search Webpage of JUST library (http://hip.jopuls.org.jo/web/just) to obtain the available resources for given search items. The script requirements are as follows: The script accepts as a command line argument the required search items. For exam- ple, the script will be run as in the following examples ./Search.py Python Programming ./Search.py Regular Expressions The script retrieves the library's resources (i.e., books and other materials) whose titles contain all the keywords given on the command line. The program saves the retrieved HTML page in the same current working directory with the name ID-xxxxxx.html, where 'xxxxxx' is your students ID. The program parses the retrieved HTML page, and outputs on the standard output the queried results (i.e., the matched library's resources) as in the following format: Titel: Gray hat Python Python programming for hackers and reverse engineers Author: Seitz, Justin Title: Programming with Python Author: Padmanabhan, TR : If there are more than 10 results, display only the first 10 of them

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

Write effective questions to survey users about their work.

Answered: 1 week ago

Question

2. List the advantages of listening well

Answered: 1 week ago