1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[492],{1127:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return a(9587)}])},9587:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return w},default:function(){return k}});var s={};a.r(s),a.d(s,{MDXProvider:function(){return f.Z},useMDXComponents:function(){return f.a}});var n=a(5893),d=a(6465),c=a.n(d),i=a(7294),o=a(1163),r=a(9008),l=a.n(r),b=a(1664),m=a.n(b);"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)});var x=a(2746),f=a(1151);function p({compiledSource:e,frontmatter:t,scope:a,components:n={},lazy:d}){let[c,o]=(0,i.useState)(!d||"undefined"==typeof window);(0,i.useEffect)(()=>{if(d){let e=window.requestIdleCallback(()=>{o(!0)});return()=>window.cancelIdleCallback(e)}},[]);let r=(0,i.useMemo)(()=>{let n=Object.assign({opts:{...s,...x.jsxRuntime}},{frontmatter:t},a),d=Object.keys(n),c=Object.values(n),i=Reflect.construct(Function,d.concat(`${e}`));return i.apply(i,c).default},[a,e]);if(!c)return i.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});let l=i.createElement(f.Z,{components:n},i.createElement(r,null));return d?i.createElement("div",null,l):l}let u="https://maxun.dev",j=e=>{let t=new Date(e);return"".concat(String(t.getDate()).padStart(2,"0"),".").concat(String(t.getMonth()+1).padStart(2,"0"),".").concat(t.getFullYear())},g=e=>e.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-"),h=e=>{let t;let a=/^(##|###)\s+(.*)$/gm,s=[],n=0,d=0;for(;null!==(t=a.exec(e));){let e="##"===t[1]?2:3,a=t[2].trim();2===e?(n++,d=0,s.push({id:g(a),text:a,level:e,number:"".concat(n)})):(d++,s.push({id:g(a),text:a,level:e,number:"".concat(n,".").concat(d)}))}return s};var w=!0,k=e=>{var t;let{blog:a,mdxSource:s}=e,d=(0,o.useRouter)(),[r,b]=(0,i.useState)(!1);if(d.isFallback)return(0,n.jsx)("div",{children:"Loading..."});let x=(0,i.useMemo)(()=>h(a.content),[a.content]),f="".concat(a.data.title," | Maxun"),w=a.data.excerpt||"Learn about web scraping, crawling and AI data extraction with Maxun.",k="".concat(u,"/blog/").concat(a.slug),y=a.data.cover?"".concat(u).concat(a.data.cover):"".concat(u,"/maxun_prev.png"),N=a.data.author&&"Maxun Team"!==a.data.author?{"@type":"Person",name:a.data.author,url:"https://maxun.dev/about"}:{"@type":"Organization",name:"Maxun",url:"https://maxun.dev"};return(0,n.jsxs)("div",{className:"jsx-90905c68df6bbde8 page",children:[(0,n.jsxs)(l(),{children:[(0,n.jsx)("title",{className:"jsx-90905c68df6bbde8",children:f}),(0,n.jsx)("meta",{name:"description",content:w,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("link",{rel:"canonical",href:k,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{property:"og:type",content:"article",className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{property:"og:site_name",content:"Maxun",className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{property:"og:title",content:f,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{property:"og:description",content:w,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{property:"og:url",content:k,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{property:"og:image",content:y,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{property:"article:published_time",content:a.data.date,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{property:"article:modified_time",content:a.data.updatedAt||a.data.date,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image",className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{name:"twitter:site",content:"@MaxunHQ",className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{name:"twitter:title",content:f,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{name:"twitter:description",content:w,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("meta",{name:"twitter:image",content:y,className:"jsx-90905c68df6bbde8"}),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BlogPosting","@id":k,headline:a.data.title,de
1scription:w,image:[y],datePublished:a.data.date,dateModified:a.data.updatedAt||a.data.date,author:N,publisher:{"@type":"Organization",name:"Maxun",logo:{"@type":"ImageObject",url:"https://maxun.dev/maxun_logo.png"}},mainEntityOfPage:{"@type":"WebPage","@id":k},keywords:null===(t=a.data.tags)||void 0===t?void 0:t.join(", "),wordCount:a.content.split(/\s+/).length})},className:"jsx-90905c68df6bbde8"})]}),(0,n.jsxs)("div",{className:"jsx-90905c68df6bbde8 layout",children:[x.length>0&&(0,n.jsxs)("aside",{className:"jsx-90905c68df6bbde8 toc-desktop",children:[(0,n.jsxs)("p",{className:"jsx-90905c68df6bbde8 toc-title",children:[(0,n.jsx)("span",{className:"jsx-90905c68df6bbde8 toc-square"}),"Contents"]}),(0,n.jsx)("ul",{className:"jsx-90905c68df6bbde8",children:x.map(e=>(0,n.jsx)("li",{className:"jsx-90905c68df6bbde8 "+"lvl-".concat(e.level),children:(0,n.jsxs)("a",{href:"#".concat(e.id),className:"jsx-90905c68df6bbde8",children:[(0,n.jsx)("span",{className:"jsx-90905c68df6bbde8 num",children:e.number})," ",e.text]})},e.id))})]}),(0,n.jsxs)("main",{className:"jsx-90905c68df6bbde8 content",children:[(0,n.jsxs)("article",{itemScope:!0,itemType:"https://schema.org/Article",className:"jsx-90905c68df6bbde8",children:[(0,n.jsx)("h1",{className:"jsx-90905c68df6bbde8",children:a.data.title}),a.data.date&&(0,n.jsxs)("p",{className:"jsx-90905c68df6bbde8 meta",children:[j(a.data.date),a.data.author&&" \xb7 ".concat(a.data.author)]}),x.length>0&&(0,n.jsxs)("div",{className:"jsx-90905c68df6bbde8 toc-mobile",children:[(0,n.jsxs)("button",{onClick:()=>b(!r),className:"jsx-90905c68df6bbde8",children:[(0,n.jsx)("span",{className:"jsx-90905c68df6bbde8 toc-square"}),"Contents",(0,n.jsx)("span",{className:"jsx-90905c68df6bbde8 chev",children:r?"â´":"â¾"})]}),r&&(0,n.jsx)("ul",{className:"jsx-90905c68df6bbde8",children:x.map(e=>(0,n.jsx)("li",{className:"jsx-90905c68df6bbde8 "+"lvl-".concat(e.level),children:(0,n.jsxs)("a",{href:"#".concat(e.id),onClick:()=>b(!1),className:"jsx-90905c68df6bbde8",children:[(0,n.jsx)("span",{className:"jsx-90905c68df6bbde8 num",children:e.number})," ",e.text]})},e.id))})]}),(0,n.jsx)("div",{className:"jsx-90905c68df6bbde8 blog-article",children:(0,n.jsx)(p,{...s,components:{h2:e=>(0,n.jsx)("h2",{id:g(String(e.children)),...e,className:"jsx-90905c68df6bbde8 "+(e&&null!=e.className&&e.className||"")}),h3:e=>(0,n.jsx)("h3",{id:g(String(e.children)),...e,className:"jsx-90905c68df6bbde8 "+(e&&null!=e.className&&e.className||"")})}})})]}),(0,n.jsx)("div",{className:"jsx-90905c68df6bbde8 back",children:(0,n.jsx)(m(),{href:"/blog",children:"â Back to all posts"})})]})]}),(0,n.jsx)(c(),{id:"90905c68df6bbde8",children:'.page.jsx-90905c68df6bbde8{padding:3rem 1.25rem 4rem}.layout.jsx-90905c68df6bbde8{display:grid;grid-template-columns:200px minmax(0,900px);-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;max-width:1200px;margin:0 auto;gap:3.5rem}h1.jsx-90905c68df6bbde8{font-size:2.8rem;font-weight:600;letter-spacing:-.03em;line-height:1.15;color:var(--body-text,#111827);margin:0 0 1rem}.meta.jsx-90905c68df6bbde8{font-size:.85rem;letter-spacing:.08em;color:#848080;margin-bottom:2.5rem}.toc-square.jsx-90905c68df6bbde8{width:9px;height:9px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background:#ff00c3;display:inline-block;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.toc-desktop.jsx-90905c68df6bbde8{position:-webkit-sticky;position:sticky;top:100px;-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;font-size:.92rem;padding-right:1rem;border-right:1px dashed rgba(255,0,195,.25)}.toc-title.jsx-90905c68df6bbde8{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;font-family:"Geist Mono",monospace;font-size:.75rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#ff00c3;margin:0 0 1rem}.toc-desktop.jsx-90905c68df6bbde8 ul.jsx-90905c68df6bbde8,.toc-mobile.jsx-90905c68df6bbde8 ul.jsx-90905c68df6bbde8{list-style:none;padding:0;margin:0}.toc-desktop.jsx-90905c68df6bbde8 li.jsx-90905c68df6bbde8,.toc-mobile.jsx-90905c68df6bbde8 li.jsx-90905c68df6bbde8{margin-bottom:.6rem}.lvl-3.jsx-90905c68df6bbde8{margin-left:1.1rem;font-size:1em}.num.jsx-90905c68df6bbde8{font-family:"Geist Mono",monospace;font-size:.78em;color:#ff00c3;margin-right:6px}.toc-desktop.jsx-90905c68df6bbde8 a.jsx-90905c68df6bbde8,.toc-mobile.jsx-90905c68df6bbde8 a.jsx-90905c68df6bbde8{color:var(--muted-text,#6b7280);text-decoration:none;-webkit-transition:color.15s ease;-moz-transition:color.15s ease;-o-transition:color.15s ease;transition:color.15s ease;line-height:1.4;display:inline-block}.toc-desktop.jsx-90905c68df6bbde8 a.jsx-90905c68df6bbde8:hover,.toc-mobile.jsx-90905c68df6bbde8 a.jsx-90905c68df6bbde8:hover{color:var(--body-text,#111827)}.toc-mobile.jsx-90905c68df6bbde8{display:none;background:-webkit-linear-gradient(top,#fff 0%,#fff7fd 100%);background:-moz-linear-gradient(top,#fff 0%,#fff7fd 100%);background:-o-linear-gradient(top,#fff 0%,#fff7fd 100%);background:linear-gradient(180deg,#fff 0%,#fff7fd 100%);border:1px dashed rgba(255,0,195,.35);-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;padding:.9rem 1.1rem;margin-bottom:2rem;font-size:.95rem}.toc-mobile.jsx-90905c68df6bbde8 button.jsx-90905c68df6bbde8{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;width:100%;background:none;border:none;padding:0;font-family:"Geist Mono",monospace;font-size:.75rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#ff00c3;cursor:pointer}.toc-mobile.jsx-90905c68df6bbde8 .chev.jsx-90905c68df6bbde8{margin-left:auto;color:var(--muted-text,#9ca3af)}.toc-mobile.jsx-90905c68df6bbde8 ul.jsx-90905c68df6bbde8{margin-top:1rem}.blog-article.jsx-90905c68df6bbde8{line-height:1.8;font-size:1.1rem}.back.jsx-90905c68df6bbde8{margin-top:3.5rem;border-top:1px dashed rgba(255,0,195,.3);padding-top:1.75rem}.back.jsx-90905c68df6bbde8 a{color:#ff00c3;font-weight:500;text-decoration:none;-webkit-transition:opacity.15s ease;-moz-transition:opacity.15s ease;-o-transition:opacity.15s ease;transition:opacity.15s ease}.back.jsx-90905c68df6bbde8 a:hover{opacity:.75}
1@media(max-width:900px){.page.jsx-90905c68df6bbde8{padding:2rem 1.25rem 3rem}.layout.jsx-90905c68df6bbde8{grid-template-columns:minmax(0,1fr);gap:0}h1.jsx-90905c68df6bbde8{font-size:2rem}.toc-desktop.jsx-90905c68df6bbde8{display:none}.toc-mobile.jsx-90905c68df6bbde8{display:block}}'})]})}},1163:function(e,t,a){e.exports=a(6885)},2746:function(e,t,a){"use strict";e.exports.jsxRuntime=a(5893)}},function(e){e.O(0,[921,664,774,888,179],function(){return e(e.s=1127)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.