Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

python3.12 -m venv venv

source venv/bin/activate

pip3 install -r requirements.txt

Running the scripts

Crawl links found directly on a page

python3 linksOnPage2pdf.py https://example.com --same-origin

Crawl links listed in a sitemap.xml

Pass a sitemap.xml directly

python3 linksInSitemap2pdf.py https://example.com/sitemap.xml

Or let the script discover the sitemap from the site's root

python3 linksInSitemap2pdf.py https://example.com

About

Merge multiple web pages into a single PDF for easy upload as ChatGPT context.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages