Skip to content

Helper script for the TumblThree program to generate HTML files for Tumblr posts

License

Notifications You must be signed in to change notification settings

santa-man/tumblr_generate_html_files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tumblr_generate_html_files

tumblr_generate_html_files is a script which lets users generate HTML files for Tumblr posts. This script is a helper script for the TumblThree program.

Installation

  1. Clone the repository to your local machine (or download the zip file)

  2. Make sure Python 3 is installed

  3. Make sure jinja2 and BeautifulSoup are installed, if not:

    • pip install Jinja2
    • pip install beautifulsoup4

Usage

Use TumblThree to download a blog of your choice. Make sure the options Dump crawler data, Download image meta, and Download video meta are checked (the options circled here).

Then use the generate_html_files.py script to generate the HTML files.

usage: generate_html_files.py [-h] BLOG_DIR

Script that uses json files downloaded by the program TumblThree to generate HTML files

positional arguments:
  BLOG_DIR    Directory to where TumblThree has downloaded a blog (this
              directory must contain images from the blog, the HTML files will
              be generated to this directory)

BLOG_DIR is the download directory to which TumblThree downloaded a tumblr blog.

Example

  1. Download a blog with the correct settings using TumblThree

  1. Run the script (might take a little while, be patient)

  1. Here in the newly generated HTML index file

  1. Here is one of the blog posts

License

GNU General Public License v3.0

Contributions

Pull requests are welcome.

Helped wanted implementing the following:

  • Parse video posts
  • Add tags to the HTML file

Disclaimer

This is a simple helper script for TumblThree. For any issues regarding TumblThree please visit that GitHub page.

About

Helper script for the TumblThree program to generate HTML files for Tumblr posts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages