{"action":"closed","issue":{"url":"https://api.github.com/repos/genzj/ubuntu-ng-wallpaper/issues/1","repository_url":"https://api.github.com/repos/genzj/ubuntu-ng-wallpaper","labels_url":"https://api.github.com/repos/genzj/ubuntu-ng-wallpaper/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/genzj/ubuntu-ng-wallpaper/issues/1/comments","events_url":"https://api.github.com/repos/genzj/ubuntu-ng-wallpaper/issues/1/events","html_url":"https://github.com/genzj/ubuntu-ng-wallpaper/issues/1","id":119169385,"number":1,"title":"Change of the website","user":{"login":"Rafnuss","id":7571260,"avatar_url":"https://avatars.githubusercontent.com/u/7571260?v=3","gravatar_id":"","url":"https://api.github.com/users/Rafnuss","html_url":"https://github.com/Rafnuss","followers_url":"https://api.github.com/users/Rafnuss/followers","following_url":"https://api.github.com/users/Rafnuss/following{/other_user}","gists_url":"https://api.github.com/users/Rafnuss/gists{/gist_id}","starred_url":"https://api.github.com/users/Rafnuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rafnuss/subscriptions","organizations_url":"https://api.github.com/users/Rafnuss/orgs","repos_url":"https://api.github.com/users/Rafnuss/repos","events_url":"https://api.github.com/users/Rafnuss/events{/privacy}","received_events_url":"https://api.github.com/users/Rafnuss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2015-11-27T10:10:00Z","updated_at":"2016-07-16T07:51:21Z","closed_at":"2016-07-16T07:51:21Z","body":"Hi,\r\nIt seems the website has change... there is no <i>Download Wallpaper</i> in the page. I tried some changes unsuccessfully ! Is seems we change to go through another page to get the image.\r\n\r\nHere is what I've done : \r\n\r\n    download_tool=\"wget\" # \"culr\" does not work for me...\r\n    trait_regex_link='<a[^>]*>\\s*Download[^<]*</a>'\r\n    trait_regex='<a[^>]*>\\s*Desktop[^<]*</a>'\r\n\r\nLater one:\r\n\r\n    link_url=$($download_tool \"$photo_page\" --quiet -O- 2> /dev/null | grep -oi \"$trait_regex_link\" | sed -ne '/.*href=\"\\([^\"]\\+\\)\".*/s//\\1/p')\r\n    photo_url=`$download_tool \"$link_url\" --quiet -O- 2> /dev/null | grep -oi \"$trait_regex\" | sed -ne '/.*href=\"\\([^\"]\\+\\)\".*/s//\\1/p'`\r\n\r\nBut it cannot find the \"Destop\" link... only javascript code. Is there a way to load the page before wget ?\r\n\r\nBtw, thanks for the code ! It's a cool idea !"}}
{"actor":{"display_login":"genzj"}}