{"action":"created","issue":{"url":"https://api.github.com/repos/macearl/Wallhaven-Downloader/issues/15","repository_url":"https://api.github.com/repos/macearl/Wallhaven-Downloader","labels_url":"https://api.github.com/repos/macearl/Wallhaven-Downloader/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/macearl/Wallhaven-Downloader/issues/15/comments","events_url":"https://api.github.com/repos/macearl/Wallhaven-Downloader/issues/15/events","html_url":"https://github.com/macearl/Wallhaven-Downloader/issues/15","id":178542210,"number":15,"title":"Some Location Automation.","user":{"login":"Timelord83","id":2498988,"avatar_url":"https://avatars.githubusercontent.com/u/2498988?v=3","gravatar_id":"","url":"https://api.github.com/users/Timelord83","html_url":"https://github.com/Timelord83","followers_url":"https://api.github.com/users/Timelord83/followers","following_url":"https://api.github.com/users/Timelord83/following{/other_user}","gists_url":"https://api.github.com/users/Timelord83/gists{/gist_id}","starred_url":"https://api.github.com/users/Timelord83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timelord83/subscriptions","organizations_url":"https://api.github.com/users/Timelord83/orgs","repos_url":"https://api.github.com/users/Timelord83/repos","events_url":"https://api.github.com/users/Timelord83/events{/privacy}","received_events_url":"https://api.github.com/users/Timelord83/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-22T07:37:38Z","updated_at":"2016-09-23T03:15:55Z","closed_at":null,"body":"Not sure you'd want to do this for the whole script but I'd love to be able to execute the script with the  -q \"Mustang\" and have it use all the defaults I've entered from the script but instead of the location being hard set to \r\n\r\n/home/timelord83/desktop/WallRips/ \r\n\r\nand every search term downloading to that one folder.. I'd like to automatically add the term to the end of the location. So the wallpapers would be stored in \r\n\r\n/home/timelord83/Desktop/WallRips/Mustang/ \r\n\r\nbut the only var I entered into the execute command was ./wallhaven.sh -q \"Mustang\". I looked into the file and I if you'd be willing I'd love a hand with the modifications for my personal use if you deem the change to arbitrary for mainstream use. I realize the script can be executed with the -l and the whole path re-typed but I trying to avoid fat fingering the location by reducing the chance of user error by having the script automatically add the searched term to the end of the path since it already checks for the folder before starting it would then create it."},"comment":{"url":"https://api.github.com/repos/macearl/Wallhaven-Downloader/issues/comments/249092130","html_url":"https://github.com/macearl/Wallhaven-Downloader/issues/15#issuecomment-249092130","issue_url":"https://api.github.com/repos/macearl/Wallhaven-Downloader/issues/15","id":249092130,"user":{"login":"Timelord83","id":2498988,"avatar_url":"https://avatars.githubusercontent.com/u/2498988?v=3","gravatar_id":"","url":"https://api.github.com/users/Timelord83","html_url":"https://github.com/Timelord83","followers_url":"https://api.github.com/users/Timelord83/followers","following_url":"https://api.github.com/users/Timelord83/following{/other_user}","gists_url":"https://api.github.com/users/Timelord83/gists{/gist_id}","starred_url":"https://api.github.com/users/Timelord83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timelord83/subscriptions","organizations_url":"https://api.github.com/users/Timelord83/orgs","repos_url":"https://api.github.com/users/Timelord83/repos","events_url":"https://api.github.com/users/Timelord83/events{/privacy}","received_events_url":"https://api.github.com/users/Timelord83/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T03:15:55Z","updated_at":"2016-09-23T03:15:55Z","body":"I am using Ubuntu 16.04.01 LTS @macearl I am looking just add the search term to the location value.. Its late so maybe I am not understanding your method but it seems like its modifying the search term as well?\r\n\r\n @doctorfree yes that is exactly what i was looking for in the main script.. that it treats the main download folder as a global.. then adds the search query to the end and if id doesn't exist.. creates it."}}
{"actor":{"display_login":"Timelord83"}}