skip to navigation
skip to content

Not Logged In

ImageScraper 1.0.4

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

Latest Version: 2.0.5

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 do 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 do you want ? : 6
Done.


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

Issues
------

Q.)All images were not downloaded?
It could be that the content was injected into the page via javascript and this scraper doesn't run javascript.


Todo
----
Scraping sites which inject image tags via javascript using PhantomJS or Selenium.

 
File Type Py Version Uploaded on Size
ImageScraper-1.0.4.tar.gz (md5) Source 2014-05-31 1KB
  • Downloads (All Versions):
  • 25 downloads in the last day
  • 244 downloads in the last week
  • 295 downloads in the last month