{"action":"created","issue":{"url":"https://api.github.com/repos/Chobbes/org-chef/issues/14","repository_url":"https://api.github.com/repos/Chobbes/org-chef","labels_url":"https://api.github.com/repos/Chobbes/org-chef/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/Chobbes/org-chef/issues/14/comments","events_url":"https://api.github.com/repos/Chobbes/org-chef/issues/14/events","html_url":"https://github.com/Chobbes/org-chef/issues/14","id":339085748,"node_id":"MDU6SXNzdWUzMzkwODU3NDg=","number":14,"title":"Errors with Recipes Pulled from BudgetBytes.com","user":{"login":"coltoneakins","id":16803020,"node_id":"MDQ6VXNlcjE2ODAzMDIw","avatar_url":"https://avatars0.githubusercontent.com/u/16803020?v=4","gravatar_id":"","url":"https://api.github.com/users/coltoneakins","html_url":"https://github.com/coltoneakins","followers_url":"https://api.github.com/users/coltoneakins/followers","following_url":"https://api.github.com/users/coltoneakins/following{/other_user}","gists_url":"https://api.github.com/users/coltoneakins/gists{/gist_id}","starred_url":"https://api.github.com/users/coltoneakins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coltoneakins/subscriptions","organizations_url":"https://api.github.com/users/coltoneakins/orgs","repos_url":"https://api.github.com/users/coltoneakins/repos","events_url":"https://api.github.com/users/coltoneakins/events{/privacy}","received_events_url":"https://api.github.com/users/coltoneakins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-06T22:16:36Z","updated_at":"2018-07-07T01:36:55Z","closed_at":null,"author_association":"NONE","body":"**Description:**\r\nThis issue is two-fold.\r\n\r\nUsing the org-capture-template given yields the following error when providing any URL from BudgetBytes.com:\r\n\r\n`org-capture: Capture template ‘c’: Template is not a valid Org entry or tree`\r\n\r\nHowever, this error does not appear for recipes from other popular sites such as AllRecipes.com (I used the http://allrecipes.com/recipe/85452/homemade-black-bean-veggie-burgers/ in this project's README.md to test this).\r\n\r\nAlso, as an alternative to using the capture template, the function `org-chef-insert-recipe` _does_ work but it fails to grab the 'Directions' / instructions for the recipe.\r\n\r\n**Steps to Reproduce:**\r\n**Issue 1: Error with the Org Capture Template**\r\n\r\n1. Set up your org-capture-templates. Here are mine. Basically, the same as the sample given in this project's README.md\r\n\r\n```\r\n(setq org-capture-templates\r\n        '(\r\n          (\"p\" \"Protocol\" entry (file+olp \"/home/ceakins/gdrive/Notes/botbot.org\" \"Python OOP\" \"Resources\")\r\n                   \"* %?[[%:link][%:description]] %U\\n%i\\n\" :prepend t)\r\n          (\"L\" \"Protocol Link\" entry (file+olp \"/home/ceakins/gdrive/Notes/botbot.org\" \"Python OOP\" \"Resources\")\r\n           \"* %?[[%:link][%:description]] %U\\n\" :prepend t)\r\n          (\"c\" \"Cookbook\" entry (file  \"/home/ceakins/gdrive/Notes/cookbook.org\")\r\n           \"%(org-chef-get-recipe-from-url)\")\r\n          ))\r\n```\r\n2. Use org-capture.\r\n3. Supply any URL from BudgetBytes.com (for example, https://www.budgetbytes.com/homemade-crepes/).\r\n4. The template cannot be inserted into the org file. Error:\r\n`org-capture: Capture template ‘c’: Template is not a valid Org entry or tree`\r\n\r\n**Issue 2: Error with the function `org-chef-insert-recipe`**\r\n1. Open any org file.\r\n2. Use org-chef-insert-recipe`.\r\n3. Supply a URL from BudgetBytes.com.\r\n4. Notice that the 'Directions' for the recipe are not pulled.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Chobbes/org-chef/issues/comments/403179933","html_url":"https://github.com/Chobbes/org-chef/issues/14#issuecomment-403179933","issue_url":"https://api.github.com/repos/Chobbes/org-chef/issues/14","id":403179933,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzE3OTkzMw==","user":{"login":"Chobbes","id":5215874,"node_id":"MDQ6VXNlcjUyMTU4NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5215874?v=4","gravatar_id":"","url":"https://api.github.com/users/Chobbes","html_url":"https://github.com/Chobbes","followers_url":"https://api.github.com/users/Chobbes/followers","following_url":"https://api.github.com/users/Chobbes/following{/other_user}","gists_url":"https://api.github.com/users/Chobbes/gists{/gist_id}","starred_url":"https://api.github.com/users/Chobbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chobbes/subscriptions","organizations_url":"https://api.github.com/users/Chobbes/orgs","repos_url":"https://api.github.com/users/Chobbes/repos","events_url":"https://api.github.com/users/Chobbes/events{/privacy}","received_events_url":"https://api.github.com/users/Chobbes/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T01:36:55Z","updated_at":"2018-07-07T01:36:55Z","author_association":"OWNER","body":"Hi there! Thanks for reporting this issue. I believe it should work now,  I have just pushed a fix. Please let me know if you have further problems, or if it is solved for you."}}
{"actor":{"display_login":"Chobbes"}}