Skip to content

Commit

Permalink
deploy: ce6726b
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Sep 24, 2024
1 parent d531ee1 commit 491a10b
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 2 deletions.
20 changes: 20 additions & 0 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,16 @@ <h3 id="tld"><a class="header" href="#tld">TLD</a></h3>
async def main():
website = Website("https://choosealicense.com").with_tld(True)

asyncio.run(main())
</code></pre>
<h3 id="chrome-remote-connection"><a class="header" href="#chrome-remote-connection">Chrome Remote Connection</a></h3>
<p>Add a chrome remote connection url. This can be a json endpoint or ws direct connection.</p>
<pre><code class="language-py">import asyncio
from spider_rs import Website

async def main():
website = Website("https://choosealicense.com").with_chrome_connection("http://localhost:9222/json/version")

asyncio.run(main())
</code></pre>
<h3 id="external-domains"><a class="header" href="#external-domains">External Domains</a></h3>
Expand Down Expand Up @@ -497,6 +507,16 @@ <h3 id="http2-prior-knowledge"><a class="header" href="#http2-prior-knowledge">H
async def main():
website = Website("https://choosealicense.com").with_http2_prior_knowledge(True)

asyncio.run(main())
</code></pre>
<h3 id="preserve-host"><a class="header" href="#preserve-host">Preserve Host</a></h3>
<p>Preserve the HOST HTTP header.</p>
<pre><code class="language-py">import asyncio
from spider_rs import Website

async def main():
website = Website("https://choosealicense.com").with_preserve_host_header(True)

asyncio.run(main())
</code></pre>
<h2 id="chaining"><a class="header" href="#chaining">Chaining</a></h2>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions website.html
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,16 @@ <h3 id="tld"><a class="header" href="#tld">TLD</a></h3>
async def main():
website = Website("https://choosealicense.com").with_tld(True)

asyncio.run(main())
</code></pre>
<h3 id="chrome-remote-connection"><a class="header" href="#chrome-remote-connection">Chrome Remote Connection</a></h3>
<p>Add a chrome remote connection url. This can be a json endpoint or ws direct connection.</p>
<pre><code class="language-py">import asyncio
from spider_rs import Website

async def main():
website = Website("https://choosealicense.com").with_chrome_connection("http://localhost:9222/json/version")

asyncio.run(main())
</code></pre>
<h3 id="external-domains"><a class="header" href="#external-domains">External Domains</a></h3>
Expand Down Expand Up @@ -425,6 +435,16 @@ <h3 id="http2-prior-knowledge"><a class="header" href="#http2-prior-knowledge">H
async def main():
website = Website("https://choosealicense.com").with_http2_prior_knowledge(True)

asyncio.run(main())
</code></pre>
<h3 id="preserve-host"><a class="header" href="#preserve-host">Preserve Host</a></h3>
<p>Preserve the HOST HTTP header.</p>
<pre><code class="language-py">import asyncio
from spider_rs import Website

async def main():
website = Website("https://choosealicense.com").with_preserve_host_header(True)

asyncio.run(main())
</code></pre>
<h2 id="chaining"><a class="header" href="#chaining">Chaining</a></h2>
Expand Down

0 comments on commit 491a10b

Please sign in to comment.