I have been commuting to San Francisco using BART. For BART commutes, before having the Monthly Parking Permit, you usually have no choice but using Daily Parking Permits for car parking. You will often end up having to download multiple PDF files for the daily permits and print them to put on your vehicle’s dashboard. The BART reservation website offers no easy way to download all of them in one click (see the screenshot).
Personally, the BART commute itself is not that bad, especially when I usually find a seat. But it is really painful to download every … single … PDF … permit manually before printing them.
I wrote some Python scripts to automate the process of downloading every single permits.
The scripts requires
requests package installed before running.
Usually, a simple
pip install requests command is all you need for its installation.
Then, simply run the
main.py script and input your username and password, as shown below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18