{"id":300,"date":"2015-06-02T08:23:02","date_gmt":"2015-06-02T07:23:02","guid":{"rendered":"http:\/\/elstarit.nl\/?p=300"},"modified":"2015-06-02T08:23:02","modified_gmt":"2015-06-02T07:23:02","slug":"my-take-on-jsoup","status":"publish","type":"post","link":"https:\/\/elstarit.nl\/?p=300","title":{"rendered":"My take on JSoup"},"content":{"rendered":"<p>Next to my daily projects I am working on a new pet project, based on XPages.<\/p>\n<p>May be later more about this project \ud83d\ude09<\/p>\n<p>One of the requests was, more a nice to have, to import lots of data in the new application, to avoid to do it manually. So I searched on Google and I found <a href=\"http:\/\/jsoup.org\/\" target=\"_blank\">JSoup<\/a>, with some nice examples and tutorials.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>What is JSoup<\/strong><\/p>\n<p>With JSoup you can parse and manipulate HTML inside your Java code. On the website is a <a href=\"http:\/\/jsoup.org\/cookbook\/\" target=\"_blank\">cookbook<\/a>, where you can find lots of tutorials.<\/p>\n<p>To get the elements out of the HTML you can use css or JQuery like selector syntax, very easy to use.<\/p>\n<p>One of the nicest things is the Online interactive Demo.<\/p>\n<p>[dropshadowbox align=&#8221;none&#8221; effect=&#8221;lifted-both&#8221; width=&#8221;600px&#8221; height=&#8221;&#8221; background_color=&#8221;#ffffff&#8221; border_width=&#8221;1&#8243; border_color=&#8221;#dddddd&#8221; ]<a href=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-307\" src=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo.png\" alt=\"JSoupOnlineDemo\" width=\"1874\" height=\"1386\" srcset=\"https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo.png 1874w, https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo-300x222.png 300w, https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo-1024x757.png 1024w, https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo-338x250.png 338w\" sizes=\"auto, (max-width: 1874px) 100vw, 1874px\" \/><\/a>[\/dropshadowbox]<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Setup JSoup<\/strong><\/p>\n<p>The setup is pretty straight forward if you imported jar files before in your database.<\/p>\n<ul>\n<li>Download the jar file<\/li>\n<li>Import in the package explorer in the\u00a0WebContent\/WEB-INF\/lib directory the jar file<\/li>\n<li>Select the jar file and select Build path &#8211;&gt; Add to Build path<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>Use JSoup<\/strong><\/p>\n<p>After the setup you can use JSoup inside your Java code, for me the most natural place as my application use the MVC principle.<\/p>\n<p>In my case I have a non-secure start page with lots of links, it appears that it where 1504 useful links, to webpages secured by a login.<\/p>\n<p>So I started with collecting the links on the non-secured website. All the links I need are inside a table, so I first get the table and query the table for the links. This way skips lots of unwanted links, like the css or javascript links.<\/p>\n<p>[dropshadowbox align=&#8221;none&#8221; effect=&#8221;lifted-both&#8221; width=&#8221;400px&#8221; height=&#8221;&#8221; background_color=&#8221;#ffffff&#8221; border_width=&#8221;1&#8243; border_color=&#8221;#dddddd&#8221; ]<a href=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getAllLinks.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-304\" src=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getAllLinks.png\" alt=\"JSoup - getAllLinks\" width=\"934\" height=\"468\" srcset=\"https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getAllLinks.png 934w, https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getAllLinks-300x150.png 300w, https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getAllLinks-499x250.png 499w\" sizes=\"auto, (max-width: 934px) 100vw, 934px\" \/><\/a>[\/dropshadowbox]<\/p>\n<p>&nbsp;<\/p>\n<p>Next step was to loop through all the collected url&#8217;s, but first I need to highjack the login.<\/p>\n<p>First I need the login http headers of the form data, more explained <a href=\"http:\/\/www.mkyong.com\/java\/how-to-automate-login-a-website-java-example\/\" target=\"_blank\">here<\/a>.<\/p>\n<p>When I have my login url and my credentials and the form data who is submitted to this login, I created a small method to get my session cookie.<\/p>\n<p>[dropshadowbox align=&#8221;none&#8221; effect=&#8221;lifted-both&#8221; width=&#8221;400px&#8221; height=&#8221;&#8221; background_color=&#8221;#ffffff&#8221; border_width=&#8221;1&#8243; border_color=&#8221;#dddddd&#8221; ]<a href=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getSessionId.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-305\" src=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getSessionId.png\" alt=\"JSoup - getSessionId\" width=\"1272\" height=\"684\" srcset=\"https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getSessionId.png 1272w, https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getSessionId-300x161.png 300w, https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getSessionId-1024x551.png 1024w, https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-getSessionId-465x250.png 465w\" sizes=\"auto, (max-width: 1272px) 100vw, 1272px\" \/><\/a>[\/dropshadowbox]<\/p>\n<p>&nbsp;<\/p>\n<p>This cookie can be used by JSoup to connect to the secured website with success.<\/p>\n<p>[dropshadowbox align=&#8221;none&#8221; effect=&#8221;lifted-both&#8221; width=&#8221;400px&#8221; height=&#8221;&#8221; background_color=&#8221;#ffffff&#8221; border_width=&#8221;1&#8243; border_color=&#8221;#dddddd&#8221; ]<a href=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-loop-through-links.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-306\" src=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-loop-through-links.png\" alt=\"JSoup - loop through links\" width=\"706\" height=\"284\" srcset=\"https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-loop-through-links.png 706w, https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-loop-through-links-300x121.png 300w, https:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoup-loop-through-links-621x250.png 621w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/a>[\/dropshadowbox]<\/p>\n<p>&nbsp;<\/p>\n<p>When the HTML of the secured was loaded I could start collecting the required data from this page.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>JSoup is a very easy to use Java class with a comprehensive API with lots of examples and tutorials. Especially the selector query syntax is powerful.<\/p>\n<p>The above example resulted in 1504 useful links, who was harvest for the required data, which resulted in 20.488 documents in the database.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Next to my daily projects I am working on a new pet project, based on XPages. May be later more about this project \ud83d\ude09 One of the requests was, more a nice to have, to import lots of data in the new application, to avoid to do it manually. So I searched on Google and <a class=\"read-more\" href=\"https:\/\/elstarit.nl\/?p=300\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[2],"tags":[66,3,65,12],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-development","tag-development","tag-java","tag-jsoup","tag-xpages"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>My take on JSoup - elstar IT<\/title>\n<meta name=\"description\" content=\"easy to use Java parser for HTML\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elstarit.nl\/?p=300\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"My take on JSoup - elstar IT\" \/>\n<meta property=\"og:description\" content=\"easy to use Java parser for HTML\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elstarit.nl\/?p=300\" \/>\n<meta property=\"og:site_name\" content=\"elstar IT\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-02T07:23:02+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo.png\" \/>\n<meta name=\"author\" content=\"flinden68\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"flinden68\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=300#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=300\"},\"author\":{\"name\":\"flinden68\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/#\\\/schema\\\/person\\\/426456e816ad57bf411d5d2bb9768935\"},\"headline\":\"My take on JSoup\",\"datePublished\":\"2015-06-02T07:23:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=300\"},\"wordCount\":492,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=300#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/elstarit.nl\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/JSoupOnlineDemo.png\",\"keywords\":[\"development\",\"java\",\"jsoup\",\"xpages\"],\"articleSection\":[\"development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/elstarit.nl\\\/?p=300#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=300\",\"url\":\"https:\\\/\\\/elstarit.nl\\\/?p=300\",\"name\":\"My take on JSoup - elstar IT\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=300#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=300#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/elstarit.nl\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/JSoupOnlineDemo.png\",\"datePublished\":\"2015-06-02T07:23:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/#\\\/schema\\\/person\\\/426456e816ad57bf411d5d2bb9768935\"},\"description\":\"easy to use Java parser for HTML\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=300#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elstarit.nl\\\/?p=300\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=300#primaryimage\",\"url\":\"http:\\\/\\\/elstarit.nl\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/JSoupOnlineDemo.png\",\"contentUrl\":\"http:\\\/\\\/elstarit.nl\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/JSoupOnlineDemo.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=300#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elstarit.nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"development\",\"item\":\"https:\\\/\\\/elstarit.nl\\\/?cat=2\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"My take on JSoup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/#website\",\"url\":\"https:\\\/\\\/elstarit.nl\\\/\",\"name\":\"elstar IT\",\"description\":\"Fullstack | Java | Tech Speaker | Tech Coach | Frank van der Linden\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elstarit.nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/#\\\/schema\\\/person\\\/426456e816ad57bf411d5d2bb9768935\",\"name\":\"flinden68\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g\",\"caption\":\"flinden68\"},\"sameAs\":[\"http:\\\/\\\/www.elstarit.nl\",\"https:\\\/\\\/x.com\\\/elstarit\"],\"url\":\"https:\\\/\\\/elstarit.nl\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"My take on JSoup - elstar IT","description":"easy to use Java parser for HTML","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elstarit.nl\/?p=300","og_locale":"en_US","og_type":"article","og_title":"My take on JSoup - elstar IT","og_description":"easy to use Java parser for HTML","og_url":"https:\/\/elstarit.nl\/?p=300","og_site_name":"elstar IT","article_published_time":"2015-06-02T07:23:02+00:00","og_image":[{"url":"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo.png","type":"","width":"","height":""}],"author":"flinden68","twitter_misc":{"Written by":"flinden68","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elstarit.nl\/?p=300#article","isPartOf":{"@id":"https:\/\/elstarit.nl\/?p=300"},"author":{"name":"flinden68","@id":"https:\/\/elstarit.nl\/#\/schema\/person\/426456e816ad57bf411d5d2bb9768935"},"headline":"My take on JSoup","datePublished":"2015-06-02T07:23:02+00:00","mainEntityOfPage":{"@id":"https:\/\/elstarit.nl\/?p=300"},"wordCount":492,"commentCount":0,"image":{"@id":"https:\/\/elstarit.nl\/?p=300#primaryimage"},"thumbnailUrl":"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo.png","keywords":["development","java","jsoup","xpages"],"articleSection":["development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/elstarit.nl\/?p=300#respond"]}]},{"@type":"WebPage","@id":"https:\/\/elstarit.nl\/?p=300","url":"https:\/\/elstarit.nl\/?p=300","name":"My take on JSoup - elstar IT","isPartOf":{"@id":"https:\/\/elstarit.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elstarit.nl\/?p=300#primaryimage"},"image":{"@id":"https:\/\/elstarit.nl\/?p=300#primaryimage"},"thumbnailUrl":"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo.png","datePublished":"2015-06-02T07:23:02+00:00","author":{"@id":"https:\/\/elstarit.nl\/#\/schema\/person\/426456e816ad57bf411d5d2bb9768935"},"description":"easy to use Java parser for HTML","breadcrumb":{"@id":"https:\/\/elstarit.nl\/?p=300#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elstarit.nl\/?p=300"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elstarit.nl\/?p=300#primaryimage","url":"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo.png","contentUrl":"http:\/\/elstarit.nl\/wp-content\/uploads\/2015\/06\/JSoupOnlineDemo.png"},{"@type":"BreadcrumbList","@id":"https:\/\/elstarit.nl\/?p=300#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elstarit.nl\/"},{"@type":"ListItem","position":2,"name":"development","item":"https:\/\/elstarit.nl\/?cat=2"},{"@type":"ListItem","position":3,"name":"My take on JSoup"}]},{"@type":"WebSite","@id":"https:\/\/elstarit.nl\/#website","url":"https:\/\/elstarit.nl\/","name":"elstar IT","description":"Fullstack | Java | Tech Speaker | Tech Coach | Frank van der Linden","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elstarit.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elstarit.nl\/#\/schema\/person\/426456e816ad57bf411d5d2bb9768935","name":"flinden68","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g","caption":"flinden68"},"sameAs":["http:\/\/www.elstarit.nl","https:\/\/x.com\/elstarit"],"url":"https:\/\/elstarit.nl\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/posts\/300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elstarit.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=300"}],"version-history":[{"count":2,"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":308,"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/posts\/300\/revisions\/308"}],"wp:attachment":[{"href":"https:\/\/elstarit.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elstarit.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elstarit.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}