Skip to content

Commit

Permalink
doc changes required as per #110, #120, #130, #132, #73
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasa committed Aug 18, 2018
1 parent a7d7d1b commit c819700
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
20 changes: 11 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Arguments
| | | |
| | | This argument does not take any value. Just add '--metadata' or '-m' in your query. |
+-------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------+
| extract_metadata | e | This option allows you to save metadata of all the downloaded images in a text file. |
| extract_metadata | e | This option allows you to save metadata of all the downloaded images in a JSON file. |
| | | |
| | | This file can be found in the ``logs/`` directory. The name of the file would be same as the keyword nam |
| | | |
Expand Down Expand Up @@ -278,7 +278,7 @@ Arguments
+-------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------+
| chromedriver | cd | With this argument you can pass the path to the 'chromedriver'. |
| | | |
| | | The path looks like this: "path/to/chromedriver". In windows it will be "path/to/chromedriver.exe" |
| | | The path looks like this: "path/to/chromedriver". In windows it will be "C:\\path\\to\\chromedriver.exe" |
+-------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------+
| safe_search | sa | Searches for images with the Safe Search filter On |
| | | |
Expand Down Expand Up @@ -454,13 +454,13 @@ Examples
Troubleshooting
===============

**## SSL Errors**
**#~~~# SSL Errors**

If you do see SSL errors on Mac for Python 3,
please go to Finder —> Applications —> Python 3 —> Click on the ‘Install Certificates.command’
and run the file.

**## googleimagesdownload: command not found**
**#~~~# googleimagesdownload: command not found**

While using the above commands, if you get ``Error: -bash: googleimagesdownload: command not found`` then you have to set the correct path variable.

Expand All @@ -485,12 +485,12 @@ together they make: ``/Library/Frameworks/Python.framework/Versions/2.7/bin`` wh
$ export PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin"
**## [Errno 13] Permission denied creating directory 'downloads'**
**#~~~# [Errno 13] Permission denied creating directory 'downloads'**

When you run the command, it downloads the images in the current directory (the directory from where you are running the command). If you get permission denied error for creating the `downloads directory`, then move to a directory in which you have the write permission and then run the command again.


**## Permission denied while installing the library**
**#~~~# Permission denied while installing the library**

On MAC and Linux, when you get permission denied when installing the library using pip, try doing a user install.

Expand All @@ -501,11 +501,11 @@ On MAC and Linux, when you get permission denied when installing the library usi
You can also run pip install as a superuser with ``sudo pip install google_images_download`` but it is not generally a good idea because it can cause issues with your system-level packages.


**## Installing the chromedriver (with Selenium)**
**#~~~# Installing the chromedriver (with Selenium)**

If you would want to download more than 100 images per keyword, then you will need to install 'selenium' along with 'chromedriver'.
If you would want to download more than 100 images per keyword, then you will need to install 'selenium' library along with 'chromedriver' extension.

If you have pip installed the library or run the setup.py file, Selenium would have automatically installed on your machine. You will also need Chrome browser on your machine. For chromedriver:
If you have pip-installed the library or had run the setup.py file, Selenium would have automatically installed on your machine. You will also need Chrome browser on your machine. For chromedriver:

`Download the correct chromedriver <https://sites.google.com/a/chromium.org/chromedriver/downloads>`__ based on your operating system.

Expand All @@ -521,6 +521,8 @@ or `Ubuntu Guide <https://askubuntu.com/questions/510056/how-to-install-google-c
For **All the operating systems** you will have to use '--chromedriver' or '-cd' argument to specify the path of
chromedriver that you have downloaded in your machine.

If on any rare occasion the chromedriver does not work for you, try downgrading it to a lower version.

Structure
=========

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from codecs import open
from os import path

__version__ = '2.4.0'
__version__ = '2.4.1'

here = path.abspath(path.dirname(__file__))

Expand Down

0 comments on commit c819700

Please sign in to comment.