{"action":"created","issue":{"url":"https://api.github.com/repos/Benny-/Yahoo-ticker-symbol-downloader/issues/7","labels_url":"https://api.github.com/repos/Benny-/Yahoo-ticker-symbol-downloader/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Benny-/Yahoo-ticker-symbol-downloader/issues/7/comments","events_url":"https://api.github.com/repos/Benny-/Yahoo-ticker-symbol-downloader/issues/7/events","html_url":"https://github.com/Benny-/Yahoo-ticker-symbol-downloader/issues/7","id":106399163,"number":7,"title":"downloading interruption","user":{"login":"depend","id":208553,"avatar_url":"https://avatars.githubusercontent.com/u/208553?v=3","gravatar_id":"","url":"https://api.github.com/users/depend","html_url":"https://github.com/depend","followers_url":"https://api.github.com/users/depend/followers","following_url":"https://api.github.com/users/depend/following{/other_user}","gists_url":"https://api.github.com/users/depend/gists{/gist_id}","starred_url":"https://api.github.com/users/depend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depend/subscriptions","organizations_url":"https://api.github.com/users/depend/orgs","repos_url":"https://api.github.com/users/depend/repos","events_url":"https://api.github.com/users/depend/events{/privacy}","received_events_url":"https://api.github.com/users/depend/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Benny-/Yahoo-ticker-symbol-downloader/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Benny-","id":516316,"avatar_url":"https://avatars.githubusercontent.com/u/516316?v=3","gravatar_id":"","url":"https://api.github.com/users/Benny-","html_url":"https://github.com/Benny-","followers_url":"https://api.github.com/users/Benny-/followers","following_url":"https://api.github.com/users/Benny-/following{/other_user}","gists_url":"https://api.github.com/users/Benny-/gists{/gist_id}","starred_url":"https://api.github.com/users/Benny-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Benny-/subscriptions","organizations_url":"https://api.github.com/users/Benny-/orgs","repos_url":"https://api.github.com/users/Benny-/repos","events_url":"https://api.github.com/users/Benny-/events{/privacy}","received_events_url":"https://api.github.com/users/Benny-/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-14T18:19:47Z","updated_at":"2015-11-06T19:28:11Z","closed_at":null,"body":"After running it for a while I got this error:\r\n\r\nTraceback (most recent call last):\r\n  File \"D:\\Python27\\Scripts\\YahooTickerDownloader.py\", line 140, in <module>\r\n    main()\r\n  File \"D:\\Python27\\Scripts\\YahooTickerDownloader.py\", line 97, in main\r\n    downloadEverything(downloader, tickerType, args.insecure)\r\n  File \"D:\\Python27\\Scripts\\YahooTickerDownloader.py\", line 51, in downloadEvery\r\nthing\r\n    print (\" \" + unicode(symbols[1]))\r\nUnicodeEncodeError: 'gbk' codec can't encode character u'\\xc3' in position 27: i\r\nllegal multibyte sequence\r\n\r\nIf I restart it, it will go further before throwing another one. Is this just Yahoo issue or something else?"},"comment":{"url":"https://api.github.com/repos/Benny-/Yahoo-ticker-symbol-downloader/issues/comments/154509448","html_url":"https://github.com/Benny-/Yahoo-ticker-symbol-downloader/issues/7#issuecomment-154509448","issue_url":"https://api.github.com/repos/Benny-/Yahoo-ticker-symbol-downloader/issues/7","id":154509448,"user":{"login":"underdpt","id":8122137,"avatar_url":"https://avatars.githubusercontent.com/u/8122137?v=3","gravatar_id":"","url":"https://api.github.com/users/underdpt","html_url":"https://github.com/underdpt","followers_url":"https://api.github.com/users/underdpt/followers","following_url":"https://api.github.com/users/underdpt/following{/other_user}","gists_url":"https://api.github.com/users/underdpt/gists{/gist_id}","starred_url":"https://api.github.com/users/underdpt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underdpt/subscriptions","organizations_url":"https://api.github.com/users/underdpt/orgs","repos_url":"https://api.github.com/users/underdpt/repos","events_url":"https://api.github.com/users/underdpt/events{/privacy}","received_events_url":"https://api.github.com/users/underdpt/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T19:28:11Z","updated_at":"2015-11-06T19:28:11Z","body":"I've also got this error. \r\nI think it comes when the scripts tries to output some results from the latest requests and chokes on some characters from the stock name (for example, in this output the error happens just when printing the second Stock):\r\n\r\n```\r\nreq https://finance.yahoo.com/lookup/?s=d&r=&m=ALL&t=S&b=1100\r\nGot 20 downloaded Stock symbols:\r\n Stock DRYN PNK DRAYTON RICHDALE NEW\r\nA exception occurred while downloading. Suspending downloader to disk\r\nSuccessfully saved download state\r\nRemove downloader.pickle if this error persists\r\nIssues can be reported on https://github.com/Benny-/Yahoo-ticker-symbol-downloader/issues\r\n\r\nTraceback (most recent call last):\r\n  File \"YahooTickerDownloader.py\", line 139, in <module>\r\n    main()\r\n  File \"YahooTickerDownloader.py\", line 96, in main\r\n    downloadEverything(downloader, tickerType, args.insecure)\r\n  File \"YahooTickerDownloader.py\", line 50, in downloadEverything\r\n    print (\" \" + unicode(symbols[1]))\r\n  File \"C:\\Python27\\lib\\encodings\\cp850.py\", line 12, in encode\r\n    return codecs.charmap_encode(input,errors,encoding_map)\r\nUnicodeEncodeError: 'charmap' codec can't encode character u'\\x81' in position 59: character maps to <undefined>\r\n```"}}