Following additional links with the !FOLLOW_LINK token

The primer system automatically follows the HTTP redirects 301 Moved Permanently and 302 Found. Sometimes login systems produce additional links that must be followed to get the login cookie, but aren't true HTTP redirects. Examples could be JavaScript that sets document.location or a page that simply says "click here to continue".

The special Custom Unprimer URL token !FOLLOW_LINK can be used instead of a URL to follow the first link generated by the previous primer's fetch. This can be added multiple times to follow multiple links.


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.