A Python bot to scrape links from a website, open them in Chrome, and automate printing (as PDF or to a printer).
- Scrapes webpage links with
BeautifulSoup
. - Automates printing using
Selenium
and Chrome. - Batch processing for multiple links.
- Clone the repo:
git clone https://github.com/softdev629/langchain-docsite2pdf.git cd langchain-docsite2pdf
- Install dependencies:
- Install Google Chrome & ChromeDriver.
- Update the
url
inprint-bot.py
with your target website. - Run the bot:
python print-bot.py
- PDFs will be saved in the specified directory.
PyAutoGui
for automation.BeautifulSoup
for scraping.requests
for HTTP requests.
Feel free to fork, modify, and submit pull requests!
MIT License