Skip to content

fileames/Medium-Highlights-to-Pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Medium Highlights to Pdf

Create pdf documents from your highlights of medium articles.

alt text

Dependencies

-BeautifulSoup
-selenium
-reportlab

Usage

Create a txt file using medium article urls line by line. Give it as a command line argument.

python medium.py myfile.txt

This 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".

Contributing

Pull requests are welcome.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages