Skip to main content

A simple image scraper to download all images from a given url

Project description

ImageScraper
============
First python app :D
A simple python script which downloads all images in the given webpage.


Download
--------
tar file:
Grab the latest build using https://pypi.python.org/pypi/ImageScraper

pip install:
$pip install ImageScraper


Usage
-----
Using the tar file:

Extract the contents of the tar file.
Note that ``ImageScraper`` depends on ``lxml``. and ``requests``.
If you run into problems in the compilation of ``lxml`` through ``pip``, install the ``libxml2-dev`` and ``libxslt-dev`` packages on your system.


$cd ImageScraper/image_scraper/
$python __init__.py
$ Enter URL to scrap: https://github.com
$ Found 6 images:
$ How many images to you want ? : 6
$ Done.

If installed using pip:

Open python in terminal.

$python
>>>import image_scraper
Enter URL to scrap: https://github.com
Found 6 images:
How many images to you want ? : 6
Done.

A new folder called "images" will be created in the same place, containing all the downloaded images.

Todo
----
Create and run tests on travis-ci.org

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ImageScraper-1.0.2.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file ImageScraper-1.0.2.tar.gz.

File metadata

  • Download URL: ImageScraper-1.0.2.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ImageScraper-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e0513e77590298fd2aeca6b230d54ce4a0099c6065ad710952ddb3b56ff7e0c2
MD5 7c07dad3b3c5ba7bda546f24d19d07f0
BLAKE2b-256 e755001caccc2c3fb8c47933cd1c84448bf4947a7c74550c62ab6d39033f2962

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page