Open alexbird opened 5 years ago
This is a strange problem. The 3rd number in the APID is the record ID within the database, and the record is what sets the page and volume numbers etc within the database. So for it to be returning multiple different sets of information is not normal.
If you visit http://search.ancestry.com/cgi-bin/sse.dll?indiv=1&dbid=7488&h=2147483647
, which record do you actually see? You should be able to visit that page without a subscription (maybe only if the record is saved in your tree).
I just get this /security/deny.aspx
🚨 302
:
N.B. I am logged into my Ancestry free account and have it open in other tabs
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="https://www.ancestry.com/security/deny.aspx?sub=281479271972864&dbid=7488&url=https%3a%2f%2fsearch.ancestry.com%2fcgi-bin%2fsse.dll%3findiv%3d1%26dbid%3d7488%26h%3d2147483647%26requr%3d281479271972864%26ur%3d0&gsfn=&gsln=&h=2147483647">here</a>.</h2>
</body></html>
<!-- SN:I-0833714AB7BF8 -->
Which leads to a 301
:
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="http://www.ancestry.com/cs/offers/join?sub=281479271972864&dbid=7488&url=https%3a%2f%2fsearch.ancestry.com%2fcgi-bin%2fsse.dll%3findiv%3d1%26dbid%3d7488%26h%3d2147483647%26requr%3d281479271972864%26ur%3d0&gsfn=&gsln=&h=2147483647">here</a></body>
Which loads an Ancestry.com signup page "See what discoveries you can make today.", which redirects almost immediately in javascript to: an Ancestry.co.uk signup page (because I'm in the UK).
I guess there are two obvious options here:
...and the latter is more likely, realistically!
I don't have a paid account any more so I cannot experiment or send a PR. Just giving some details in case it's useful, as the script was useful to me.
APID: 1,7488::2147483647
Script cannot get the record page for this. Browser shows generic
not found
page forsearch.ancestry.com
URL.My GEDCOM file from Ancestry contains many (40) references to this APID, but they do not all correspond to the same record PAGE. There are actually 11 different PAGEs, which I found in the GEDCOM file, and manually downloaded, though this is very tedious work!
Three examples:
I've changed the line numbers to anonymise these a bit
Again, thanks for the script!