Skip to content

Commit

Permalink
deploy: 128b66f
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Aug 27, 2024
1 parent ae1298b commit d531ee1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
10 changes: 10 additions & 0 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,16 @@ <h2 id="builder-pattern"><a class="header" href="#builder-pattern">Builder patte
website.crawl()
print(website.get_links())

asyncio.run(main())
</code></pre>
<h3 id="return-page-links"><a class="header" href="#return-page-links">Return Page Links</a></h3>
<p>Return links found on the page resource.</p>
<pre><code class="language-py">import asyncio
from spider_rs import Website

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

asyncio.run(main())
</code></pre>
<h3 id="custom-headers"><a class="header" href="#custom-headers">Custom Headers</a></h3>
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.

10 changes: 10 additions & 0 deletions website.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,16 @@ <h2 id="builder-pattern"><a class="header" href="#builder-pattern">Builder patte
website.crawl()
print(website.get_links())

asyncio.run(main())
</code></pre>
<h3 id="return-page-links"><a class="header" href="#return-page-links">Return Page Links</a></h3>
<p>Return links found on the page resource.</p>
<pre><code class="language-py">import asyncio
from spider_rs import Website

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

asyncio.run(main())
</code></pre>
<h3 id="custom-headers"><a class="header" href="#custom-headers">Custom Headers</a></h3>
Expand Down

0 comments on commit d531ee1

Please sign in to comment.