{"action":"opened","issue":{"url":"https://api.github.com/repos/ysim/songtext/issues/30","repository_url":"https://api.github.com/repos/ysim/songtext","labels_url":"https://api.github.com/repos/ysim/songtext/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/ysim/songtext/issues/30/comments","events_url":"https://api.github.com/repos/ysim/songtext/issues/30/events","html_url":"https://github.com/ysim/songtext/issues/30","id":175111568,"number":30,"title":"Trying to return lyrics for a song with full lyrics unavailable raises unhandled IndexError (LYRICSnMUSIC api)","user":{"login":"ysim","id":1258564,"avatar_url":"https://avatars.githubusercontent.com/u/1258564?v=3","gravatar_id":"","url":"https://api.github.com/users/ysim","html_url":"https://github.com/ysim","followers_url":"https://api.github.com/users/ysim/followers","following_url":"https://api.github.com/users/ysim/following{/other_user}","gists_url":"https://api.github.com/users/ysim/gists{/gist_id}","starred_url":"https://api.github.com/users/ysim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ysim/subscriptions","organizations_url":"https://api.github.com/users/ysim/orgs","repos_url":"https://api.github.com/users/ysim/repos","events_url":"https://api.github.com/users/ysim/events{/privacy}","received_events_url":"https://api.github.com/users/ysim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ysim/songtext/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ysim","id":1258564,"avatar_url":"https://avatars.githubusercontent.com/u/1258564?v=3","gravatar_id":"","url":"https://api.github.com/users/ysim","html_url":"https://github.com/ysim","followers_url":"https://api.github.com/users/ysim/followers","following_url":"https://api.github.com/users/ysim/following{/other_user}","gists_url":"https://api.github.com/users/ysim/gists{/gist_id}","starred_url":"https://api.github.com/users/ysim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ysim/subscriptions","organizations_url":"https://api.github.com/users/ysim/orgs","repos_url":"https://api.github.com/users/ysim/repos","events_url":"https://api.github.com/users/ysim/events{/privacy}","received_events_url":"https://api.github.com/users/ysim/received_events","type":"User","site_admin":false},"assignees":[{"login":"ysim","id":1258564,"avatar_url":"https://avatars.githubusercontent.com/u/1258564?v=3","gravatar_id":"","url":"https://api.github.com/users/ysim","html_url":"https://github.com/ysim","followers_url":"https://api.github.com/users/ysim/followers","following_url":"https://api.github.com/users/ysim/following{/other_user}","gists_url":"https://api.github.com/users/ysim/gists{/gist_id}","starred_url":"https://api.github.com/users/ysim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ysim/subscriptions","organizations_url":"https://api.github.com/users/ysim/orgs","repos_url":"https://api.github.com/users/ysim/repos","events_url":"https://api.github.com/users/ysim/events{/privacy}","received_events_url":"https://api.github.com/users/ysim/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-09-05T17:56:30Z","updated_at":"2016-09-05T17:56:30Z","closed_at":null,"body":"```\r\n$ songtext --api lyricsnmusic -t 'the point of no return' -l\r\n\r\n40 track(s) matched your search query.\r\n\r\n\r\nDisplaying the top 10 matches:\r\n\r\n  0. : The Point of No Return\r\n     (\"Passarino - go away!\"...)\r\n  1. Geto Boys: Point of No Return\r\n     (\"Intro:\"...)\r\n  2. Electric Light Orchestra: Point of No Return [#] (full lyrics unavailable)\r\n  3. Duran Duran: Point of No Return\r\n     (\"The random aspects of our lives\"...)\r\n  4. Andrew Lloyd Webber: Point of No Return\r\n     (\"You have come here\"...)\r\n  5. Buzzcocks: Point of No Return\r\n     (\"If I could discover\"...)\r\n  6. Andrew Lloyd Webber and London Symphony Orchestra: The point of no return\r\n     (\"You have come here\"...)\r\n  7. Status Quo: Point of No Return (full lyrics unavailable)\r\n  8. Paul Weller: Whole Point of No Return\r\n     (\"The Lords and Ladies pass a ruling.\"...)\r\n  9. Napalm Death: Point of No Return\r\n     (\"Systematic rape of nature\"...)\r\n\r\nysim:~$ songtext --api lyricsnmusic -t 'the point of no return' -i 2\r\n\r\n40 track(s) matched your search query.\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/songtext\", line 9, in <module>\r\n    load_entry_point('songtext==0.1.5', 'console_scripts', 'songtext')()\r\n  File \"/usr/local/lib/python2.7/site-packages/libsongtext/songtext.py\", line 48, in main\r\n    cli()\r\n  File \"/usr/local/lib/python2.7/site-packages/click/core.py\", line 716, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/click/core.py\", line 696, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/usr/local/lib/python2.7/site-packages/click/core.py\", line 889, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/usr/local/lib/python2.7/site-packages/click/core.py\", line 534, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/libsongtext/songtext.py\", line 43, in cli\r\n    return getattr(api_module, 'get_result')(params)\r\n  File \"/usr/local/lib/python2.7/site-packages/libsongtext/lyricsnmusic.py\", line 107, in get_result\r\n    output_song(tracklist.get_lyrics(), args['no_pager'])\r\n  File \"/usr/local/lib/python2.7/site-packages/libsongtext/lyricsnmusic.py\", line 89, in get_lyrics\r\n    element = page_html.cssselect(self.CSS_SELECTOR)[0]\r\nIndexError: list index out of range\r\n```"}}
{"actor":{"display_login":"ysim"}}