{"action":"created","issue":{"url":"https://api.github.com/repos/autopkg/hansen-m-recipes/issues/13","repository_url":"https://api.github.com/repos/autopkg/hansen-m-recipes","labels_url":"https://api.github.com/repos/autopkg/hansen-m-recipes/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/autopkg/hansen-m-recipes/issues/13/comments","events_url":"https://api.github.com/repos/autopkg/hansen-m-recipes/issues/13/events","html_url":"https://github.com/autopkg/hansen-m-recipes/issues/13","id":97997006,"number":13,"title":"Kindle download recipe not parsing URL","user":{"login":"aysiu","id":13055957,"avatar_url":"https://avatars.githubusercontent.com/u/13055957?v=3","gravatar_id":"","url":"https://api.github.com/users/aysiu","html_url":"https://github.com/aysiu","followers_url":"https://api.github.com/users/aysiu/followers","following_url":"https://api.github.com/users/aysiu/following{/other_user}","gists_url":"https://api.github.com/users/aysiu/gists{/gist_id}","starred_url":"https://api.github.com/users/aysiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aysiu/subscriptions","organizations_url":"https://api.github.com/users/aysiu/orgs","repos_url":"https://api.github.com/users/aysiu/repos","events_url":"https://api.github.com/users/aysiu/events{/privacy}","received_events_url":"https://api.github.com/users/aysiu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-29T18:12:01Z","updated_at":"2016-04-21T15:21:10Z","closed_at":"2016-04-21T15:21:10Z","body":"I suspect it has to do with the 301 permanent redirect. The recipe now gives this error:\r\n\r\nProcessing Kindle.download...\r\n\r\nURLTextSearcher\r\n\r\nNo match found on URL: http://www.amazon.com/gp/kindle/mac/download\r\n\r\nFailed.\r\n\r\nReceipt written to /Users/admin/Library/AutoPkg/Cache/com.github.hansen-m.download.Kindle/receipts/Kindle-receipt-20150729-095146.plist\r\n\r\n\r\n\r\nThe following recipes failed:\r\n\r\n    Kindle.download\r\n\r\n        Error in com.github.hansen-m.download.Kindle: Processor: URLTextSearcher: Error: No match found on URL: http://www.amazon.com/gp/kindle/mac/download\r\n\r\n\r\n\r\nNothing downloaded, packaged or imported.\r\n"},"comment":{"url":"https://api.github.com/repos/autopkg/hansen-m-recipes/issues/comments/212969449","html_url":"https://github.com/autopkg/hansen-m-recipes/issues/13#issuecomment-212969449","issue_url":"https://api.github.com/repos/autopkg/hansen-m-recipes/issues/13","id":212969449,"user":{"login":"hansen-m","id":1102305,"avatar_url":"https://avatars.githubusercontent.com/u/1102305?v=3","gravatar_id":"","url":"https://api.github.com/users/hansen-m","html_url":"https://github.com/hansen-m","followers_url":"https://api.github.com/users/hansen-m/followers","following_url":"https://api.github.com/users/hansen-m/following{/other_user}","gists_url":"https://api.github.com/users/hansen-m/gists{/gist_id}","starred_url":"https://api.github.com/users/hansen-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansen-m/subscriptions","organizations_url":"https://api.github.com/users/hansen-m/orgs","repos_url":"https://api.github.com/users/hansen-m/repos","events_url":"https://api.github.com/users/hansen-m/events{/privacy}","received_events_url":"https://api.github.com/users/hansen-m/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T15:21:09Z","updated_at":"2016-04-21T15:21:09Z","body":"Thanks, in my testing it seems like it is able to follow the 301 redirect without having the scrape the page. Not sure if this works in older versions of autopkg so I've bumped the MinimumVersion requirement just in case. \r\n\r\nhttps://github.com/autopkg/hansen-m-recipes/commit/911ae39375db91efd5b6313f871dad00adde84e7"}}