Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

DV Dream Journal Exporter. Exports dream journals from Dream Views in original BBCode format.

Project description

What is it?

dvdje exports Dream Views dream journals in their original BBCode formatting to your computer, which is useful if you wish to keep backups or are planning on moving your dream journaling elsewhere.

Requirements

  • Python 3
  • A dream journal on Dream Views

How do I install it?

The easy way, from PyPI:

$ easy_install dvdje

The hard way, from GIT:

$ git clone http://github.com/Wintervenom/dvdje.git
$ cd dvdje

If you did it the hard way, then, install with:

# python3 setup.py install

Alternatively, if you want to only install it locally for yourself:

$ python3 setup.py install --user

How do I use it?

From the command line, simply run dvdje:

$ dvdje

DV Dream Journal Exporter
Version 20131030-1 by Scott Garrett <mail@exovenom.net>

This script will save a copy of all dream journal entries from Dream Views in
their original BBCode formatting by reading entries from the journal editor.

You’ll be asked for your forum username and password, whether or not to append the journal titles to the file names, and a place to save the journal entries ("DV Dream Journals" in the current directory, by default).

DV Username: serpentoj
DV Password:
Add entry titles to filename [Y/n]? n
Save directory [DV Dream Journals]:

Next, dvdje will attempt to log in and export your dream journals entries. You’ll get a bunch of status messages about the process:

2013-10-30 00:04:49,405 [INFO] dvdje.main.main: Using save directory: DV Dream Journals
2013-10-30 00:04:49,405 [INFO] dvdje.main.main: Logging in as serpentoj
2013-10-30 00:04:50,112 [INFO] dvdje.main.main: Logged in successfully
2013-10-30 00:04:50,112 [INFO] dvdje.main.main: Creating save directory: DV Dream Journals
2013-10-30 00:04:50,113 [INFO] dvdje.main.main: Gathering up edit links from blogs/serpentoj
...
2013-10-30 00:04:55,573 [INFO] dvdje.main.main: Getting entry: http://www.dreamviews.com/blog_post.php?do=editblog&b=37412
2013-10-30 00:04:56,631 [INFO] dvdje.main.main: Parsing entry
2013-10-30 00:04:56,684 [INFO] dvdje.main.main: Writing entry to disk: 2012-08-18 1027.txt
2013-10-30 00:04:56,684 [INFO] dvdje.main.main: Entry saved.

When it it done, it will simply exit, and your dream journals will be in the save directory.

$ cat "DV Dream Journals/2010-12-27 1000.txt"

Date: 2010-12-27 10:00

Title: [27 Dec 2010] Clouds, Rings

Tags: non-lucid, false awakening

I climbed out of bed and stood at the window.  There were rings of clouds
pulsing rapidly from a point in the sky.  I was just about to go running
off to see what was happening, but the music from my stereo woke me up.

TODO

  • HTML export option.

Bugs

If you find any, report them here or e-mail me at mail@exovenom.net.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dvdje-20131030_2-py3.3.egg (16.4 kB) Copy SHA256 hash SHA256 Egg 3.3 Oct 30, 2013
dvdje-20131030-2.tar.gz (19.5 kB) Copy SHA256 hash SHA256 Source None Oct 30, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page