The purpose of this project is to scrape and download cartridges (p8.png) from the Lexaloffle BBS for PICO-8 games. The primary goal is to preserve the games available on the BBS.
Special thanks to Walter-o for creating this code!
I have fixed the downloadUrl
to accommodate recent changes on lexaloffle.com BBS. Additionally, while scraping for the cart's URL, I now also retrieve the <TITLE>
tag and append it to the beginning of the file name. This proves especially useful for carts with names like "4233454.p8.png."
Moreover, I have added verbose logging to a text file to capture errors and track the last downloaded cartID.
I plan to implement a "resume" function that will start the download process from the last cartID downloaded, allowing for seamless continuation.
- Ensure that Python and pip are installed.
- (Optional) Create and activate a virtual environment.
- Run the command
pip install -r requirements.txt
to install necessary dependencies. - Customize
start.py
according to your requirements. - Execute
python3 start.py
to begin the process.