{"action":"opened","issue":{"url":"https://api.github.com/repos/kepoorhampond/irs/issues/43","repository_url":"https://api.github.com/repos/kepoorhampond/irs","labels_url":"https://api.github.com/repos/kepoorhampond/irs/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/kepoorhampond/irs/issues/43/comments","events_url":"https://api.github.com/repos/kepoorhampond/irs/issues/43/events","html_url":"https://github.com/kepoorhampond/irs/issues/43","id":320518138,"number":43,"title":"Captcha Cheat doesn't work","user":{"login":"Nythepegasus","id":17764867,"avatar_url":"https://avatars3.githubusercontent.com/u/17764867?v=4","gravatar_id":"","url":"https://api.github.com/users/Nythepegasus","html_url":"https://github.com/Nythepegasus","followers_url":"https://api.github.com/users/Nythepegasus/followers","following_url":"https://api.github.com/users/Nythepegasus/following{/other_user}","gists_url":"https://api.github.com/users/Nythepegasus/gists{/gist_id}","starred_url":"https://api.github.com/users/Nythepegasus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nythepegasus/subscriptions","organizations_url":"https://api.github.com/users/Nythepegasus/orgs","repos_url":"https://api.github.com/users/Nythepegasus/repos","events_url":"https://api.github.com/users/Nythepegasus/events{/privacy}","received_events_url":"https://api.github.com/users/Nythepegasus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-05T15:31:11Z","updated_at":"2018-05-05T15:31:11Z","closed_at":null,"author_association":"NONE","body":"The captcha cheat is a bit wonky. It'll open the browser with the link in mind, but then it gets the following error. It could be because of Python 3, but I dunno. \r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/Shared/workspace/python/venv3/env/bin/irs\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/cli.py\", line 80, in main\r\n    ripper.spotify_list(\"playlist\", args.playlist, args.username)\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/ripper.py\", line 356, in spotify_list\r\n    locations = self.list(tracks)\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/ripper.py\", line 369, in list\r\n    loc = self.song(track[\"name\"], track[\"artist\"], track)\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/ripper.py\", line 429, in song\r\n    video_url, video_title = self.find_yt_url(song, artist)\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/ripper.py\", line 226, in find_yt_url\r\n    return self.find_yt_url(song, artist, additional_search, caught_by_google, first, tries=tries + 1)\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/ripper.py\", line 226, in find_yt_url\r\n    return self.find_yt_url(song, artist, additional_search, caught_by_google, first, tries=tries + 1)\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/ripper.py\", line 226, in find_yt_url\r\n    return self.find_yt_url(song, artist, additional_search, caught_by_google, first, tries=tries + 1)\r\n  [Previous line repeated 1 more times]\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/ripper.py\", line 224, in find_yt_url\r\n    return self.find_yt_url(song, artist, additional_search, caught_by_google, first=True, tries=tries + 1)\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/ripper.py\", line 234, in find_yt_url\r\n    return self.find_yt_url(song=song, artist=artist, additional_search=additional_search, caught_by_google=True, tries=tries + 1)\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/ripper.py\", line 159, in find_yt_url\r\n    soup = BeautifulSoup(CaptchaCheat.cheat_it(link), 'html.parser')\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/utils.py\", line 472, in cheat_it\r\n    while CaptchaCheat.strip_it(b.evaluate_script(\"document.URL\")) != CaptchaCheat.strip_it(url):\r\n  File \"/Users/Shared/workspace/python/venv3/env/lib/python3.6/site-packages/irs/utils.py\", line 479, in strip_it\r\n    s = s.strip(\"http://\")\r\nTypeError: a bytes-like object is required, not 'str'\r\n```"}}
{"actor":{"display_login":"Nythepegasus"}}