Skip to content

siancu/pythonista_save_web_pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Pythonista script to save web pages as markdown files in Dropbox.

In order to use this script, you need to do the following steps:

  • register a new app with Dropbox;
  • get a app key and secret
  • create two files in the project folder, APP_KEY and APP_SECRET containing the app key and secret

This is required for development purposes only. Once you want to run the script in Pythonista, you can hardcode the APP_KEY and APP_SECRET in the script itself.

I've included HTMLParser.py and markupbase.py because I've found some bugs in them for some URLs (for example here and here) and at some point I'd like to attempt to fix them.

I use Aaron Swartz's excellent html2text script which converts html to markdown. Original repo for it is here.

About

A Pythonista script to save web pages as markdown files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages