Create pdf documents from your highlights of medium articles.
-BeautifulSoup
-selenium
-reportlab
Create a txt file using medium article urls line by line. Give it as a command line argument.
python medium.py myfile.txtThis project uses Chrome drivers but it can be updated to other drivers.
To access the highlights login to your medium account and press any key on the terminal for:
Logged in?Then medium pages will open. Since Selenium doesn't wait for highlights to appear, everytime article opens check if it is fully loaded, then press any key:
Is the loading complete?Your pdf will be created with the name "medium_highlights.pdf".
Pull requests are welcome.