Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Add Image-scrapper script #91

Closed
wants to merge 13 commits into from
Binary file added Scripts/Web_Scrappers/Image_Scrapper/Output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions Scripts/Web_Scrappers/Image_Scrapper/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Images Scraper
tusharnankani marked this conversation as resolved.
Show resolved Hide resolved
#### This script scrapes images from a URL and stores them on your local folder.

# Pre-requisites:
#### Run the following command:
```python
Copy link
Member

@tusharnankani tusharnankani Oct 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be bash instead of python

pip install -r requirements.txt
```
# Instructions to run the script:
#### Run the command:
```python
python Scraper.py
```
# Screenshot(images saved in local folder):
![Output](https://user-images.githubusercontent.com/56406787/94802957-2b6fe380-0406-11eb-9d6a-b62b640c2c8d.png)

# Author Name:
[Rohit Joshi](https://github.com/rohitjoshi6)
5 changes: 5 additions & 0 deletions Scripts/Web_Scrappers/Image_Scrapper/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
requests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add appropriate module version using command

pip freeze list>requirements.txt

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add appropriate module version using command

pip freeze list>requirements.txt

You mean i should add version of the modules used in the requirements.txt file. right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its Showing that there's merge conflict. How can i solve this issue?

bs4
BeautifulSoup
urllib.request
random