Advertisement
Guest User

error from console on get of lichess

a guest
Jul 8th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.63 KB | None | 0 0
  1. Request {
  2. domain: null,
  3. _events:
  4. { error: [Function: bound ],
  5. complete: [Function: bound ],
  6. pipe: [Function] },
  7. _eventsCount: 3,
  8. _maxListeners: undefined,
  9. uri:
  10. Url {
  11. protocol: 'https:',
  12. slashes: true,
  13. auth: null,
  14. host: 'lichess.org',
  15. port: 443,
  16. hostname: 'lichess.org',
  17. hash: null,
  18. search: null,
  19. query: null,
  20. pathname: '/90B0L9C1/black',
  21. path: '/90B0L9C1/black',
  22. href: 'https://lichess.org/90B0L9C1/black' },
  23. callback: [Function],
  24. method: 'GET',
  25. readable: true,
  26. writable: true,
  27. explicitMethod: true,
  28. _qs:
  29. Querystring {
  30. request: [Circular],
  31. lib: { formats: [Object], parse: [Function], stringify: [Function] },
  32. useQuerystring: undefined,
  33. parseOptions: {},
  34. stringifyOptions: {} },
  35. _auth:
  36. Auth {
  37. request: [Circular],
  38. hasAuth: false,
  39. sentAuth: false,
  40. bearerToken: null,
  41. user: null,
  42. pass: null },
  43. _oauth: OAuth { request: [Circular], params: null },
  44. _multipart:
  45. Multipart {
  46. request: [Circular],
  47. boundary: '65eb3788-b8e9-4152-87cc-a2f90f376a6a',
  48. chunked: false,
  49. body: null },
  50. _redirect:
  51. Redirect {
  52. request: [Circular],
  53. followRedirect: true,
  54. followRedirects: true,
  55. followAllRedirects: false,
  56. followOriginalHttpMethod: false,
  57. allowRedirect: [Function],
  58. maxRedirects: 10,
  59. redirects: [],
  60. redirectsFollowed: 0,
  61. removeRefererHeader: false },
  62. _tunnel:
  63. Tunnel {
  64. request: [Circular],
  65. proxyHeaderWhiteList:
  66. [ 'accept',
  67. 'accept-charset',
  68. 'accept-encoding',
  69. 'accept-language',
  70. 'accept-ranges',
  71. 'cache-control',
  72. 'content-encoding',
  73. 'content-language',
  74. 'content-location',
  75. 'content-md5',
  76. 'content-range',
  77. 'content-type',
  78. 'connection',
  79. 'date',
  80. 'expect',
  81. 'max-forwards',
  82. 'pragma',
  83. 'referer',
  84. 'te',
  85. 'user-agent',
  86. 'via' ],
  87. proxyHeaderExclusiveList: [] },
  88. headers: { host: 'lichess.org' },
  89. setHeader: [Function],
  90. hasHeader: [Function],
  91. getHeader: [Function],
  92. removeHeader: [Function],
  93. localAddress: undefined,
  94. pool: {},
  95. dests: [],
  96. __isRequestRequest: true,
  97. _callback: [Function],
  98. proxy: null,
  99. tunnel: true,
  100. setHost: true,
  101. originalCookieHeader: undefined,
  102. _disableCookies: true,
  103. _jar: undefined,
  104. port: 443,
  105. host: 'lichess.org',
  106. path: '/90B0L9C1/black',
  107. httpModule:
  108. { Server: { [Function: Server] super_: [Object] },
  109. createServer: [Function: createServer],
  110. globalAgent:
  111. Agent {
  112. domain: null,
  113. _events: [Object],
  114. _eventsCount: 1,
  115. _maxListeners: undefined,
  116. defaultPort: 443,
  117. protocol: 'https:',
  118. options: [Object],
  119. requests: {},
  120. sockets: {},
  121. freeSockets: {},
  122. keepAliveMsecs: 1000,
  123. keepAlive: false,
  124. maxSockets: Infinity,
  125. maxFreeSockets: 256,
  126. maxCachedSessions: 100,
  127. _sessionCache: [Object] },
  128. Agent: { [Function: Agent] super_: [Object] },
  129. request: [Function: request],
  130. get: [Function: get] },
  131. agentClass:
  132. { [Function: Agent]
  133. super_: { [Function: Agent] super_: [Object], defaultMaxSockets: Infinity } },
  134. agent:
  135. Agent {
  136. domain: null,
  137. _events: { free: [Function] },
  138. _eventsCount: 1,
  139. _maxListeners: undefined,
  140. defaultPort: 443,
  141. protocol: 'https:',
  142. options: { path: null },
  143. requests: {},
  144. sockets: {},
  145. freeSockets: {},
  146. keepAliveMsecs: 1000,
  147. keepAlive: false,
  148. maxSockets: Infinity,
  149. maxFreeSockets: 256,
  150. maxCachedSessions: 100,
  151. _sessionCache: { map: [Object], list: [Array] } } }
  152. SyntaxError: Unexpected token < in JSON at position 16
  153. at JSON.parse (<anonymous>)
  154. at Request.request.get [as _callback] (eval at prefixfunctions (C:\Users\lazym\Documents\Home\Photos\discord\LAZYbot\lazybotv2.js:783:22), <anonymous>:7:21)
  155. at Request.self.callback (C:\Users\lazym\Documents\Home\Photos\discord\LAZYbot\node_modules\request\request.js:185:22)
  156. at emitTwo (events.js:126:13)
  157. at Request.emit (events.js:214:7)
  158. at Request.<anonymous> (C:\Users\lazym\Documents\Home\Photos\discord\LAZYbot\node_modules\request\request.js:1157:10)
  159. at emitOne (events.js:116:13)
  160. at Request.emit (events.js:211:7)
  161. at IncomingMessage.<anonymous> (C:\Users\lazym\Documents\Home\Photos\discord\LAZYbot\node_modules\request\request.js:1079:12)
  162. at Object.onceWrapper (events.js:313:30)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement