Download all LeetCode solved questions

LeetCode Submission Saver

Github

LeetCode Submission Saver is a tool that allows users to save all their accepted submissions from LeetCode to a PDF file for easy reference and offline access.

How to Use

  1. Copy the Script: Copy the code from leetcode-pdf.js This script contains the necessary functionality to extract and save accepted submissions from LeetCode.

  2. Log in to LeetCode: Visit the LeetCode website (https://leetcode.com) and log in to your account.

  3. Open Developer Tools: Right-click on the webpage and select “Inspect” or press Ctrl + Shift + I to open the Developer Tools panel.

  4. Go to Console: In the Developer Tools panel, navigate to the “Console” tab.

  5. Paste the Code: Paste the code copied from leetcode-pdf.js into the console and press Enter to execute it.

  6. Follow Instructions: Follow the on-screen instructions to complete the process, which may include authenticating with LeetCode and initiating the PDF generation.

  7. Observe the Console: After pasting the code, wait for a few moments and observe the console for any errors or messages.

  8. View the Output: Once the process is complete, the generated PDF will be available for download.

Credits

Inspired by Leetcode Downloader for Submissions by world177.

Contributing

Contributions are welcome! If you have any ideas for improvements or feature requests, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.


Disclaimer: This project is not affiliated with LeetCode. Use it responsibly and in compliance with LeetCode’s terms of service.


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top