Giter VIP home page Giter VIP logo

simplejoyart's Introduction

SimpleJoyArt

Download public domain images from the Simple Joy Art spreadsheet

Purpose

The purpose of this project is to download all of the artwork that Simple Joy Art has published in a spreadsheet. Should the images no longer be available online, you will have your own copy to use for viewing as you desire. Having a local copy is faster to access than accessing through the URLs/links. Once downloaded, the images can be used for any number of purposes, such as:

  • ๐Ÿ’ป computer backgrounds/wallpaper
  • ๐Ÿ“บ viewing on a television or other visual appliance
  • ๐Ÿ‘ฉโ€๐Ÿ’ป website

These images are not categorized for the Libraries of Hope monthly rotations. That would be an new set of scripts to do capture the monthly rotations.

as of March 8 2024

  • script on linux: simplejoyart-download.sh
  • script on windows: simplejoyart-download.ps1
  • 924 images
  • 5.2 GB

  • ๐Ÿ“˜ Running the script will create the directory, specified near the top of the script.
  • ๐Ÿ“™ When running each file will display as Downloaded or Failed
  • ๐Ÿ““ Failed downloads are added to the failures log file, specified near the top of the script.
  • ๐Ÿ“• Failed downloads will be for multiple reasons. There will be many failures with unknown causes. Legitimate failures are when the URL is no longer valid - renamed, removed, misspelled.
  • ๐Ÿ“” Try downloading the list of failed files again. To do so,
    1. copy the list of failed downloads from the failures log file
    2. replace the list of URLs in the script with the copied list
    3. delete the failure log (or rename it) so you do not append the next iteration of failures to the existing list
    4. rerun the script

Linux

(multiple successes, 1 failure) Screenshot from 2024-03-08 14-32-41

Windows

(multiple successes, 1 failure) Screenshot 2024-03-11 120802


Using the scripts

Linux

  1. download simplejoyart-download.sh
  2. (from command line) change to the directory where you have saved the script example cd /home/fancy/scripts
  3. edit the script by changing download_dir="/DIRECTORY/STRUCTURE/HERE/SimpleJoyArt" to your desired location. example: download_dir="/home/wom bat/Pictures/SimpleJoyArt"
  4. save and close the script
  5. make the script executable
chmod +x simplejoyart-download.sh
  1. execute the script
./simplejoyart-download.sh

The SimpleJoyArt directory is created and the images are downloaded into this directory. Some files fail to download for unknown reasons. It is possible for some links to image files to no longer be valid. This type of failure will always fail as the link is not a valid link. As you end up with repeatedly failures, manually check some of the URLs to see if they still work by copying the image link and pasting it into a web browser.

  1. Open the failures log file within the SimpleJoyArt directory (the name is specified in the script)
  2. Copy the contents of the failures log file
  3. edit the script by replacing all of the image links with the contents copied from the failures log file.
  4. save and close the script
  5. delete the failures log file
  6. run the script again
  7. repeat steps 7-12 until all files have downloaded

Windows

  1. download simplejoyart-download.ps1
  2. edit the script by changing $download_dir = "C:\DIRECTORY\STRUCTURE\HERE\SimpleJoyArt" to your desired location. example: $download_dir = "C:\Users\wom bat\Pictures\SimpleJoyArt"
  3. save and close the script
  4. open Powershell from the start menu (press the start button and start typing the name. when you see Powershell, right-click on it and select Run as Administrator)
  5. (from powershell command line) change to the directory where you have saved the script. example cd "C:\Users\wom bat\scripts" (enclosing the directory structure in quotes is required if there are any spaces in the directory string)
  6. run the script
PowerShell.exe -ExecutionPolicy Bypass -File .\simplejoyart-download.ps1

The SimpleJoyArt directory is created and the images are downloaded into this directory. Some files fail to download for unknown reasons. It is possible for some links to image files to no longer be valid. This type of failure will always fail as the link is not a valid link. As you end up with repeatedly failures, manually check some of the URLs to see if they still work by copying the image link and pasting it into a web browser.

  1. Open the failures log file within the SimpleJoyArt directory (the name is specified in the script)
  2. Copy the contents of the failures log file
  3. edit the script by replacing all of the image links with the contents copied from the failures log file.
  4. save and close the script
  5. delete the failures log file
  6. run the script again
  7. repeat steps 7-12 until all files have downloaded

simplejoyart's People

Contributors

chansizzle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.