Skip to content

The BL downloader gets stuck in a redirect loop #6

@allengarvin

Description

@allengarvin

I believe the loop is caused by the lack of a particular session header. I didn't investigate in detail, but it's repeatedly redirecting to http://www.bl.uk/manuscripts/SetupViewerHandler.ashx?[ms identifier]. This page sets up a cookie for ASP.NET_SessionId. I suspect that is needed, but I didn't investigate further.

I was lazy and was able to bypass this by copying the headers from a session with the Chrome developer tools and adding them to the request, after which it worked fine.

Nice script. I had been pulling them via shell script, and using a pnmtile to put them back together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions