Skip to content

Daniel891116/pitch2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pitch2PDF

A Python tool to convert Pitch.com presentations to PDF files.

Features

  • Converts Pitch.com presentations to PDF
  • Handles multiple slides
  • Preserves slide quality
  • Command-line interface

Requirements

  • Python 3.8+
  • Google Chrome installed
  • ChromeDriver version matching your Chrome version

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/pitch2pdf.git
cd pitch2pdf
  1. Install dependencies:
pip install -r requirements.txt
  1. Install ChromeDriver:

Step 1: Check Chrome Version

  • Open Chrome browser
  • Visit: chrome://settings/help
  • Note down your Chrome version number

Step 2: Download ChromeDriver

  • Visit Chrome for Testing
  • Find the version matching your Chrome browser
  • Download the appropriate chromedriver for your operating system
  • Extract the downloaded file
  • Save the chromedriver binary in your project directory

Usage

python pitch2pdf.py \
    --pitch_url "https://pitch.com/your-presentation-url" \
    --chrome_driver "/path/to/chromedriver"

Arguments

  • --pitch_url: URL of the Pitch.com presentation (required)
  • --chrome_driver: Path to ChromeDriver (optional, defaults to "./chromedriver")

License

MIT License

About

Pitch2PDF is a Python tool that automatically converts Pitch.com presentations to PDF files. It captures each slide using Selenium and ChromeDriver, preserving the original quality and layout. The tool is useful for saving, sharing, or printing Pitch.com presentations in a more portable format.

Topics

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Contributors

Languages