Created
November 20, 2018 20:09
-
-
Save danyill/cb443015f6e7da280406cea9264f0c52 to your computer and use it in GitHub Desktop.
parsoid request with correct domain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in/parse.js --config ./config.yaml --domain web --trace apirequest|1200px]]' | bi | |
[ApiRequest] | #1 Starting HTTP request: {"method":"GET","followRedirect":true,"uri":"http://web/w/api.php","qs":{"format":"json","action":"query","meta":"siteinfo","siprop":"namespaces|namespacealiases|magicwords|functionhooks|extensiontags|general|interwikimap|languages|languagevariants|protocols|specialpagealiases|defaultoptions|variables","rawcontinue":1},"timeout":40000,"agent":{"_events":{},"_eventsCount":1,"defaultPort":80,"protocol":"http:","options":{"maxSockets":15,"connectTimeout":5000,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":15,"maxFreeSockets":256},"headers":{"X-Request-ID":null,"User-Agent":"Parsoid/0.9.0","Connection":"close"},"strictSSL":true} | |
[ApiRequest] | #1 Received HTTP 200, 71547 bytes | |
Error in ParsoidLogger._defaultTracerBackend: TypeError: Converting circular structure to JSON | |
[ApiRequest] | #2 Received HTTP 200, 6896 bytes | |
[ApiRequest] | #3 Starting HTTP request: {"method":"POST","followRedirect":true,"uri":"http://web/w/api.php","timeout":60000,"form":{"format":"json","formatversion":"2","action":"parsoid-batch","batch":"[{\"action\":\"imageinfo\",\"filename\":\"Script_step2b.png\",\"txopts\":{\"width\":1200},\"page\":\"Main Page\"}]"},"agent":{"_events":{},"_eventsCount":1,"defaultPort":80,"protocol":"http:","options":{"maxSockets":15,"connectTimeout":5000,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":15,"maxFreeSockets":256},"headers":{"X-Request-ID":null,"User-Agent":"Parsoid/0.9.0","Connection":"close"},"strictSSL":true} | |
[ApiRequest] | #3 Received HTTP 200, 464 bytes | |
<!DOCTYPE html> | |
<html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/"><head prefix="mwr: https://kokako.cc/wiki/Special:Redirect/"><meta charset="utf-8"/><meta property="mw:pageNamespace" content="0"/><meta property="isMainPage" content="true"/><meta property="mw:html:version" content="1.6.1"/><link rel="dc:isVersionOf" href="https://kokako.cc/wiki/Main%20Page"/><title></title><base href="https://kokako.cc/wiki/"/><link rel="stylesheet" href="//kokako.cc/w/load.php?modules=mediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Cskins.vector.styles%7Csite.styles%7Cext.cite.style%7Cext.cite.styles%7Cmediawiki.page.gallery.styles&only=styles&skin=vector"/><!--[if lt IE 9]><script src="//kokako.cc/w/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements('figure-inline');</script><![endif]--></head><body data-parsoid='{"dsr":[0,34,0,0]}' lang="en" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><p data-parsoid='{"dsr":[0,33,0,0]}'><figure-inline typeof="mw:Image" data-parsoid='{"optList":[{"ck":"width","ak":"1200px"}],"dsr":[0,33,null,null]}'><a href="./File:Script_step2b.png" data-parsoid='{"a":{"href":"./File:Script_step2b.png"},"sa":{"href":"File:script_step2b.png"}}'><img resource="./File:Script_step2b.png" src="//kokako.cc/w/thumb.php?f=Script_step2b.png&width=1200" data-file-width="1804" data-file-height="770" data-file-type="bitmap" height="512" width="1200" srcset="//kokako.cc/w/img_auth.php/4/4f/Script_step2b.png 2x, //kokako.cc/w/thumb.php?f=Script_step2b.png&width=1800 1.5x" data-parsoid='{"a":{"resource":"./File:Script_step2b.png","height":"512","width":"1200"},"sa":{"resource":"File:script_step2b.png"}}'/></a></figure-inline></p> | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment