Skip to content

Commit cc6dc44

Browse files
committed
ready to merge
1 parent fe09e23 commit cc6dc44

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Image-Scraper/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
The aim of the provided script is to scrape all HTML <img> tags from a given URL.
44

5-
Here is a breakdown of the code:
6-
75
It imports the necessary modules: BeautifulSoup from the bs4 (Beautiful Soup) library for parsing HTML, and requests for making HTTP requests.
86
The code checks the length of the command-line arguments. If the length is not equal to 2 (indicating that a URL was not provided), it exits with an error message.
97
It uses the requests.get() function to make an HTTP GET request to the provided URL. The User-Agent header is set to mimic a web browser to avoid any potential blocking or filtering.

0 commit comments

Comments
 (0)