Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1. { status: 200,
  2. statusText: 'OK',
  3. headers:
  4. { date: 'Fri, 06 Dec 2019 23:46:21 GMT',
  5. 'content-type': 'application/json',
  6. 'transfer-encoding': 'chunked',
  7. connection: 'close',
  8. 'set-cookie':
  9. [ '__cfduid=d578deb6b0be589e1ab76fa61159e051d1575675981; expires=Sun, 05-Jan-20 23:46:21 GMT; path=/; domain=.db-ip.com; HttpOnly' ],
  10. vary: 'Accept-Encoding',
  11. 'access-control-allow-origin': '*',
  12. 'cache-control': 'max-age=1800',
  13. 'x-iplb-instance': '30782',
  14. 'cf-cache-status': 'EXPIRED',
  15. server: 'cloudflare',
  16. 'cf-ray': '54122384e9ebceb8-IAD' },
  17. config:
  18. { url: 'http://api.db-ip.com/v2/free/youtube.com',
  19. method: 'get',
  20. headers:
  21. { Accept: 'application/json, text/plain, */*',
  22. 'User-Agent': 'axios/0.19.0' },
  23. transformRequest: [ [Function: transformRequest] ],
  24. transformResponse: [ [Function: transformResponse] ],
  25. timeout: 0,
  26. adapter: [Function: httpAdapter],
  27. xsrfCookieName: 'XSRF-TOKEN',
  28. xsrfHeaderName: 'X-XSRF-TOKEN',
  29. maxContentLength: -1,
  30. validateStatus: [Function: validateStatus],
  31. data: undefined },
  32. request:
  33. ClientRequest {
  34. domain: null,
  35. _events:
  36. { socket: [Function],
  37. abort: [Function],
  38. aborted: [Function],
  39. error: [Function],
  40. timeout: [Function],
  41. prefinish: [Function: requestOnPrefinish] },
  42. _eventsCount: 6,
  43. _maxListeners: undefined,
  44. output: [],
  45. outputEncodings: [],
  46. outputCallbacks: [],
  47. outputSize: 0,
  48. writable: true,
  49. _last: true,
  50. upgrading: false,
  51. chunkedEncoding: false,
  52. shouldKeepAlive: false,
  53. useChunkedEncodingByDefault: false,
  54. sendDate: false,
  55. _removedConnection: false,
  56. _removedContLen: false,
  57. _removedTE: false,
  58. _contentLength: 0,
  59. _hasBody: true,
  60. _trailer: '',
  61. finished: true,
  62. _headerSent: true,
  63. socket:
  64. Socket {
  65. connecting: false,
  66. _hadError: false,
  67. _handle: [Object],
  68. _parent: null,
  69. _host: 'api.db-ip.com',
  70. _readableState: [Object],
  71. readable: true,
  72. domain: null,
  73. _events: [Object],
  74. _eventsCount: 8,
  75. _maxListeners: undefined,
  76. _writableState: [Object],
  77. writable: false,
  78. allowHalfOpen: false,
  79. _bytesDispatched: 146,
  80. _sockname: null,
  81. _pendingData: null,
  82. _pendingEncoding: '',
  83. server: null,
  84. _server: null,
  85. parser: null,
  86. _httpMessage: [Circular],
  87. [Symbol(asyncId)]: 3901,
  88. [Symbol(bytesRead)]: 0 },
  89. connection:
  90. Socket {
  91. connecting: false,
  92. _hadError: false,
  93. _handle: [Object],
  94. _parent: null,
  95. _host: 'api.db-ip.com',
  96. _readableState: [Object],
  97. readable: true,
  98. domain: null,
  99. _events: [Object],
  100. _eventsCount: 8,
  101. _maxListeners: undefined,
  102. _writableState: [Object],
  103. writable: false,
  104. allowHalfOpen: false,
  105. _bytesDispatched: 146,
  106. _sockname: null,
  107. _pendingData: null,
  108. _pendingEncoding: '',
  109. server: null,
  110. _server: null,
  111. parser: null,
  112. _httpMessage: [Circular],
  113. [Symbol(asyncId)]: 3901,
  114. [Symbol(bytesRead)]: 0 },
  115. _header: 'GET /v2/free/youtube.com HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.19.0\r\nHost: api.db-ip.com\r\nConnection: close\r\n\r\n',
  116. _onPendingData: [Function: noopPendingOutput],
  117. agent:
  118. Agent {
  119. domain: null,
  120. _events: [Object],
  121. _eventsCount: 1,
  122. _maxListeners: undefined,
  123. defaultPort: 80,
  124. protocol: 'http:',
  125. options: [Object],
  126. requests: {},
  127. sockets: [Object],
  128. freeSockets: {},
  129. keepAliveMsecs: 1000,
  130. keepAlive: false,
  131. maxSockets: Infinity,
  132. maxFreeSockets: 256 },
  133. socketPath: undefined,
  134. timeout: undefined,
  135. method: 'GET',
  136. path: '/v2/free/youtube.com',
  137. _ended: true,
  138. res:
  139. IncomingMessage {
  140. _readableState: [Object],
  141. readable: false,
  142. domain: null,
  143. _events: [Object],
  144. _eventsCount: 3,
  145. _maxListeners: undefined,
  146. socket: [Object],
  147. connection: [Object],
  148. httpVersionMajor: 1,
  149. httpVersionMinor: 1,
  150. httpVersion: '1.1',
  151. complete: true,
  152. headers: [Object],
  153. rawHeaders: [Array],
  154. trailers: {},
  155. rawTrailers: [],
  156. aborted: false,
  157. upgrade: false,
  158. url: '',
  159. method: null,
  160. statusCode: 200,
  161. statusMessage: 'OK',
  162. client: [Object],
  163. _consuming: true,
  164. _dumped: false,
  165. req: [Circular],
  166. responseUrl: 'http://api.db-ip.com/v2/free/youtube.com',
  167. redirects: [],
  168. read: [Function] },
  169. aborted: undefined,
  170. timeoutCb: null,
  171. upgradeOrConnect: false,
  172. parser: null,
  173. maxHeadersCount: null,
  174. _redirectable:
  175. Writable {
  176. _writableState: [Object],
  177. writable: true,
  178. domain: null,
  179. _events: [Object],
  180. _eventsCount: 2,
  181. _maxListeners: undefined,
  182. _options: [Object],
  183. _redirectCount: 0,
  184. _redirects: [],
  185. _requestBodyLength: 0,
  186. _requestBodyBuffers: [],
  187. _onNativeResponse: [Function],
  188. _currentRequest: [Circular],
  189. _currentUrl: 'http://api.db-ip.com/v2/free/youtube.com' },
  190. [Symbol(outHeadersKey)]: { accept: [Array], 'user-agent': [Array], host: [Array] } },
  191. data:
  192. { errorCode: 'INVALID_ADDRESS',
  193. error: 'invalid address \'youtube.com\'' } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement