Skip to content

Remote download not working #85

Open
@JacquesOrbiton

Description

@JacquesOrbiton

Hello,

The bug I am pointing out is not related to your code but rather due to anti-bot procedure on thorlabs website side. They use Incapsula Imperva and deny access using the requests library.

I tried to bypass the blocker using headers from my web browsers but nothing works. Even tried using cloudscraper but nothing works.

One way to solve the problem would be to use Selenium or another library in the same fashion and create a session that looks like a real user. This is a bit weird to implemant and maybe just downloading the zmx files directly from the website would be faster on the user side (rather than setting up the session for their own PC).

This is my first bug report sorry for the bad formatting...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions