Closed milka3321 closed 7 years ago
ERROR:poloniex:<!DOCTYPE html> <html lang="en"> <head> <title>Poloniex - Bitcoin/Cryptocurrency Exchange</title> <meta charset="UTF-8" /> <style>a,body{color:#323A3C}body,h1{padding:0}.footer,.wrapper{text-align:center}body{margin:0;background-color:#04272A;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:18px}a:hover{color:#A57211}h1{text-transform:uppercase;font-size:36px;margin-top:0;font-weight:400}.fine,.footer{font-size:.7em}#logo{min-width:100px;max-width:230px;margin:35px 10px}#content{border-bottom:3px solid #ffab06;background-color:#e5f0e6;padding:40px 10px}.wrapper{background-color:#fff}.fine{margin:22px 0 0}.footer{color:#fff;margin:40px 0}.footer a,.footer a:hover,.footer a:visited{color:#fff;display:inline-block}@media only screen and (max-width:350px){body{font-size:.9em}h1{font-size:1.6em}.fine{font-size:.75em}}p.cf-msg{margin:4px 0}#recaptcha_widget div div{width:auto!important;height:auto!important}</style> </head> <body> <div class="wrapper"> <svg id="logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 710 110"> <g> <g> <lineargradient id="SVGID_1_" gradientunits="userSpaceOnUse" x1="685.9" y1="109.7" x2="685.9" y2="2.8"> <stop offset="0" style="stop-color:#2A343A"></stop> <stop offset="0.153" style="stop-color:#3C454B"></stop> <stop offset="0.9144" style="stop-color:#444E54"></stop> <stop offset="1" style="stop-color:#4D565C"></stop> </lineargradient> <polygon fill="url(#SVGID_1_)" points="679.5,45.2 708.6,1.4 676.9,1.4 663.2,21.3"></polygon> <lineargradient id="SVGID_2_" gradientunits="userSpaceOnUse" x1="686.7" y1="109.4" x2="686.7" y2="3"> <stop offset="0" style="stop-color:#2A343A"></stop> <stop offset="0.153" style="stop-color:#3C454B"></stop> <stop offset="0.9144" style="stop-color:#444E54"></stop> <stop offset="1" style="stop-color:#4D565C"></stop> </lineargradient> <polygon fill="url(#SVGID_2_)" points="679.5,65.3 663.2,87.9 678.6,109.4 710.2,109.4"></polygon> </g> </g> <g> <g> <g> <g> <lineargradient id="SVGID_3_" gradientunits="userSpaceOnUse" x1="43.7" y1="109.4" x2="43.7" y2="2.4"> <stop offset="0.0023" style="stop-color:#05535C"></stop> <stop offset="0.2409" style="stop-color:#0C6267"></stop> <stop offset="0.7032" style="stop-color:#0D6E74"></stop> <stop offset="0.793" style="stop-color:#1C747B"></stop> <stop offset="0.9966" style="stop-color:#2D7F86"></stop> </lineargradient> <path fill="url(#SVGID_3_)" d="M56.727 1.24c10.544 0 18.3 2.6 23.2 7.94c4.929 5.3 7.4 16.6 7.4 27.2 c0 10.683-2.57 23.492-7.704 28.763c-5.134 5.273-12.768 7.909-22.899 7.909H24.343v36.626H0V1.24H56.727z M24.343 19.7 v35.044h24.543c2.752 0 5.02-0.252 6.81-0.755c1.787-0.506 3.207-1.285 4.263-2.338c1.054-1.054 1.789-2.432 2.201-4.126 c0.411-1.696 0.619-11.94 0.619-14.278c0-2.337-0.184-4.367-0.55-6.085c-0.368-1.72-1.079-3.129-2.131-4.23 c-1.057-1.1-2.511-1.914-4.368-2.441c-1.859-0.527-4.299-0.79-7.324-0.79H24.343z"></path> </g> </g> <g> <g> <lineargradient id="SVGID_4_" gradientunits="userSpaceOnUse" x1="142.1" y1="109.4" x2="142.1" y2="2.4"> <stop offset="0.0023" style="stop-color:#05535C"></stop> <stop offset="0.2409" style="stop-color:#0C6267"></stop> <stop offset="0.7032" style="stop-color:#0D6E74"></stop> <stop offset="0.793" style="stop-color:#1C747B"></stop> <stop offset="0.9966" style="stop-color:#2D7F86"></stop> </lineargradient> <path fill="url(#SVGID_4_)" d="M95.446 36.998c0-6.602 0.791-12.242 2.372-16.916c1.584-4.677 4.035-8.504 7.36-11.485 c3.322-2.979 7.563-5.157 12.722-6.533C123.056 0.7 129.2 0 136.4 0h11.545c7.243 0 13.4 0.7 18.6 2 c5.16 1.4 9.4 3.5 12.7 6.464c3.301 3 5.7 6.8 7.3 11.483c1.535 4.7 2.3 10.4 2.3 17.021v33.876 c0 6.604-0.78 15.24-2.338 19.916c-1.558 4.677-3.988 8.504-7.288 11.484c-3.302 2.98-7.531 5.158-12.69 6.5 c-5.155 1.377-11.335 2.063-18.532 2.063h-11.545c-7.199 0-13.378-0.686-18.533-2.063c-5.159-1.375-9.4-3.553-12.722-6.533 c-3.326-2.98-5.776-6.807-7.36-11.484c-1.581-4.676-2.372-13.313-2.372-19.916V36.998z M141.355 20.8 c-3.847 0-7.099 0.265-9.753 0.792c-2.655 0.528-4.83 1.537-6.523 3.026c-1.693 1.49-2.919 3.586-3.673 6.3 c-0.756 2.705-1.134 9.234-1.134 13.591v21.935c0 4.4 0.4 10.9 1.1 13.557c0.754 2.7 2 4.8 3.7 6.3 c1.693 1.5 3.9 2.5 6.5 3.062c2.654 0.5 5.9 0.8 9.8 0.79h1.566c3.846 0 7.095-0.263 9.75-0.79 c2.657-0.525 4.832-1.535 6.524-3.024c1.693-1.491 2.919-3.588 3.675-6.294c0.755-2.703 1.132-9.233 1.132-13.59V44.399 c0-4.357-0.377-10.874-1.132-13.555c-0.755-2.682-1.97-4.769-3.641-6.259c-1.67-1.489-3.846-2.485-6.522-2.99 c-2.679-0.504-5.94-0.758-9.786-0.758H141.355z"></path> </g> </g> <g> <g> <lineargradient id="SVGID_5_" gradientunits="userSpaceOnUse" x1="232" y1="109.4" x2="232" y2="2.4"> <stop offset="0.0023" style="stop-color:#05535C"></stop> <stop offset="0.2409" style="stop-color:#0C6267"></stop> <stop offset="0.7032" style="stop-color:#0D6E74"></stop> <stop offset="0.793" style="stop-color:#1C747B"></stop> <stop offset="0.9966" style="stop-color:#2D7F86"></stop> </lineargradient> <path fill="url(#SVGID_5_)" d="M223.349 88.797h41.626v20.835h-65.972V1.24h24.346V88.797z"></path> </g> </g> <g> <g> <lineargradient id="SVGID_6_" gradientunits="userSpaceOnUse" x1="316.9" y1="109.4" x2="316.9" y2="2.4"> <stop offset="0.0023" style="stop-color:#05535C"></stop> <stop offset="0.2409" style="stop-color:#0C6267"></stop> <stop offset="0.7032" style="stop-color:#0D6E74"></stop> <stop offset="0.793" style="stop-color:#1C747B"></stop> <stop offset="0.9966" style="stop-color:#2D7F86"></stop> </lineargradient> <path fill="url(#SVGID_6_)" d="M270.209 36.998c0-6.602 0.79-12.242 2.372-16.916c1.583-4.677 4.035-8.504 7.359-11.485 c3.325-2.979 7.564-5.157 12.723-6.533C297.819 0.7 304 0 311.2 0h11.545c7.243 0 13.4 0.7 18.6 2 c5.159 1.4 9.4 3.5 12.7 6.464c3.303 3 5.7 6.8 7.3 11.483c1.536 4.7 2.3 10.4 2.3 17.021v33.876 c0 6.604-0.783 15.24-2.341 19.916c-1.558 4.677-3.987 8.504-7.288 11.484c-3.302 2.98-7.531 5.158-12.69 6.5 c-5.157 1.377-11.334 2.063-18.532 2.063h-11.545c-7.199 0-13.377-0.686-18.534-2.063c-5.159-1.375-9.398-3.553-12.723-6.533 c-3.324-2.98-5.776-6.807-7.359-11.484c-1.582-4.676-2.372-13.313-2.372-19.916V36.998z M316.117 20.8 c-3.847 0-7.098 0.265-9.753 0.792c-2.655 0.528-4.83 1.537-6.524 3.026c-1.694 1.49-2.917 3.586-3.673 6.3 c-0.754 2.705-1.132 9.234-1.132 13.591v21.935c0 4.4 0.4 10.9 1.1 13.557c0.756 2.7 2 4.8 3.7 6.3 c1.694 1.5 3.9 2.5 6.5 3.062c2.655 0.5 5.9 0.8 9.8 0.79h1.565c3.845 0 7.096-0.263 9.751-0.79 c2.655-0.525 4.829-1.535 6.524-3.024c1.692-1.491 2.917-3.588 3.673-6.294c0.756-2.703 1.134-9.233 1.134-13.59V44.399 c0-4.357-0.377-10.874-1.134-13.555c-0.755-2.682-1.969-4.769-3.64-6.259c-1.67-1.489-3.845-2.485-6.523-2.99 c-2.678-0.504-5.94-0.758-9.785-0.758H316.117z"></path> </g> </g> <g> <g> <lineargradient id="SVGID_7_" gradientunits="userSpaceOnUse" x1="420.8" y1="109.4" x2="420.8" y2="2.4"> <stop offset="0.0023" style="stop-color:#05535C"></stop> <stop offset="0.2409" style="stop-color:#0C6267"></stop> <stop offset="0.7032" style="stop-color:#0D6E74"></stop> <stop offset="0.793" style="stop-color:#1C747B"></stop> <stop offset="0.9966" style="stop-color:#2D7F86"></stop> </lineargradient> <path fill="url(#SVGID_7_)" d="M375.152 1.24h27.99l40.551 74v-74h22.83v108.393h-27.99l-40.548-74.828v74.828h-22.833V1.24z"></path> </g> </g> <g> <g> <lineargradient id="SVGID_8_" gradientunits="userSpaceOnUse" x1="493.5" y1="109.4" x2="493.5" y2="2.4"> <stop offset="0.0023" style="stop-color:#05535C"></stop> <stop offset="0.2409" style="stop-color:#0C6267"></stop> <stop offset="0.7032" style="stop-color:#0D6E74"></stop> <stop offset="0.793" style="stop-color:#1C747B"></stop> <stop offset="0.9966" style="stop-color:#2D7F86"></stop> </lineargradient> <path fill="url(#SVGID_8_)" d="M481.318 1.24h24.343v108.393h-24.343V1.24z"></path> </g> </g> <g> <g> <lineargradient id="SVGID_9_" gradientunits="userSpaceOnUse" x1="557.8" y1="109.4" x2="557.8" y2="2.4"> <stop offset="0.0023" style="stop-color:#05535C"></stop> <stop offset="0.2409" style="stop-color:#0C6267"></stop> <stop offset="0.7032" style="stop-color:#0D6E74"></stop> <stop offset="0.793" style="stop-color:#1C747B"></stop> <stop offset="0.9966" style="stop-color:#2D7F86"></stop> </lineargradient> <path fill="url(#SVGID_9_)" d="M520.32 1.24h74.881v20.835h-50.539v22.186h48.888v20.7h-48.888v23.836h50.539v20.835H520.32 V1.24z"></path> </g> </g> <g> <g> <lineargradient id="SVGID_10_" gradientunits="userSpaceOnUse" x1="637.1" y1="109.4" x2="637.1" y2="2.4"> <stop offset="0.0023" style="stop-color:#05535C"></stop> <stop offset="0.2409" style="stop-color:#0C6267"></stop> <stop offset="0.7032" style="stop-color:#0D6E74"></stop> <stop offset="0.793" style="stop-color:#1C747B"></stop> <stop offset="0.9966" style="stop-color:#2D7F86"></stop> </lineargradient> <path fill="url(#SVGID_10_)" d="M672.339 55.437l-38.96 54.196h-31.572l37.754-54.096L603.524 1.24h31.71L672.339 55.4"></path> </g> </g> </g> </g> </svg> <div id="content"> <h1>One More Step</h1> <p>Please complete the security check to proceed.</p> <form class="challenge-form" id="challenge-form" action="/cdn-cgi/l/chk_captcha" method="get"> <script type="text/javascript" src="/cdn-cgi/scripts/cf.challenge.js" data-type="normal" data-ray="38803e828d62268a" async data-sitekey="6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0"></script> <div class="g-recaptcha"></div> <noscript id="cf-captcha-bookmark" class="cf-captcha-info"> <div><div style="width: 302px"> <div> <iframe src="https://www.google.com/recaptcha/api/fallback?k=6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0" frameborder="0" scrolling="no" style="width: 302px; height:422px; border-style: none;"></iframe> </div> <div style="width: 300px; border-style: none; bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px; background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;"> <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;"></textarea> <input type="submit" value="Submit"></input> </div> </div></div> </noscript> </form> </div> </div> <div class="footer">© Poloniex, Inc. 2016 - Wilmington, DE, USA | <a href="https://poloniex.freshdesk.com/">Contact Support</a></div> </body> </html> Traceback (most recent call last): File "C:\Users\vbox\AppData\Local\Programs\Python\Python36-32\lib\site-packages\poloniex\__init__.py", line 244, in handleReturned out = _loads(data, parse_float=str) File "C:\Users\vbox\AppData\Local\Programs\Python\Python36-32\lib\json\__init__.py", line 367, in loads return cls(**kw).decode(s) File "C:\Users\vbox\AppData\Local\Programs\Python\Python36-32\lib\json\decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\vbox\AppData\Local\Programs\Python\Python36-32\lib\json\decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\vbox\Desktop\Ticker Poloniex.py", line 6, in <module> print(polo("returnTicker")["BTC_ETH"]) File "C:\Users\vbox\AppData\Local\Programs\Python\Python36-32\lib\site-packages\poloniex\__init__.py", line 143, in retrying return func(*args, **kwargs) File "C:\Users\vbox\AppData\Local\Programs\Python\Python36-32\lib\site-packages\poloniex\__init__.py", line 218, in __call__ return self.handleReturned(ret.text) File "C:\Users\vbox\AppData\Local\Programs\Python\Python36-32\lib\site-packages\poloniex\__init__.py", line 251, in handleReturned raise PoloniexError('Invalid json response returned') poloniex.PoloniexError: Invalid json response returned help
You need to open a ticket with poloniex support and let them know your are encountering captcha when accessing the api.
thanks!