ironymaiden: (banana)
[personal profile] ironymaiden
i didn't realize how many pictures i had hosted with eljay over the years. i was unable to find an official download function on the eljay site.

this isn't the be all/end all, this is where i got to through trial and error without any scripting. this method does require accepting the TOS, as far as i can tell.

***
i'm working on Windows. the utility i'm using, wget, is available for all desktop platforms and the command should be the same. you can use any text editor that will find/replace with regular expressions.

software used:
wget for Windows: http://gnuwin32.sourceforge.net/packages/wget.htm
you want the setup version.
notepad++: https://notepad-plus-plus.org/

  1. Go to your photostream. Example: http://ironymaiden.livejournal.com/photo/

  2. Open an album.

  3. Click PUBLISH ALL TO ENTRY.

  4. In the "Size of a pictures" dropdown, choose Original.

  5. Click Insert Pictures.

  6. Now all the pictures in the album are in a draft entry. (If you don't already see these as HTML code, click the HTML tab.)

  7. Copy and paste the draft text into Notepad++.

  8. Repeat the above until you have all of your albums.

  9. Go to Search>Replace.

  10. Select Wrap around and Regular expression.

  11. Find <img src="

  12. Replace with

  13. Find " alt=".*" title=".*">

  14. Replace with

  15. This should get you a list of URLs that look like this: http://ic.pics.livejournal.com/ironymaiden/1176386/4463/4463_original.jpg

  16. Save your text file into the folder with wget.exe.

  17. Open cmd. (If you chose the default install location for wget, right-click cmd and choose Run as Administrator.)

  18. Go to the folder with wget.exe: cd "c:\filepath\folderwithwget" (Windows is a butt about copying and pasting on the command line, but you can do it. Copy the filepath, right-click on the title bar of cmd to get a menu, then Edit>Paste.)

  19. Now you should have a prompt that includes the path to the folder with your wget.

  20. Enter this (with the name of your text file): wget -i text_file.txt

all the originals should download loose into the folder with wget and your text file.

Edited to add: if, like me, you used email posting for cell phone pictures, this page may provide some clues in tracking down entries using eljay hosting, when you're ready to replace links in your imported entries.

Date: 2017-04-14 10:20 pm (UTC)
sanguinity: woodcut by M.C. Escher, "Snakes" (Default)
From: [personal profile] sanguinity
Here from the comment you left on [site community profile] dw_news, thank you so much! You saved me a lot of tedium.

I did this on a Mac, and had to troubleshoot my way through a number of details. If you don't mind me leaving some tips for the next person?

The asterisk in the search string is a wild-card, and TextEdit has no idea what to do with it. BBEdit is free and will parse that search string correctly; just make sure you tick the "Grep" option in the find/replace window.

Save the file of URLs anywhere that's convenient for you; it doesn't need to be anywhere in particular.

To install and use wget on OSX:
  1. Open Terminal, and install Homebrew by copying-and-pasting the command at the top of this page;
  2. Still in Terminal, copy-and-paste the first command at the top of this page (that is, c&p the bit after the $), hit return, and do it again with the second command. wget is now installed.
  3. Still in Terminal, type in wget -i but do NOT hit return yet;
  4. In the Finder, drag and drop the file with your URLs into the Terminal window (which should produce a filepath on the command line);
  5. Go back to the Terminal window, and NOW hit return. Your photos/art will be downloaded somewhere-or-other. The filenames are in the Terminal window; Spotlight will help you find them. Mine were in my home directory.

Date: 2017-04-14 11:21 pm (UTC)
armiphlage: (Default)
From: [personal profile] armiphlage
it's working! thank you

Profile

ironymaiden: (Default)
ironymaiden

April 2017

S M T W T F S
      1
234 5 6 7 8
9 10 11 1213 1415
16 1718 192021 22
232425 26 27 28 29
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 1st, 2017 04:07 am
Powered by Dreamwidth Studios