LeetCode Submission Saver
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
Copy the Script: Copy the code from leetcode-pdf.js This script contains the necessary functionality to extract and save accepted submissions from LeetCode.
Log in to LeetCode: Visit the LeetCode website (https://leetcode.com) and log in to your account.
Open Developer Tools: Right-click on the webpage and select "Inspect" or press
Ctrl + Shift + I
to open the Developer Tools panel.Go to Console: In the Developer Tools panel, navigate to the "Console" tab.
Paste the Code: Paste the code copied from
leetcode-pdf.js
into the console and pressEnter
to execute it.Follow Instructions: Follow the on-screen instructions to complete the process, which may include authenticating with LeetCode and initiating the PDF generation.
Observe the Console: After pasting the code, wait for a few moments and observe the console for any errors or messages.
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.
Top comments (0)