Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add feature to save the image source page URL #197

Merged
merged 2 commits into from
Apr 29, 2019

Conversation

cslite
Copy link
Contributor

@cslite cslite commented Dec 19, 2018

Sometimes, the source page URL of the image is desired. So, I have added it as an additional feature. It creates a text file containing list with local path of downloaded image and source page URL of that image.

@hardikvasa
Copy link
Owner

@cslite Thanks for the PR. This is definitely going to be useful. But I see no reason why the local path of the image cannot be added along with extract_metadata flag since the source URL of the image is already present.

Advantages of having local image path in the extract_metadata json file:

  • it is a json file and hence parsing the json object is easier
  • doing that will have much less disk I/O than having to save local paths in a separate file.

I am merging this PR now but we might plan to merge these two features going forward. :)

@hardikvasa hardikvasa merged commit 6da49c8 into hardikvasa:master Apr 29, 2019
SecorD0 pushed a commit to SecorD0/google-images-download that referenced this pull request Dec 2, 2022
* Add feature to save image source page url

* update README
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants