pybrowscap middlware for pybrowscap