{"action":"created","issue":{"url":"https://api.github.com/repos/myano/jenni/issues/174","labels_url":"https://api.github.com/repos/myano/jenni/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/myano/jenni/issues/174/comments","events_url":"https://api.github.com/repos/myano/jenni/issues/174/events","html_url":"https://github.com/myano/jenni/issues/174","id":73845899,"number":174,"title":"Latest YouTube module update broke entire module","user":{"login":"n0ided","id":11996403,"avatar_url":"https://avatars.githubusercontent.com/u/11996403?v=3","gravatar_id":"","url":"https://api.github.com/users/n0ided","html_url":"https://github.com/n0ided","followers_url":"https://api.github.com/users/n0ided/followers","following_url":"https://api.github.com/users/n0ided/following{/other_user}","gists_url":"https://api.github.com/users/n0ided/gists{/gist_id}","starred_url":"https://api.github.com/users/n0ided/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n0ided/subscriptions","organizations_url":"https://api.github.com/users/n0ided/orgs","repos_url":"https://api.github.com/users/n0ided/repos","events_url":"https://api.github.com/users/n0ided/events{/privacy}","received_events_url":"https://api.github.com/users/n0ided/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-07T05:11:45Z","updated_at":"2015-05-11T14:25:47Z","closed_at":null,"body":"Nothing is working, neither the search or the automatic displaying of title video when someone pastes a link.\r\n\r\n[YouTube] Title: https://youtube.com/devicesupport | Uploader: YouTube Help | Uploaded: 2015/04/17, 15:23 | Duration: 3mins 56secs | Views: 5,031,163 | Comments: N/A | Likes: N/A | Dislikes: N/A |\r\n                Link: https://youtu.be/UKY3scPIMd8\r\n\r\nIs all that gets displayed. "},"comment":{"url":"https://api.github.com/repos/myano/jenni/issues/comments/100925144","html_url":"https://github.com/myano/jenni/issues/174#issuecomment-100925144","issue_url":"https://api.github.com/repos/myano/jenni/issues/174","id":100925144,"user":{"login":"Jarada","id":655418,"avatar_url":"https://avatars.githubusercontent.com/u/655418?v=3","gravatar_id":"","url":"https://api.github.com/users/Jarada","html_url":"https://github.com/Jarada","followers_url":"https://api.github.com/users/Jarada/followers","following_url":"https://api.github.com/users/Jarada/following{/other_user}","gists_url":"https://api.github.com/users/Jarada/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarada/subscriptions","organizations_url":"https://api.github.com/users/Jarada/orgs","repos_url":"https://api.github.com/users/Jarada/repos","events_url":"https://api.github.com/users/Jarada/events{/privacy}","received_events_url":"https://api.github.com/users/Jarada/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T14:25:47Z","updated_at":"2015-05-11T14:25:47Z","body":"As far as I can see, the old YouTube module is using v2 of the API, as shown quite clearly here: https://github.com/myano/jenni/blob/2f7027441d3362d42c079cdc2e2a53a26a3f0a14/modules/youtube.py#L199\r\n\r\nHowever, Google have recently removed support for version 2 of this API, as can be seen here: http://youtube-eng.blogspot.co.uk/2015/04/bye-bye-youtube-data-api-v2.html\r\n\r\nThe problem therefore isn't in rate limits, but in the use of the old YT API. We need to switch over to v3 of the API, which requires bot owners to create a Google Developer API Key: https://developers.google.com/api-client-library/python/guide/aaa_apikeys\r\n\r\nI'm in the process of rebuilding the current YouTube module to use this new API, and have got most of the coding working fine again. I will be happy to provide a Pull Request once I'm finished."}}