Wednesday, October 19, 2016

Downloading Ancestry.com Media

Ancestry.com has never created a good system to back up the data that is on their site. The only option people have is to download the GEDCOM file, which is often a mere fraction of the data they have invested in the site.

For years now my family has been investing time in building a well documented family tree on ancestry.com, and I have made sure to frequently backup the GEDCOM file so we didn't lose the data.  With thousands of media files on the site I have become increasingly concerned about the loss of a major portion of our research if I was unable to download them.

To combat this problem I finally wrote a small Chrome extension that allows you to screen scrape your media files in an automated fashion.  It is not perfect, but considering it is the only way to get your data, it is nice to have.

The extension downloads the files in mass and dumps them all into your default downloads folder.  So, you should clear all files out of your default downloads folder before using this extension so you know that all downloaded files belong to Ancestry.

After installing this extension, you need to:
- log into your ancestry.com account
- open up your tree
- open up the Media page, which is one of the items on the menu inside the tree
- click on either the Photos or Stories tab, currently the All, Audio, and Video tabs are not supported
- OPTIONAL: click on the page you want to resume downloading at.  This is useful if you need to stop downloading for a period of time, say if you only want to run the downloads during the night.  You will likely end up with a few duplicate files if you attempt this.
- click on the Extension icon in your Chrome browser upper right corner, and click the Download Media button

If your browser is asking you to save every file then the extension will not be able to correctly calculated the required download time and it will go on to the next page before you are done. It is expecting the download to automatically start.  To fix this problem, go into your browser settings and adjust it so downloads do NOT always prompt you for a save location. Instead set a default location for it to use every time. The only way I could fix this issue would be to create a setting that allows the user to manually click the next page button instead of having it automated. And I think that would kind of defeat the point of the extension.

If the downloads are occurring too quickly and swamping your computer then let me know.  I am planning on allowing the download speed to be adjusted in the future.  Currently a file is downloaded every 2 seconds, which works well for me, but for people who upload lots of large files it will not work as well for.

NOTE: There is a small chance that using this is against Ancestry's terms of use.  Their terms of use forbid scraping tools, however the language seems directed at automated scripts that run in the background.  This tool is simply a browsing aid performing clicks for you, but your browser is still open and doing all the browsing and preventing you from doing other browsing simultaneously.

EDIT 10/2018:

Just released a new version that works with Ancestry's latest photo hosting method.  In order to get it working again the extension is going to need permissions to open and close windows as well as download files.  When you first try and use the photo downloading feature Chrome will likely popup a few requests asking you to let the extension do downloads and open and close windows.  So expect that as you try to get it going.

This version also handles the Start/Stop downloading sensing better.  Although, I have noticed that sometimes it takes one or two tries to get it to stop downloading depending on at what point in its execution you click the stop button.

155 comments:

Eddie said...

This is awesome! Can you adapt it to also pull down images of documents (census records, birth/death certificates, etc) in an individual's gallery?

Jeremy said...

In order to answer your question, I need to clarify how data exists on ancestry.com. There are two major categories of Media type data on Ancestry: stuff you upload to your tree, and stuff you attach to your tree.

Stuff you upload goes into your personal Media Gallery (eg. Photos, Stories, Audio, Video). Stuff you attach to your tree is saved and cataloged in a central location so that anyone can link to a single copy of it.

This extension downloads stuff from your personal Media Gallery. I believe you are asking if it can be modified to download stuff you have merely linked to.

Technically yes, it probably could be. Here is why it will not be. In order to find a list of all such linked items it would have to open up every single record in your tree, from a time perspective that is just not feasible, no user would be interested it sitting through something that was doing that unless they had a really small tree.

The other reason this is a bad idea is that linked data is not your data, it could be removed or changed at anytime, you have no control over it. I have a standard in my trees of taking a screen shot of census records and uploading them to my personal media gallery which this extension can then download and backup. Once I do this the data is mine, Ancestry.com cannot randomly change the data, or lock me out of it if they want to start charging me to see that particular census record in the future.

Does that answer your question and possibly give a solution?

Jeremy said...

Check out the "OPTIONAL" step. Did you attempt to click on the page number before resuming? If so, what error did you get? Don't forget, it will start at the beginning of whatever page you click on, so you will probably get a few duplicate files from that page if that page was already being downloaded prior.

Anonymous said...

Jereme - Amazing work, and sorely needed! Unfortunately it doesn't seem to work for me - the button text changes, with no obvious error messages, but it doesn't seem to download any files. Could it be because I'm a user of Ancestry.co.uk, not .com?

Jeremy said...

Yes, you are correct, it was designed specifically for the .com version.

Is there any way you can use the .com version to log into your account? I think I can modify it to work with .co.uk as well, but I am unlikely to be able to test it easily.

Jeremy said...

I added a small update I think might make it work for .co.uk. Give it a try and let me know the results.

Jeremy said...

Unfortunately your latest comment about it still not working for .co.uk does not seem to have saved to the site.
Would you check the version of the extension you are using? The one with the update is 0.122. I have noticed that sometimes it takes a couple of days for the updates to push out to users.

francoamericanGravy said...

thank you Jereme! I downloaded over 850 images in less than one hour saving them as tmp files. It doesn't seem to be able to download stories as easily but perhaps I am missing a step. When it downloads stories it also saves them as tmp files but I can't open them. Am I missing something? thanks for all your work and for sharing your extension to ancestry users

Jeremy said...

Hi Franco,

It should not be saving any files as tmp files. Pictures should be downloading as whatever extension they are saved in Ancestry with, along with a .csv summary file. And Stories should be downloaded in their original format, or as .txt files.

Other than some form of browser corruption during download I cannot think of a reason for the results you are seeing. I just tested the extension to make sure it is working correctly for me in downloading both Photos and Stories.

Unknown said...

Could you possibly update it (or made a separate version) to work with .ca as well?

Jeremy said...

I just published an update that works on .ca for me. It should also allow the .co.uk to work which was not working before.

it looks like any of the ancestry websites can be logged into with your normal username and password. So a user of a different domain can always log into the .com version to use this extension. It looks like the .com version would show up in your native language.

Fran S. in NC said...

I have tried to use your extension to retrieve my Ancestry.com images. I cannot get it to work. I followed your instructions and no photos are being copied to my hard drive. I have version 0.123 of your extension. I checked the Temp folders, the default download folder and did a search for them. I did notice that my download folder is filling up with files I have deleted. Any ideas would be appreciated. I am grateful that you have used your talents to figure a way to get my 3000+ images from Ancestry.

Jeremy said...

Unfortunately it appears as though Ancestry has made some changes to their site breaking this extension. I will fix it as soon as I have time.

Jeremy said...

I just published version 0.124 which should get things working again.

Unknown said...

Works for me. Much appreciated! Saved me a TON of time.

Unknown said...

Thank you, by the way for creating the script.

Jeremy said...

I am glad it was useful.

The Style Savant said...

I came across this Python script which goes after all the Ancestry.com Database records that are attached to persons in a GEDCOM file. The author claims it is against the Ancestry.com T&C, but for those interested...

https://nerok00.github.io/ancestry-image-downloader/

john cauley said...

it does not seem to preserve the file name such as John2000web comes down as 27d275e0-ae78=480c-b8f3-9181ef84fb74b74.jpg ?

Jeremy said...

Unfortunately that is true in many instances. It was a limitation I found in either javascript or the browser. The best I was able to do was a mapping file matching the file name up with the record.

Gary said...

This is awesome!! works great! Had zero issues with got 100 images downloaded in about 2 minutes! Its not fully automatic but I have no complaints. Thank you for creating this!

Gary

Lisa said...

I agree this is awesome!! However I have 34 pages of photos on one tree and it stopped after page 1 (or 25 photos). No complaints if I have to do it page by page as still is awesome but by reading the description and comments thought it would download all 35 pages or 800 photos without me having to restart it manually. Thoughts? Thanks again!

Lisa

Jeremy said...

It should automatically page for you. They must have changed something on their site, whenever they do that it breaks functionality in this extension until I am able to get it fixed. Thanks for letting me know.

Anonymous said...

This is amazing. you wonderful wonderful person :)

Unknown said...

Finding your tool was like receiving a Christmas gift, yay!! I appreciate that you created this, and I will share it with others who may need it as well.

Jeremy said...

I just published a fix for the extension that should fix the paging issue Lisa found. The updated package should start showing up for users in about an hour according to google.
The symptom fixed was after clicking Download, the pages contents would be downloaded, and the next page would be navigated to, however that next pages contents would not automatically start downloading.

Anonymous said...

Thanks so much for doing this! I just downloaded 1400 records.

Lisa said...

SUPERHERO!!! Jereme - You are awesome! Works like a charm. Cannot tell you how much ALL of us appreciate this utility. You definitely are a superhero!

Happy New Year! ~ Lisa

Erannie said...

Thank you so much. I have wanted to migrate my photos, but it was too time intensive! Your script was so fast. :)

Unknown said...

I did the appropriate steps but it only downloaded a CSV file that includes the links to the desired files:
AncestryMetaFile_Stories_pg_1.csv
AncestryMetaFile_Photos_pg_1.csv

Unknown said...

BTW, I am using a Chromebook with ChromeOS but the Chrome browser is standard.

Jeremy said...

I just tested downloading both Photos and Stories on my computer and they are both working correctly for me. I have never tested on a Chromebook, but as long as you can download other files normally then I see no reason why this extension would not work for you.

Unknown said...

I just tried again with my "stories" tab. I only have three so it is easy. Again, the script downloaded a CSV file with the names and locations of the three files but NOT the files themselves.
Is it normal for the script to download these files? Or, are they used by the script to download the files them selves -- and deleted afterwards?
Since ChromeOS now holds over half the market share of school laptops, it is very significant. More and more people are using ChromeBooks. It is my go-to device.
Would you like for me to be a test bed for you to make your script work on ChromeOS?

Jeremy said...

I appreciate the offer, however this script is not targeted at a school audience or the ChromeOS. Most people doing significant ancestry research are using traditional desktop computers where they can store all their research.

Yes, it is normal for the script to download those .csv files. They are used to store meta data about the files being downloaded that I am unable to put in the filename of the file itself during download.

The main purpose for this script is simply to allow me to backup my ancestry files on my Windows computer. I just released it in case anyone else had the same need.

Gina said...

I download the app today. I am on media files, and hit download. It copied the first picture in csv file and only the first picture. csv is all text...how do I get it to continue on the next picture and how do I get it in something other than csv? thanks

Gina said...

the stories worked perfectly...this is referring to the photos

Jeremy said...

That is very odd, I just tested the photos and they are working for me. Someone has had issues doing it on a Chromebook. What type of computer are you using? I test on Windows 10.

Gina said...

I am using a Lenovo computer with a windows 10 os

Jeremy said...

I am at a loss as to why it would not work for you when the other tab does. You could try opening up the page and going straight to photos. Perhaps doing stories first caused a problem when you moved on to photos.

Gina said...

Got it thanks

Unknown said...

hey, I'm having the same issue as Gina - on the latest version of Chrome on Win 7 and it will download all the story data but not download the images. I just get the csv file. Anything I can do to troubleshoot it?

Jeremy said...

I just updated my Chrome, and I am now seeing the same issue. It is redirecting to the first image instead of downloading it.
It is possible this is a Chrome issue, or an ancestry issue, you could try rolling back to an earlier version of Chrome, which does not sound fun.
Otherwise, as soon as I get time I will try to figure out the issue and fix it.

If you are a javascript developer, all Chrome extensions get downloaded to your computer upon install, which gives you the source code, and you can modify and re-package the extension on your own.

Unknown said...

I have the same issue and it used to work until the last week or so

Jeremy said...

It looks like ancestry.com has made two recent changes to their site. The first change is that they started using a separate subdomain to serve up their images. This breaks the javascript i was using.

However, in doing this change, they also seem to have broken their own site. Clicking on the image in ancestry.com no longer brings it up for me.

I think we are going to have to wait until they fix their site and things settle down to see if there is going to be an option to bring my plugin back to life.

Family said...

Hi, I'm using ancestry.com.au and the download button doesn't work at all? Cheers

Jeremy said...

.au is probably not one of the supported domains. Currently ancestry.com has changed their structure taking advantage of a new security protocol introduced into Chrome which breaks this extension.

I have not had time to find a successful hack around this. At the moment it looks like it really will have to be a hack to reduce browser security if I am ever able to get it working again.

Unknown said...

Hi, Jereme,
I've just downloaded your extension and followed the instructions for downloading photos from ancestry.com. When I click on "Download Media" (after having navigated to the ancestry.com media photos page), nothing happens. Any ideas?

Unknown said...
This comment has been removed by the author.
Unknown said...

Can you check your extemsion still works, doesm't work for me just leaves an excell file in my downloads folder AncestryMetaFile_Photos_pg_1

Jan Hall said...

Jan HallAugust 08, 2018
Hi,
I was so looking forward to downloading over 800 images with your extension but I am seeing the issue where it opens the first image in a separate window and just sits there. I'm using 64-bit Chrome at 68.0.3440.84 on a Windows 10 laptop. Thanks for any suggestions or help.

Anonymous said...

PD2 I just experienced the same problem! :(
Win8 64 bit.
I have 1300 pic and docs I would like to backup.
Just get the first photo.

Anonymous said...

Something seems to be broken. It just downloads a AncestryMetaFile_Photos_pg_(number).csv for each page, loads the first picture in a new tab and does nothing else.
Win 10 - Chrome Version 68.0.3440.106 (Official Build) (64-bit)

Saipan Newbie said...

:-( I missed the window of time when this worked? I'm only getting the .csv file.

Jeremy said...

Yes, it is a pretty big bummer. I haven't had any time to look at this lately. But the hack to make it work again is not going to be an easy one, if it will work at all.

Jeremy said...

Good news. I finally found a hack around Ancestry's new site design. I need to clean up some user experience stuff, make sure paging works and stuff, but it looks like I should be able to get this extension working again.

Jeremy said...

A new version of the extension has just been uploaded to the Google Store. At the moment it seems to be working for me again. And I got it to download the actual picture file names, which is pretty cool.

However, Chrome will likely popup a few things asking you to let the extension do downloads and open and close windows. So expect that as you try to get it going.

Jeremy said...

Try it now, I just released a new version that should overcome this issue.

Jeremy said...

Try it now, I just released a new version that should overcome this issue.

SurfinNan said...

Will this work for ancestry.com.au?

Jeremy said...

Just added support for .com.au and uploaded v.131. Should be available in the store in the next hour.

Anonymous said...

Thanks for this, but it doesn't seem to be working for me. It seems to be downloading the very first photo then it gives me .csv file of the first page. If I change to the next page it just repeats the process of downloading the first photo on the first page. Same with the .csv file, first page only.

Jeremy said...

Which version are you using? And is the photo actually downloading, or just opening up in a new browser tab?

Anonymous said...

Hi - great extension. Unfortunately I'm having same problem that it always starts downloading on page 1 of the photos even after pre-selecting a later page. Also, the csv file shows 24 files for the page but only the first 13 files actually download then it moves on to next page. I am on extension version 0.131 and tried logging into both ancestry.co.uk and ancestry.com (same behaviour). Thanks in advance for any help.

Jeremy said...

Hopefully I will have time this week to see if I can re-create this issue.

Jeremy said...

Good news, I found and fixed both the re-starting issue, and the not downloading all the files on each page issue. I uploaded v.132 that should fix both these issues. Should be available in the next hour for download.

Jeremy said...

Thanks for finding these by the way. I didn't even notice them when I was using it.

Jan Hall said...

Hi - I hate to complain because it's so wonderful you've updated this and got it working, but I'm finding it's skipping a lot of files for some reason. Each csv page has 24 files listed, and on page 1 I got 12, on page 2 I got 6, etc.

Jeremy said...

Which version are you using? That sounds like the bug Anonymous found in v.131. V.132 should have fixed it.

Jan Hall said...

0.132

Jan Hall said...

I will try turning off my other extensions and see if that makes a difference.

Jeremy said...

I doubt that it will. What you are describing is a javascript timing issue. The plugin schedules all the downloads, then schedules the page turn. If you are using a slow browser, or for some reason I have the timing calculations wrong, then the page turn will occur before all the images have started downloading.

Jan Hall said...

You are correct, disabling all my extensions and closing all tabs but the Ancestry one did not make a difference. The only other thing I can think of is your instructions say the extension will use the local download folder and for me it's saving them to my NAS in my Genealogy/Photos folder. I am on a gigabit hard-wired connection though so I would think it would respond fast enough. The other thing is, for each file it's making me click "save", which would be tedious if my Ancestry account had the 3,000 photos my MyHeritage account has. Ancestry only has 92.

Jeremy said...

Ah, ok, that last bit of information is key. If it is asking you to save every file then that is why it is running out of time and going on to the next page before you are done. It is expecting the download to automatically start.

Go into your browser settings and adjust it so downloads do NOT always prompt you for a save location. Instead set a default location for it to use every time.

The only way I could fix this issue would be to create a setting that allows the user to manually click the next page button instead of having it automated. And I think that would kind of defeat the point of the extension.

Jan Hall said...
This comment has been removed by the author.
Jan Hall said...

Ok, thanks. Thanks so much for your time in updating the extension and helping me today

tom mc said...

Just found your extension today, I'm using chrome on Mac OS.
Please say it will work, I can't wait to try it out...

Jeremy said...

I would expect it to work on any OS with a Google Chrome browser. Probably even Chromium. However, there has been one user who reported it not working on a Chromebook despite his using Chrome.

My guess in his case though is that he was using Chrome mobile rather than full Chrome.

tom mc said...

Thanks, I did see the user comment you mention. I'll let you know how I get on with it, you'll at least know it also works on Mac os. I hadn't seen any previous comments re mac users

tom mc said...

Hi I tried the extension and it generates the csv file for page 1 but after downloading 1 image it just stays open on the image and doesn't progress.
Any suggestions?

Jeremy said...

You can try troubleshooting the code: Press F12 on the tab with the image that is supposed to download, and look for the Console, see if there are any red lines in it.
My guess is that it is a security setting/restriction on the Mac. Hard to know for sure because I do not have one.

Jeremy said...

For what it is worth, to you and anyone else reading this post. I just tested this extension on a Chromebook with Chrome OS 70, and it worked perfectly.

Anonymous said...

I'm having the same problem as tom mc. I do have a mac and I can download the first image and the csv file but seems to sop there.

Jeremy said...

I do not have a mac, which makes troubleshooting hard. Try the F12 suggestion. Also, each image should be opening up in its own window, is that happening with the one that is downloading?

Rick Reinckens said...

Can you please change the description terminology from "screen scrape" to something else?

I got the impression it is doing something I sometimes have to do on a site when I cursor over an image and right-clicking doesn't show "Save Image As ..."--I increase the image size and then use MS Snip to capture a partial screen shot, then save that.

I followed the Support link on the Crome Web Store which mentioned this blog, and it's obvious from the discussion here that's not what the extension does--it downloads the actual image files.

But obviously a lot of folks aren't going to "follow the chain", or will assume "screen scrape" means some kind of screen capture.

Jeremy said...

Screen scraping is a pretty general term, it sounds like you need to refine your search better. As long as your "save as" activity is targeted at the ancestry media files that this extension says it was made for, then it should do exactly what you are doing only in an automated mass fashion.

The definition of screen scraping is not limited to screen capture programs, in fact the term is typically not used for such programs. Screen scraping deals much more with parsing and combing through unstructured data on a website and taking actions based on it.

"screen scraping" = "the action of using a computer program to copy data from a website."

If someone who actually knows, uses and likes the extension came up with a good description that would appeal to its user base. I would be interested in that.

Paul said...

Hi, I just tried your extension for the first time on ancestry.com.au website. Worked great with all of first page and half of second page but then it stopped for some reason.

Jeremy said...

Just tested it for photos and it successfully went on to the third page and kept on downloading. Perhaps these questions will shed a little more light on what went wrong:
Do you only have two pages?
Were you downloading images or stories?
Did you try it a second time?
Were you trying to do anything else with your browser, or were you just letting it run?

aOh said...

I have the same issue. Here's what I get in the console:

Scripts may close only the windows that were opened by it.
(anonymous) @ AncestryMediaContent.js:208
setTimeout (async)
downloadFile @ AncestryMediaContent.js:207
(anonymous) @ AncestryMediaContent.js:31
setTimeout (async)
(anonymous) @ AncestryMediaContent.js:30

Perhaps opening each image in a new window/tab would fix this? Right now, Ancestry Media Download opens the photo in the same window/tab that I opened (the Media Gallery), which Chrome then won't allow it to close (though I'm not sure why it would be trying to close rather than just navigating back in the window history).

Jeremy said...

Interesting, the Mac must handle mouse commands differently from other OSs then. Those photo windows should be opening in separate tabs, the fact that they are not means the Mac must be ignoring the Ctrl key command when the mouse click event is sent.

I am using the mouse click event rather than the javascript window.open event because the javascript actually opened a whole new window, and it make it very difficult to maintain control over your computer once it had started.

I suppose I could put an option in settings to allow switching between the two. Hard to know what else would work on a Mac without having one. Your error line numbers were very helpful.

Here are the two blocks of code, the second one is the one I am using.

line 90:
//window.open(photoUrl + '&AncestryPhotoDownload=' + name + '.jpg');

var a = document.createElement("a");
a.href = photoUrl + '&AncestryPhotoDownload=' + name + '.jpg';
var evt = document.createEvent("MouseEvents");
//the tenth parameter of initMouseEvent sets ctrl key
evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0,
true, false, false, false, 0, null);
a.dispatchEvent(evt);


If you can find a good pure javascript method that works well on a Mac to open a new window let me know.

aOh said...

On a Mac, it is Command+click that opens a new window (ctrl+click opens the contextual menu). According to (https://javascript.info/mouse-events-basics), the javascript property name is `metaKey`.

However, it also looks like .initMouseEvent and .createEvent, as used in your code, are deprecated and not guaranteed to work cross-platform (https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent). You might be able to emulate a middle click directly using the new MouseEvent constructor (https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent). The middle button works to open a new tab/window for me in Chrome, however I see conflicting information online about support for middle-click on Mac.

Jeremy said...

Have you tested the middle button click code on the Mac? Back when I first introduced this change, middle button clicking was not working as desired, which is why I went with Ctrl click.

But if you have a line of code that works on the Mac, I would be happy to try it on a windows box if you don't have one. As long as it works i'll update the code.

Jeremy said...

Something to be aware of, due to bugs and/or security features, not all code functions the same way as a users input does. For example, while middle clicking a real mouse button does work great via a physical mouse, triggering that call via javascript does not function the same. So testing has to be done with actual code, not via direct keyboard or mouse inputs.

dumpstar said...

I imported the CSVs into my ancestry software GRAMPS, but they are not linking up the downloaded media to the people. Any suggestions?

Jeremy said...

No. The CSVs are not designed to work with GRAMPS. They are just basic CSVs with data in them. That does sound like that would be a good upgrade to do though if we had the data GRAMPS required. At the moment the downloads are more designed as a disaster recovery feature just to ensure you can recover the data (albeit painfully) if you lose everything on Ancestry.

Someone would have to get me the GRAMPS required CSV format.

dumpstar said...

That would be AMAZING as an upgrade!!!!!!!! I managed to successfully use your Chrome extension to download all of the media on my Ancestry account. And I was able to find this page in regards to the data GRAMPS required (https://www.gramps-project.org/wiki/index.php/Gramps_4.2_Wiki_Manual_-_Manage_Family_Trees:_CSV_Import_and_Export). But unfortunately, that's about maxing out my skills. THANK YOU, for all that you've done!!!!!!!!!!!!!!

Jeremy said...

That looks like all GEDCOM data in their CSV spec to me. Not images or file attachments.

Something you could try doing is export from GRAMPS a sample of what you are trying to import, and see what kind of CSV file it generates. Considering the CSV files I generate only contain the name and type of a given file, I don't think there is much that importing the files will be able to give you.

To gain all the associated post data from Ancestry would be best accomplished by a local program (not a browser extension), and that would definitely be in violation of Ancestry's terms of service. However, I have heard that one does exist, I am not sure what it's capabilities are though.

fig4 said...

For some reason I am not able to get it to work for me. It downloads the csv and then just opens each picture in a separate browser tab. It works fine for my mom on her pc though. :(

Im on Windows 10, Chrome is up to date and the extension was just installed today from Chrome store.

fig4 said...

I am able to get the stories to work as expected.

For the photos, it opens all the photos on that page in separate tabs. I then can go to the tab and click on the extension again and it reloads the page - in turn it then downloads and closes the tab.

Jeremy said...

I have never seen it heard of that happening before. It kind of sounds like some sort of permission or power savings type issue.

Check to see if you have any securing type settings or extensions that do not allow JavaScript to run on pages that do not have focus.

THealy said...

Hi - I appreciate this extension as I have so much media on my Ancestry tree.
Need some help - after I did this, I can no longer download my GEDCOM or see my ThruLines.

When I try to download my GedCOM, it sends me to: https://mediasvc.ancestry.com/v2/stream/namespaces (with then my tree info on the address) and the message that appears is: {"ResponseStatus":{"ErrorCode":"EmsCannotRetrieveMediaMetadataException","Message":"","StackTrace":"","Errors":[]}}

My Thrulines message is: You may not be seeing suggestions from ThruLines because there is not enough information in the linked family tree.
Add as much information as you can to the tree, including real full names, birthdates and birth locations for you, your parents, grandparents and great-grandparents.

I have uninstalled the extension to see if that is the problem, I deleted cookies and cleared cache....

Any ideas?

Thanks!
Teresa

Jeremy said...

If the issue is still happening even after you have removed the extension, then changes are it is not related to the extension.
One other thing you could try is using a different web browser to try and download the GEDCOM.

THealy said...

Will try that - Thanks!

Jeremy said...

I just published v 0.134, it should be available after Google has approved it.

Try this version and see if it works on the Mac. I have attempted to detect a Mac using:
var isMac = navigator.userAgent.toLowerCase().indexOf('macintosh') > -1;
and trigger the Cmd key instead of the Cntrl key in that case. Hopefully it works.

JW. said...

Thank you. I was ale to download all the media and stories with no issues.

Anne said...

Thank you so very much for your generosity! i have followed your directions and pushed the download button, should there be any indication that its working, progress, etc because there is none. I have almost 50,000 photos on Ancestry. my intention is to load these into Family Tree Maker. Any special directions for that, or will I create a nightmare of duplicate images?

Jeremy said...

It should be very obvious that things are happening. Your browser should start doing things on its own.

As to your intention. I think you are going to be in for a world of hurt. My tool is merely intended as a hack for backing up things. There is no restore or conversion option, it would be a very manual process of re-attaching one image at a time back into your tree.

Family Tree Maker used to have a reasonable integration with Ancestry, there might be some sort of connection or import right inside that tool. You should reach out to their support.

random said...

i have no indication other than "stop downloading" that media is being downloaded, when i first hit the download button, i saw in bottom right corner caching, connecting to facebook and then nothing. i see now download indication from download in chrome, nor was i asked where to put the download. i am using chrome on mac os mojave. thanks

random said...

sorry - not right hand, left hand corner of Chrome.

Jeremy said...

The problem is likely that you are using a Mac. This extension was designed and tested on Windows.
Macs use a different key sequence for opening new windows. While I did recently try and implement a patch for macs, no one had verified whether it works out not.
It probably needs someone who knows some coding to test it.

Caroline said...

What a simply wonderful thing you have provided. With nearly 5,000 images on Ancestry I was daunted by the task of storing them somewhere else. Now I am sitting here eating chocolate and sipping coffee watching the pics zoom into download, and as a happy as anything. Thank you so much. What a genius!

Unknown said...

Reading through this blog I am still not up to speed on what has been achieved. Obviously media is stored on my local PC. Fine. If I do this will I then be able to upload this stored data automatically into Legacy9. I am trying to have my family trees in my possession rather than being tied to Ancestry.com. Just wondering what the second stage in this process would be if I hitch my wagon to Legacy9 rather than ancestry.com.

Jeremy said...

Unfortunately no. The only thing this extension achieves is an "oh shit" backup of all your picture and document data. It does attempt to product .csv files mapping download names to image names. However if you ever need to use the data again, it would take a great deal of effort to restore it from the downloaded format. Sadly, Ancestry provides us no way at all to get media data out of their system, so this at least makes sure your data won't be completely lost if they go down for some reason.

Jan Hall said...

RootsMagic has an Ancestry TreeShare feature that will allow you to download your Ancestry media. Unfortunately it's one person at a time and a lot of clicks for each, but it's something and RootsMagic is very reasonable.

DigitalFlack said...

Works fine on 46 photos downloaded using Chrome on MacBookPro, OS 10.15.4 Catalina

Two xls files also downloaded providing the photo list/descriptors

Thanks

Jack

Jeremy said...

That does not sound like an automated process at all, you could also download all your media directly from Ancestry.com one person at a time with a lot of clicks. What makes RootsMagic's feature stand out?

It looks like it can import into its own software, which is a plus if you use that software. RootsMagic does claim to be integrated with Ancestry, so if you wanted to spend money on it it could be a workable option as long as you used it as your primary tree, and Ancestry was just for display.

Does RootsMagic off the option of a full offline backup? Ancestry only allows you to backup the gedcom file.

Jeremy said...

That is good news, maybe we finally have Macs working.

Unknown said...

Just confirmed. RootsMagic does bring down media file as well. It makes a folder in your ...Documents\rootsMagicFileName_media folder. Here is a youtube video of how it works https://www.youtube.com/watch?v=oDOlq7EFIWA . Go to 16:18 on the video. It shows it bringing down media files locally.

Jeremy said...

It sounds like RootsMagic is the preferred method for those who have it. Is there a free version that supports this, or is it pay only?

Jan Hall said...

RootsMagic does have a free program "Essentials", but I don't know if it offers the connections to Ancestry and MyHeritage that the full version does. The full version is only $30. And yes, it does do a full offline backup that includes media.

Peter Montague said...

I used this a few months ago on my mac and it worked fine. My question is with so much media attached to so many people and all those file names not starting with the persons name what is the method of sorting through it all after its downloaded. Id love to (and have) download everything but its then just a giant pile of work with no real way to get things associated with the correct people again. Maybe I missed something along the way, it wouldn't be the first time (:

Jeremy said...

Unfortunately you are not missing anything. This app is more of an emergency solution, if you actually have to recover from the downloaded data you are in a world of hurt. The csv files make it possible but not easy. The only reason for this extension is that Ancestry offers nothing in this area. Although, Jan Hall above did mention that the paid version of RootsMagic can connect to Ancestry and download data from it.

Jan Hall said...

"RootsMagic does claim to be integrated with Ancestry, so if you wanted to spend money on it it could be a workable option as long as you used it as your primary tree, and Ancestry was just for display."

Actually, I do just the opposite and use Ancestry for working and RootsMagic as a backup for Ancestry.

Peter Montague said...

It looks like the CSV doesn't have a column for the family members name who the media is associated to. Is that right?

Jeremy said...

That looks correct. Name of the file, type of the file, url of the file are the three columns listed. I think the plugin is opening each file before downloading it, if so, it looks like they now display the user associated to it, so it is possible a future version of the plugin could have that data.

Peter Montague said...
This comment has been removed by the author.
Trish said...

Downloaded 563 images from my family tree just now. This has been a life saver since my hard drive died. Thank you so much.

Ian Davis said...

This app seems really useful, but the download button on google chrome web store is greyed out. How can one now obtain this app.
Thanks,
Ian Davis
textserver.com@gmail.com

Jeremy said...

The button is not greyed out for me. Is it possible you are using the new Microsoft Edge browser instead of the official Chrome?

Peter Montague said...

Thanks for that Jereme, That would be an amazing update. Can I make an official feature request (:

Anonymous said...

Used your Chrome Extension to copy over 700 Photos & Stories from my tree today.No issues.
Thank you kindly

Deb said...

Dear anonymous, could you please describe your downloaded files. Mine came down as excel spreadsheets with urls, probably pointing to the media. And I don't know how to load those into family tree maker. Thanks in advance if you can help.

Unknown said...

Like Deb I can't see how I get these images as images. If I copy a line from the CSV and paste it into Google I see the image, but doesn't that mean the image is still on the net and not on my PC? Sorry if this sounds dim!

Jeremy said...

You should be getting a lot more than just a CSV file being added to your downloads folder. If all you are getting is the CSV, then something is broken. If you are on a MAC, we've had issues with that OS. The extension should be opening up a bunch of tabs in your browser, then closing each of them. If that isn't happening either then something is broken.

Unknown said...

I'm om Windows 10. I'll try again and watch more carefully as to what happens in the downloads.
Thanks

Unknown said...

What else should I see in the Downloads folder?

Unknown said...

The extension can now be added to Opera (which I use as my default browser), and the download worked. The CSV files also downloaded but why are these required?

Jeremy said...

You should be getting both the CSV files and the images and document files themselves put into the Downloads folder. The images and document files generally do not indicate which profile they belong to, so the CSV tries to gather a bit of meta data about them so you can figure that part out if needed.

Lisa Russell said...
This comment has been removed by the author.
Lisa Russell said...

I thought the entire point of a chromebook was that it had no local storage and sent everything to the cloud

Lisa Russell said...

I love this so much. I can't even say what a thrill it was to watch all thousands of images just magically landing in my safe home disk.

Michael G. O’Connell said...

Jereme. Thank you for this extension. It worked great today—at first. Then I noticed the page reload on its own and it looked like Ancestry added a bit of code saying that they were blocking it. The extension looks like it is trying to work but nothing downloads. I am on a old Mac running macOS High Sierra.

Dave said...

Thank you for this great timesaver!! Its still working on Windows, but it occasionally stops at the end of a page and needs a restart on that page before continuing.

Also, on my browser (Chrome) the tabs are not displayed correctly (only as thin green lines), so finding the separate image and story tabs for it to work was difficult. Once I found out they were there adjacent to the original all media "tab" (by carefully hovering my mouse to the right of that "tab") and could be selected by a careful click, the extension worked as described.
Thanks again!

ceej said...

Another try at leaving a note.
Thanks so much for this. I so appreciate it. Experience/feedback given below.

Used latest Chrome. D/L latest script. 1st page smooth. Seemed to hang on 2nd page. I was not sure what had or had not been done so restarted on page 3. Got chrome note: "Ancestry wants to download multiple images. OK?" So I answered Yes and the script proceeded to process page 3 to the end (I only had 8 pages). Then I looked an had no page-2.csv nor any images from page 2. So I selected page 2 and restarted the script; it processed page 2 and then stopped (did it see that page-3 had already been done and stopped?).
Anyway, thanks so much.
-ceej

Jeremy said...

It definitely sounds like something is broken. Unfortunately for the near future I no longer have time to maintain this script as much as I would like to. Hopefully in the future myself, or someone else will be able to continue the project.

Randi said...

I have a new laptop (an Acer running Windows 11) and this extension will not work. I tried deleting and re-downloading and it still does nothing other than change the button to say "stop downloading" instead of "download media," Got any thoughts on why?

Unknown said...

Allan July 7 2022
I have just come across this extension but 404 page keeps coming up has it been taken off?

Jeremy said...

It looks like it. Google has been threatening for awhile to take down all apps that don't get regularly updated with whatever standards Google comes up with at the moment. I have not had time to maintain this extension in awhile.

Rebecca said...

Any chance you will get to updating it? I have over 2000 images and stories I would like to download so I can clean up my trees. Thanks

Jeremy said...

Unfortunately probably not anytime soon. It's no longer a simple issue of fixing it, now Google wants it re-written to follow their new standards. I'd happily email it to any developers that are interested in doing that.

Daisy said...

Jerome, thankyou for this extension. I hope you can get it remade someday. It has been a wonderful tool, tried to copy it for a friend and realised it was gone. But I wanted to thankyou for the years that it worked.

Jeremy said...

Hey guys, hope some of you are actually subscribed to this post. I have finally re-written the plugin and it is working again. At the moment I am fighting with Google trying to get them to re-list it.

Unfortunately their documentation has gotten rather vague as they crack down on stuff. So expect to see this plugin working again as soon as I can get through all the blocks they keep throwing up.

Lisa said...

Thank you, Jereme!

Jeremy said...

I think it might be live. Give it a try.

Gretchen said...

Hi Jerome. Thanks for taking the time to make this extension. I have a windows and I'm on Chrome and I followed all the directions and when I click download media the page refreshes but nothing happens. I've made sure there are no pop-up blockers. I've tried it a couple of times and nothing produces in my downloads folder and there's no indication anything is downloading. Would you happen to have a suggestion?

Jeremy said...

Hi Gretchen, my guess is that it is broken again if it is not working for you. The downside to an extension like this is it relies on the destination site not changing. In this case, ancestry.com changes pretty frequently.

I won't likely have time to fix it again for a couple of years unfortunately. And no one else has been interested in stepping in to help maintain it.