Last active
July 6, 2016 12:56
-
-
Save frantzmiccoli/d5fbf515239351dd904f to your computer and use it in GitHub Desktop.
Looking at creative commons pictures and tired of switching doing the same things to test all licenses and all sites? This small script is for you. It looks on 500px, Flickr and many cool other ones
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# Usage: 'imgccsearch "beautiful pictures"' | |
term=$1 | |
open "https://500px.com/search?q=$term&type=photos&ccLicense=by&sort=relevance" | |
open "https://500px.com/search?q=$term&type=photos&ccLicense=by-nc&sort=relevance" | |
open "https://500px.com/search?q=$term&type=photos&ccLicense=by-sa&sort=relevance" | |
open "https://500px.com/search?q=$term&type=photos&ccLicense=by-nd&sort=relevance" | |
open "https://500px.com/search?q=$term&type=photos&ccLicense=by-nc-sa&sort=relevance" | |
open "https://500px.com/search?q=$term&type=photos&ccLicense=by-nc-nd&sort=relevance" | |
open "http://finda.photo/search?q=$term" | |
open "http://librestock.com/search/?query=$term" | |
open "https://www.pexels.com/search/$term/" | |
open "https://www.flickr.com/search?sort=relevance&license=1%2C2%2C3%2C4%2C5%2C6&text=$term" | |
open "https://www.google.com/search?site=imghp&tbm=isch&q=$term&tbs=sur:fmc" | |
open "http://pixabay.com/en/photos/?q=$term" | |
open "http://commons.wikimedia.org/w/index.php?title=Special%3ASearch&redirs=0&search=$term&fulltext=Search&ns0=1&ns6=1&ns14=1&title=Special%3ASearch&advanced=1&fulltext=Advanced+search" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment